Package: DownBallotR 0.1.0
DownBallotR: Access Federal, State, and Local Election Data
Provides an 'R' interface for downloading and standardizing election data to support research workflows. Election results are published by states through heterogeneous and often dynamic web interfaces that are not consistently accessible through existing 'R' packages or APIs. To address this, the package wraps state-specific 'Python' web scrapers through the 'reticulate' package, enabling access to dynamic content while exposing consistent 'R' functions for querying election availability and results across jurisdictions. The package is intended for responsible use and relies on publicly accessible election result pages.
Authors:
DownBallotR_0.1.0.tar.gz
DownBallotR_0.1.0.zip(r-4.7)DownBallotR_0.1.0.zip(r-4.6)DownBallotR_0.1.0.zip(r-4.5)
DownBallotR_0.1.0.tgz(r-4.6-any)DownBallotR_0.1.0.tgz(r-4.5-any)
DownBallotR_0.1.0.tar.gz(r-4.7-any)DownBallotR_0.1.0.tar.gz(r-4.6-any)
DownBallotR_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
DownBallotR/json (API)
NEWS
| # Install 'DownBallotR' in R: |
| install.packages('DownBallotR', repos = c('https://gchickering21.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gchickering21/downballotr/issues
Pkgdown/docs site:https://gchickering21.github.io
Last updated from:f4f05d3ecf. Checks:8 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 122 | ||
| source / vignettes | OK | 184 | ||
| linux-release-x86_64 | OK | 132 | ||
| macos-release-arm64 | OK | 85 | ||
| macos-oldrel-arm64 | OK | 93 | ||
| windows-devel | OK | 422 | ||
| windows-oldrel | OK | 443 | ||
| wasm-release | OK | 106 |
Exports:db_available_yearsdb_list_sourcesdb_list_statesdownballot_install_pythondownballot_python_statusdownballot_use_pythonscrape_electionssummarize_results
Dependencies:cliglueherejsonlitelatticelifecyclemagrittrMatrixpngpurrrrappdirsRcppRcppTOMLreticulaterlangrprojrootvctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Show data availability for election scrapers | db_available_years |
| List all registered Python scraper sources | db_list_sources |
| List states supported by DownBallotR scrapers | db_list_states |
| Install Python dependencies for downballotR | downballot_install_python |
| Check Python environment status for downballotR | downballot_python_status |
| Use the DownBallotR Python virtualenv in this R session | downballot_use_python |
| Print a downballot_python_status object | print.downballot_python_status |
| Scrape election data | scrape_elections |
| Summarize an election results data frame | summarize_results |
