surveycore
Core Survey Analysis Infrastructure
surveycore declared its API stable with every survey design type covered.
◆Recent moves
- 2mo ago
First stable release: all four survey design types complete
⚡ SPARKThe point where the package stops moving under its users. The preceding releases renamed arguments, flipped defaults and turned silent no-ops into errors; 1.0.0 declares the design types, estimators, metadata system and calibration-adjusted variance complete, which is what lets downstream code and the companion package pin against it.
View source ↗ - 3mo ago
get_effective_n() computes effective sample size
Adds effective sample size via either the Kish weight approximation or a full design effect for a named variable, across all design types and collections — a number reviewers ask for that previously had to be computed by hand. Bundled with CRAN resubmission work including DOI references and runnable examples.
View source ↗ - 3mo ago
Collections error on divergent grouping; .on_missing renamed
The largest pre-1.0.0 breaking pass, and mostly about making survey_collection honest. A mixed-grouping collection used to dispatch per survey and bind a patchwork of grouped and ungrouped rows together, which broke the pseudo-data-frame model it advertises; it now errors. .on_missing becomes .if_missing_var with a stored property and setters, and its previously silent no-op behaviour is fixed.
View source ↗ - 4mo ago
CRAN patch removing surveytidy from the vignette
No code changes — the getting-started vignette drops its surveytidy dependency so R CMD check passes as-cran, an artifact of the two packages being released in lockstep.
View source ↗