electionsBR: R Functions to Download and Clean Brazilian Electoral Data

Share:

Offers a set of functions that automatically downloads and aggregates election data from Brazil, directly from the Superior Electoral Court website. Among others, there are data available on local and federal elections for all positions (city councillor, mayor, state deputy, federal deputy, governor, and president) disaggregated by state of the Federation, city, zone, and polling stations. In addition, data on the verification (blank votes, null votes, abstention) and the candidates' background are also available.

Author
Denisson Silva [aut, cre], Fernando Meireles [aut], Beatriz Costa [ctb]
Date of publication
2016-08-18 15:57:52
Maintainer
Denisson Silva <denissonsilva@ufmg.br>
License
GPL (>= 2)
Version
0.1.1
URLs

View on CRAN

Man pages

candidate_fed
Download data on the candidates' backgrounds in federal...
candidate_local
Download data on the candidates' background in local...
details_mun_zone_fed
Download data on the verification of federal elections in...
details_mun_zone_local
Download data on the verification of local elections in...
juntaDados
Reads and rbinds multiple data.frames in the same directory
legend_fed
Download data on federal election coalitions in Brazil
legend_local
Download data on local election coalitions in Brazil
Moda
Calculates the mode of a distribution
party_mun_zone_fed
Download data on the polls by parties from federal elections...
party_mun_zone_local
Download data on the polls by parties from local elections in...
test_fed_year
Tests federal election year inputs
test_local_year
Tests federal election year inputs
vote_mun_zone_fed
Download data on the polls by candidate from federal...
vote_mun_zone_local
Download data on the polls by candidate from local elections...

Files in this package

electionsBR
electionsBR/NAMESPACE
electionsBR/R
electionsBR/R/utils.R
electionsBR/R/legend_fed.R
electionsBR/R/party_mun_zone_local.R
electionsBR/R/legend_local.R
electionsBR/R/candidate_local.R
electionsBR/R/details_mun_zone_local.R
electionsBR/R/vote_mun_zone_local.R
electionsBR/R/vote_mun_zone_fed.R
electionsBR/R/details_mun_zone_fed.R
electionsBR/R/candidate_fed.R
electionsBR/R/party_mun_zone_fed.R
electionsBR/README.md
electionsBR/MD5
electionsBR/DESCRIPTION
electionsBR/man
electionsBR/man/legend_local.Rd
electionsBR/man/details_mun_zone_fed.Rd
electionsBR/man/candidate_fed.Rd
electionsBR/man/legend_fed.Rd
electionsBR/man/juntaDados.Rd
electionsBR/man/Moda.Rd
electionsBR/man/vote_mun_zone_fed.Rd
electionsBR/man/party_mun_zone_fed.Rd
electionsBR/man/test_local_year.Rd
electionsBR/man/vote_mun_zone_local.Rd
electionsBR/man/candidate_local.Rd
electionsBR/man/details_mun_zone_local.Rd
electionsBR/man/test_fed_year.Rd
electionsBR/man/party_mun_zone_local.Rd