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

Description Usage Arguments Examples

View source: R/electionsbr_rda.R

Description

Download data on the candidates' background in local elections

Usage

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

Arguments

year

Election year. For this function, onlye the years of 1996, 2000, 2004, 2008, 2012 and 2016 are available for local level. 1994, 1998, 2002, 2006, 2010, 2014, 2018 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

1
2
3
4
## Not run: 
df <- elections_rda(2018)

## End(Not run)

electionsBR documentation built on Jan. 30, 2021, 5:06 p.m.