sage: Retrieve Results from the Small-Area Global Elections Archive

Retrieves election results from the Small-Area Global Elections (SAGE) archive, a harmonized collection of results at the level of the polling station and precinct, without reading the complete country-level files. The package reads the 'Parquet' release, which is partitioned by country and year, from a public bucket or from a source set using an environment variable, sage_set_source(), or a local copy of the archive. The function sage_load() returns the results for a given country, years, and columns as a 'tibble'. Further functions retrieve the boundary polygons and the votes received by individual candidates. See <https://github.com/noahdasanaike/sage> for the archive itself.

Version: 0.2.1
Depends: R (≥ 4.0)
Imports: arrow (≥ 14.0.0), dplyr, rlang, tibble, utils
Suggests: curl, sf, sfarrow, testthat (≥ 3.0.0)
Published: 2026-12-01
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.1.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
Old sources: sage archive

Linking:

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