elections_rda {electionsBR}R 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, 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

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

## End(Not run)

[Package electionsBR version 0.4.0 Index]