Inclusion of the BR option in the uf parameter so that it is possible to access the president's information in the case of federal elections.
In this new minor release, and inclusion of an additional function for candidate data, for the TSE created a new file referring to applications with additional information. In addition to allows users to download electoral data from 1998 to 2024.
In this new minor release, we unified the functions to download and clean electoral data using a few improved internal functions. In addition to that, we also added support to get data from CepespData's API (cepespdata.io), which allows users to download electoral data from 1998 to 2018. With this update, we hope the package will be more robust and easier to maintain.
elections_tse()
, that calls appropriate internal functions; original functions now return deprecation warnings.elections_cepesp()
function.elections_tse()
function.br_archive
argument to handle different file naming conventions.This is a minor update fixing the functions to download and clean electoral data by voting sections in municipal elections. We also added support to continuous integrations tests with GitHub Actions.
This is a long due minor update that (1) fixes a few bugs and improve a couple of functions, and (2) adds new functions and document others better.
This is a minor update with bug fixes and some improvements.
We changed central aspects of the package, which affected all the functions in it (but without compromising backward compatibility). Beyond that, in this update we did our best to make the package more user friendly: we created a vignette, included more options to filter and customize functions' outputs, and added more specific functions (including one to easily export electoral data). With this new update, the package also gained a website. Overall, this is what we did:
fread()
and rbindlist()
), (2) to make the package more robust to human errors (new internal functions to test inputs), and (3) to return a simples object (a dplyr tbl
).president_state_vote()
) and by municipality (president_mun_vote()
).legislative_state_vote()
) and by municipality (legislative_mun_vote()
).available_seats()
).UF
).NEWS.md
file to track changes to the package.year = 2016
option for local elections.candidate_local
documentation.voter_affiliation
, to collect data on voters' affiliation.voter_profile
, to collect data on voters' profile.test_encoding
, to validate encodings passed to the functions' calls.cat
with message
in all functions. Users are now free to suppress unwanted messages.