sage: Retrieve Slices of the Small-Area Global Elections Archive
Downloads and subsets slices of the Small-Area Global Elections
(SAGE) archive, a harmonized collection of polling-station and
precinct-level election results, without having to read monolithic
country-level files. Reads partitioned 'Parquet' from a public bucket
(configurable through the 'SAGE_SOURCE' environment variable, the
'sage_set_source()' function, or a local copy of the archive) and exposes
a 'sage_load(country, years, columns)' function returning a 'tibble', plus
helpers for the accompanying boundary polygons and candidate-level vote
sidecars. See <https://github.com/noahdasanaike/sage> for the archive
itself.
| Version: |
0.2.0 |
| Depends: |
R (≥ 4.0) |
| Imports: |
arrow (≥ 14.0.0), dplyr, rlang, tibble, utils |
| Suggests: |
curl, sf, sfarrow, testthat (≥ 3.0.0) |
| Published: |
2026-10-15 |
| DOI: |
10.32614/CRAN.package.sage (may not be active yet) |
| Author: |
Noah Dasanaike [aut, cre, cph],
Dmitry Shkolnik [ctb] |
| Maintainer: |
Noah Dasanaike <dasanaike.noah at gmail.com> |
| BugReports: |
https://github.com/noahdasanaike/sage/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/noahdasanaike/sage |
| NeedsCompilation: |
no |
| Language: |
en-US |
| Materials: |
README, NEWS |
| CRAN checks: |
sage results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=sage
to link to this page.