Kaynağa Gözat

fix voters

main
Garrick Aden-Buie 2 yıl önce
ebeveyn
işleme
77e8a35f60
Veri tabanında bu imza için bilinen anahtar bulunamadı
2 değiştirilmiş dosya ile 3 ekleme ve 6 silme
  1. +1
    -4
      process/R/voters.R
  2. +2
    -2
      process/_targets/meta/meta

+ 1
- 4
process/R/voters.R Dosyayı Görüntüle

@@ -16,10 +16,7 @@ voter_statewide_convert_parquet <- function(path) {
path_out <- path("data-out", "voters", "voters.parquet")
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")
}
x <- readr::read_tsv(path, col_types = voter_statewide_spec(), locale = locale(encoding = "latin1"))
arrow::write_parquet(x, path_out)

invisible(path_out)

+ 2
- 2
process/_targets/meta/meta
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


Yükleniyor…
İptal
Kaydet