The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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
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:

Reference manual: sage.html , sage.pdf

Downloads:

Package source: sage_0.2.0.tar.gz
Windows binaries: r-devel: sage_0.2.0.zip, r-release: sage_0.2.0.zip, r-oldrel: sage_0.2.0.zip
macOS binaries: r-release (arm64): sage_0.2.0.tgz, r-oldrel (arm64): sage_0.2.0.tgz, r-release (x86_64): sage_0.2.0.tgz, r-oldrel (x86_64): sage_0.2.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sage to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.