electedBR: Brazilian Election Winners and Sitting Members of Congress

Retrieves the candidates elected in Brazilian municipal and general elections since 2018, consolidated from the open data of the Superior Electoral Court (TSE, <https://dadosabertos.tse.jus.br/>) and distributed as yearly Parquet files, together with the federal deputies and senators currently serving according to the open data APIs of the Chamber of Deputies (<https://dadosabertos.camara.leg.br/>) and the Federal Senate (<https://www12.senado.leg.br/dados-abertos>). Election results and current office holding are kept as distinct queries; electoral roles, service history and provenance are preserved. Every function returns a tibble with English column names and has a Portuguese alias.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dplyr (≥ 1.1.0), httr2 (≥ 1.0.0), nanoparquet, rlang, tibble, tools, utils
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-10-06
DOI: 10.32614/CRAN.package.electedBR (may not be active yet)
Author: Andre Leite ORCID iD [aut, cre], Marcos Wasiliew ORCID iD [aut], Hugo Vasconcelos ORCID iD [aut], Carlos Amorim ORCID iD [aut], Diogo Bezerra ORCID iD [aut]
Maintainer: Andre Leite <leite at castlab.org>
BugReports: https://github.com/StrategicProjects/electedBR/issues
License: GPL-3
URL: https://github.com/StrategicProjects/electedBR, https://strategicprojects.github.io/electedBR/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: electedBR results

Documentation:

Reference manual: electedBR.html , electedBR.pdf
Vignettes: Getting started with electedBR (source)

Downloads:

Package source: electedBR_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=electedBR to link to this page.