Download data on candidate electoral results in federal elections in Brazil by electoral section
Source:R/vote_section_fed.R
vote_section_fed.Rdvote_section_fed() downloads and cleans data on the verification of federal elections in Brazil,
disaggregated by electoral section. Different from other electionsBR's functions, results are only extract for individual states, one at a time. The function returns a data.frame where each observation
corresponds to an electoral section in a given Brazilian state.
Arguments
- year
Election year. For this function, only the years 1998, 2002, 2006, 2010, 2014, 2018, and 2022 are available.
- uf
Federation Unit acronym (
character vector). Defaults to'AC'(Acre).- 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)