Selaa lähdekoodia

try to fix voters parquet file

main
Garrick Aden-Buie 2 vuotta sitten
vanhempi
commit
ec1136e129
No known key found for this signature in database
2 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. +3
    -0
      process/R/voters.R
  2. +2
    -2
      process/_targets/meta/meta

+ 3
- 0
process/R/voters.R Näytä tiedosto

@@ -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
File diff suppressed because it is too large
Näytä tiedosto


Loading…
Peruuta
Tallenna