Elections results

Functions used to retrieve and clean Brazilian electoral results (i.e., number of votes and electoral status of candidates) for both federal (_fed) and local (_local) elections.

vote_mun_zone_fed

Download data on candidate electoral results in federal elections in Brazil

vote_mun_zone_local

Download data on candidate electoral results in local elections in Brazil

president_mun_vote

Download, clean, and transform data on presidential electoral runoff results by municipality

president_state_vote

Download, clean, and transform data on presidential electoral runoff results by state

legislative_mun_vote

Download, clean, and transform data on legislative electoral results by municipality

legislative_state_vote

Download, clean, and transform data on legislative electoral results by state

Candidates

Functions used to retrieve and clean data on candidates’ profiles for both federal (_fed) and local (_local) elections in Brazil.

candidate_fed

Download data on the candidates' backgrounds in federal elections

candidate_local

Download data on the candidates' background in local elections

Parties

Functions used to retrieve and clean data on parties’ electoral performances (i.e., party label votes) for both federal (_fed) and local (_local) elections in Brazil.

party_mun_zone_fed

Download data on the polls by parties from federal elections in Brazil

party_mun_zone_local

Download data on the polls by parties from local elections in Brazil

Electoral coalitions

Functions used to retrieve and clean data on the composition of electoral coalitions for both federal (_fed) and local (_local) elections in Brazil.

legend_fed

Download data on federal election coalitions in Brazil

legend_local

Download data on local election coalitions in Brazil

Valid and residual votes

Functions used to retrieve and clean data on abstentions, valid, blank, and null votes for both federal (_fed) and local (_local) elections in Brazil.

details_mun_zone_fed

Download data on the verification of federal elections in Brazil

details_mun_zone_local

Download data on the verification of local elections in Brazil

Seats under dispute

Functions used to retrieve and clean data on the number of seats under dispute per race for both federal (_fed) and local (_local) elections.

seats_fed

Download data on the number of seats under dispute in federal elections

seats_local

Download data on the number of seats under dispute in local elections

Voters

Functions used to retrieve and clean data on Brazilian voters.

voter_profile

Download data on the voters' profile

voter_affiliation

Download data on voters' affiliation to political parties

Convenience

Functions used to easily get state and party abbreviations in Brazil.

uf_br

Returns a vector with the abbreviations of all Brazilian states

parties_br

Returns a vector with the abbreviations of all Brazilian parties