surveycore: Core Survey Analysis Infrastructure

Provides 'S7'-based infrastructure for survey analysis. Supports Taylor series, replicate weight, and two-phase designs following the methods in 'Lumley' (2004) <doi:10.18637/jss.v009.i08>. Includes design-based estimators such as means, frequencies, and regression models, with weighted 'polychoric' and 'polyserial' correlation following 'Mannan' (2025) <doi:10.2139/ssrn.6580480>. A metadata system automatically preserves 'haven'-style variable labels, value labels, and question-preface attributes through all operations. Uses a 'tidyselect' interface for design specification.

Version: 0.8.3
Depends: R (≥ 4.3.0)
Imports: S7 (≥ 0.1.0), rlang (≥ 1.0.0), tidyselect (≥ 1.2.0), cli (≥ 3.6.0), tibble (≥ 3.1.0), dplyr (≥ 1.1.0), marginaleffects (≥ 0.18.0), pbivnorm (≥ 0.6.0), stats, graphics
Suggests: testthat (≥ 3.0.0), withr (≥ 2.5.0), survey (≥ 4.0), survival, srvyr (≥ 1.0), haven (≥ 2.5.0), lifecycle (≥ 1.0.0), broom (≥ 1.0.0), polycor (≥ 0.8.0), jtools (≥ 2.2.0), covr, knitr, rmarkdown
Published: 2026-05-05
DOI: 10.32614/CRAN.package.surveycore (may not be active yet)
Author: Jacob Dennen ORCID iD [aut, cre, cph], Thomas Lumley [ctb, cph] (Author of variance estimation code vendored from the 'survey' package)
Maintainer: Jacob Dennen <jdenn0514 at gmail.com>
BugReports: https://github.com/JDenn0514/surveycore/issues
License: GPL (≥ 3)
URL: https://github.com/JDenn0514/surveycore, https://jdenn0514.github.io/surveycore/
NeedsCompilation: no
Materials: README
CRAN checks: surveycore results

Downloads:

Package source: surveycore_0.8.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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