Ver código fonte

fix voters

main
Garrick Aden-Buie 2 anos atrás
pai
commit
77e8a35f60
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
2 arquivos alterados com 3 adições e 6 exclusões
  1. +1
    -4
      process/R/voters.R
  2. +2
    -2
      process/_targets/meta/meta

+ 1
- 4
process/R/voters.R Ver arquivo

@@ -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
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


Carregando…
Cancelar
Salvar