Sfoglia il codice sorgente

try to fix voters parquet file

main
Garrick Aden-Buie 2 anni fa
parent
commit
ec1136e129
Non sono state trovate chiavi note per questa firma nel database
2 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. +3
    -0
      process/R/voters.R
  2. +2
    -2
      process/_targets/meta/meta

+ 3
- 0
process/R/voters.R Vedi File

@@ -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 soppresso perché troppo grande
Vedi File


Loading…
Annulla
Salva