The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.
alarmdata provides utility functions to download and process data produced by the ALARM Project, including 2020 redistricting files and 50-State Redistricting Simulations.
You can install alarmdata with:
install.packages("alarmdata")
You can also install the development version from GitHub with:
# install.packages("remotes")
::install_github("alarm-redist/alarmdata") remotes
We can easily download simulation data for a state and make some plots.
library(alarmdata)
library(redist)
= alarm_50state_map("WA")
map_wa = alarm_50state_plans("WA")
plans_wa
redist.plot.plans(plans_wa, draws=1:4, shp=map_wa)
hist(plans_wa, e_dem) +
::labs(x=NULL, title="Expected Democratic seats") ggplot2
Downloads will go to options(alarm.cache_dir)
if it is
set. If it is not, and options(alarm.use_cache = TRUE)
,
downloads will be cached between sessions in
rappdirs::user_cache_dir("alarm")
. If If
options(alarm.use_cache = FALSE)
(the default), then the
cache will be in a temporary directory that does not persist between
sessions. You can check the size of the cache and clear it with
alarm_cache_size()
and
alarm_cache_clear()
.
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.
Health stats visible at Monitor.