Open-source software
Tools
Six open-source R packages for surveys and field data. They are hosted on GitLab, some have a mirror on GitHub, and they are published on CRAN once stable.
The six packages
Sampling frame GitLab
decoupage
Builds enumeration areas that respect physical barriers, from building footprints (Overture Maps) and road networks (OpenStreetMap), by spatially constrained clustering.
remotes::install_gitlab("dickoa/decoupage")
svyplan
Plans sample sizes, precision by domain, statistical power, the number of interviews per cluster, and the optimal allocation under a budget constraint.
remotes::install_gitlab("dickoa/svyplan")
Sampling engine CRAN C / R
sondage
Implements in C the single-stage sampling algorithms for finite populations, including equal probability sampling, unequal probability sampling with or without replacement, balanced sampling (cube method), and spatially balanced sampling (LPM, SCPS).
install.packages("sondage")
samplyr
Provides a grammar to describe a sampling design, execute it, check it, and replay it. It covers stratified, cluster, multi-stage and multi-phase designs, rotating panels, and coordinated samples, and exports to survey and srvyr.
remotes::install_gitlab("dickoa/samplyr")
robotoolbox
R client for the KoboToolbox API v2. It handles authentication, multilingual forms, repeating groups, tabular data, and media downloads.
install.packages("robotoolbox")
rhdx
R interface to search, read, and import the datasets and resources published on the Humanitarian Data Exchange (HDX).
remotes::install_gitlab("dickoa/rhdx")