Package: sage
Type: Package
Title: Retrieve Results from the Small-Area Global Elections Archive
Version: 0.2.1
Authors@R: c(
    person("Noah", "Dasanaike", email = "dasanaike.noah@gmail.com",
           role = c("aut", "cre", "cph")),
    person("Dmitry", "Shkolnik", role = "ctb"))
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
Language: en-US
Depends: R (>= 4.0)
Imports: arrow (>= 14.0.0), dplyr, rlang, tibble, utils
Suggests: curl, sf, sfarrow, testthat (>= 3.0.0)
Config/testthat/edition: 3
RoxygenNote: 7.2.3
URL: https://github.com/noahdasanaike/sage
BugReports: https://github.com/noahdasanaike/sage/issues
NeedsCompilation: no
Packaged: 2026-12-01 15:34:14 UTC; Noah
Author: Noah Dasanaike [aut, cre, cph],
  Dmitry Shkolnik [ctb]
Maintainer: Noah Dasanaike <dasanaike.noah@gmail.com>
Repository: CRAN
Date/Publication: 2026-12-01 15:50:02 UTC
