Samplyr is an #Rstats package providing a tidy, readable way to describe and run complex #sampling designs in #R. Multi-stage, stratified, PPS, sample coordination with permanent random numbers & more are supported.
People coming from SAS SURVEYSELECT or SPSS CSPLAN, should feel at home.
Release to #CRAN soon. For now it's under active development on #Gitlab (w/ a Github mirror). #Survey #Methodology #Statistics
👉 https://dickoa.gitlab.io/samplyr/index.html
👉 https://gitlab.com/dickoa/samplyr
👉 https://github.com/dickoa/samplyr
A Tidy Grammar for Survey Sampling
Provides a tidy, composable grammar for specifying and executing complex survey sampling designs. Supports stratified, clustered, multi-stage, and multi-phase sampling with a minimal set of verbs that compose naturally. Designed to bridge the gap between verbal descriptions of sampling plans and executable R code, following tidyverse design principles. Includes synthetic sampling frames from African countries (Burkina Faso, Zimbabwe, Kenya) for learning and testing.