Skip to content

electionsBR

R Functions to Download and Clean Brazilian Electoral Data

v0.5.0 · Nov 17, 2024 · GPL (>= 2)

Description

Offers a set of functions to easily download and clean Brazilian electoral data from the Superior Electoral Court and 'CepespData' websites. Among other features, the package retrieves data on local and federal elections for all positions (city councilor, mayor, state deputy, federal deputy, governor, and president) aggregated by state, city, and electoral zones.

Downloads

744

Last 30 days

4375th

2.5K

Last 90 days

10.6K

Last year

Trend: -3.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘haven’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies magrittr dplyr data.table haven (>= 1.0.0) readr httr curl electionsBR

Version History

8 tracked
new 0.5.0 Mar 10, 2026
updated 0.5.0 ← 0.4.0 diff Nov 17, 2024
updated 0.4.0 ← 0.3.2 diff Feb 4, 2024
updated 0.3.2 ← 0.3.1 diff Jan 29, 2021
updated 0.3.1 ← 0.3.0 diff Jul 8, 2019
updated 0.3.0 ← 0.2.0 diff Jun 5, 2017
updated 0.2.0 ← 0.1.1 diff Dec 12, 2016
new 0.1.1 Aug 17, 2016