elections_rda: Download data on the candidates' background in local...

View source: R/electionsbr_rda.R

elections_rdaR Documentation

Download data on the candidates' background in local elections

Description

Download data on the candidates' background in local elections

Usage

elections_rda(year, level = "fed", archive = "candidate")

Arguments

year

Election year. For this function, only the years of 1996, 2000, 2004, 2008, 2012, 2016, 2020, and 2024 are available for local level. 1994, 1998, 2002, 2006, 2010, 2014, 2018, and 2022 are available for the federal level.

level

Election level podem ser fed (default) or local.

archive

Corresponds to one the following options: candidate, to download candidates' data; vote_mun_zone, to download electoral results; legend, to download data on parties' labels; party_mun_zone, to download electoral results by party; personal_finances, to download candidates' personal finances; details_mun_zone, to download data on the verification of elections; and seats, to download data on available seats.

Examples

## Not run: 
df <- elections_rda(2018)

## End(Not run)

electionsBR documentation built on April 4, 2025, 3:49 a.m.