alarmdata: Download, Merge, and Process Redistricting Data

Utility functions to download and process data produced by the ALARM Project, including 2020 redistricting files Kenny and McCartan (2021) <https://alarm-redist.org/posts/2021-08-10-census-2020/> and the 50-State Redistricting Simulations of McCartan, Kenny, Simko, Garcia, Wang, Wu, Kuriwaki, and Imai (2022) <doi:10.7910/DVN/SLCD3E>. The package extends the data introduced in McCartan, Kenny, Simko, Garcia, Wang, Wu, Kuriwaki, and Imai (2022) <doi:10.1038/s41597-022-01808-2> to also include states with only a single district. The package also includes the Japanese 2022 redistricting files from the 47-Prefecture Redistricting Simulations of Miyazaki, Yamada, Yatsuhashi, and Imai (2022) <doi:10.7910/DVN/Z9UKSH>.

Version: 0.2.4
Depends: R (≥ 4.1.0)
Imports: rlang, cli, curl, dplyr, readr, stringr, sf, dataverse, censable, geomander (≥ 2.1.0), tidyselect, redist (≥ 4.2.0), redistmetrics, tinytiger, rappdirs
Suggests: rstudioapi, rmapshaper, testthat (≥ 3.0.0), spelling
Published: 2025-12-12
DOI: 10.32614/CRAN.package.alarmdata
Author: Cory McCartan ORCID iD [aut], Christopher T. Kenny ORCID iD [aut, cre], Tyler Simko ORCID iD [aut], Michael Zhao ORCID iD [aut], Sho Miyazaki ORCID iD [aut], Kosuke Imai ORCID iD [aut]
Maintainer: Christopher T. Kenny <ctkenny at proton.me>
BugReports: https://github.com/alarm-redist/alarmdata/issues/
License: MIT + file LICENSE
URL: https://github.com/alarm-redist/alarmdata/, https://alarm-redist.org/alarmdata/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: alarmdata results

Documentation:

Reference manual: alarmdata.html , alarmdata.pdf

Downloads:

Package source: alarmdata_0.2.4.tar.gz
Windows binaries: r-devel: not available, r-release: alarmdata_0.2.4.zip, r-oldrel: not available
macOS binaries: r-release (arm64): alarmdata_0.2.4.tgz, r-oldrel (arm64): alarmdata_0.2.4.tgz, r-release (x86_64): alarmdata_0.2.4.tgz, r-oldrel (x86_64): alarmdata_0.2.4.tgz
Old sources: alarmdata archive

Linking:

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