Download data on the polls by parties from local elections in Brazil
Source:R/party_mun_zone_local.R
party_mun_zone_local.Rd
party_mun_zone_local()
downloads and aggregates data on the polls by parties from local elections in Brazil,
disaggregated by electoral zone. The function returns a data.frame
where each observation
corresponds to a city/zone.
Arguments
- year
Election year. For this function, only the years 1996, 2000, 2004, 2008, 2012, 2016, 2020, and 2024 are available.
- uf
Federation Unit acronym (
character vector
).- encoding
Data original encoding (defaults to 'Latin-1'). This can be changed to avoid errors when
ascii = TRUE
.- temp
(
logical
). IfTRUE
, keep the temporary compressed file for future use (recommended)