瀏覽代碼

try to fix voters parquet file

main
Garrick Aden-Buie 2 年之前
父節點
當前提交
ec1136e129
沒有發現已知的金鑰在資料庫的簽署中
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. +3
    -0
      process/R/voters.R
  2. +2
    -2
      process/_targets/meta/meta

+ 3
- 0
process/R/voters.R 查看文件

@@ -17,6 +17,9 @@ voter_statewide_convert_parquet <- function(path) {
dir_create(path_dir(path_out))

x <- readr::read_tsv(path, col_types = voter_statewide_spec())
for (col in c("res_street_address", "mail_addr1")) {
x[[col]] <- iconv(x[[col]], "UTF-8", "UTF-8")
}
arrow::write_parquet(x, path_out)

invisible(path_out)

+ 2
- 2
process/_targets/meta/meta
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存