浏览代码

try to fix voters parquet file

main
父节点
当前提交
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
文件差异内容过多而无法显示
查看文件


正在加载...
取消
保存