We changed central aspects of the package, which affected all the functions in it (but without compromising backward compability). 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 uptade, the package also gained a website. Overrall, 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 dato on voters’ affiliation.voter_profile
, to collect dato on voters’ profile.test_encoding
, to validate encodings passed to the functions’ calls.cat
with message
in all functions. Users are now free to supress unwanted messages.