Package: electedBR 0.1.0

André Leite
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.
Authors:
electedBR_0.1.0.tar.gz
electedBR_0.1.0.zip(r-4.7-any)electedBR_0.1.0.zip(r-4.6-any)electedBR_0.1.0.zip(r-4.5-any)
electedBR_0.1.0.tgz(r-4.6-any)electedBR_0.1.0.tgz(r-4.5-any)
electedBR_0.1.0.tar.gz(r-4.7-any)electedBR_0.1.0.tar.gz(r-4.6-any)
electedBR_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
electedBR/json (API)
| # Install 'electedBR' in R: |
| install.packages('electedBR', repos = c('https://strategicprojects.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/strategicprojects/electedbr/issues
Pkgdown/docs site:https://strategicprojects.github.io
- elected_years - Yearly files of elected candidates
Last updated from:e31b4d6f59. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 143 | ||
| source / vignettes | OK | 224 | ||
| linux-release | OK | 142 | ||
| macos-release | OK | 117 | ||
| macos-oldrel | OK | 86 | ||
| windows-devel | OK | 64 | ||
| windows-release | OK | 78 | ||
| windows-oldrel | OK | 74 | ||
| wasm-release | OK | 100 |
Exports:consultar_deputadosconsultar_eleitosconsultar_eventos_exercicioconsultar_historico_exercicioconsultar_prefeitosconsultar_senadoresconsultar_vereadoresdiretorio_cache_eleitoselected_cache_direlected_clear_cacheget_councilorsget_deputiesget_electedget_mayorsget_officeholding_eventsget_senatorsget_service_historylimpar_cache_eleitosnormalizar_eleitosnormalize_elected
Dependencies:askpassclicurldplyrgenericsgluehttr2lifecyclemagrittrnanoparquetopensslpillarpkgconfigR6rlangsystibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Cache directory | diretorio_cache_eleitos elected_cache_dir |
| Remove cached files | elected_clear_cache limpar_cache_eleitos |
| Yearly files of elected candidates | elected_years |
| Federal deputies and senators currently serving | consultar_deputados consultar_senadores get_deputies get_senators |
| Candidates elected in Brazilian elections | consultar_eleitos consultar_prefeitos consultar_vereadores get_councilors get_elected get_mayors |
| Office-holding events for elected officials | consultar_eventos_exercicio get_officeholding_events |
| Service history of a deputy or senator | consultar_historico_exercicio get_service_history |
| Consolidate TSE files into the candidates elected | normalizar_eleitos normalize_elected |