Skip to content

surveycore 0.8.4

Choose a tag to compare

@JDenn0514 JDenn0514 released this 06 May 16:28
· 57 commits to main since this release
7fbd97f

New features

  • get_effective_n() computes the effective sample size of a survey design
    using the Kish (1965) weight approximation (method = "kish") or the full
    design effect for a specified variable (method = "deff"). Supports all
    design types and survey_collection.

CRAN preparation (0.8.3)

  • Resubmission addressing CRAN feedback on the 0.8.2 submission. Four
    changes: (1) Added DOI references to the package Description
    (Lumley 2004 for variance estimation; Mannan 2025 for weighted
    polychoric/polyserial correlation). (2) Uncommented three
    as_survey() calls in the @examples blocks of anes_2024,
    gss_2024, and pew_npors_2025, so they now run during
    R CMD check. The ANES and GSS examples (and the corresponding
    prose @details sketches) also gained nest = TRUE, which is
    required by those designs and silences a previously-emitted
    warning. (3) Replaced the \section{Tidy-select} \preformatted{}
    code sketch in as_survey() with prose, and added two runnable
    demonstrations to the @examples block. (4) Replaced globalenv()
    with baseenv() as the formula environment in survey_glm() to
    comply with CRAN policy on .GlobalEnv modification.