R: Core Survey Analysis Infrastructure

# Core Survey Analysis Infrastructure

## Documentation for package ‘surveycore’ version 1.0.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

.get_design_vars_flat | Get design variable column names
acs_pums_wy | ACS PUMS 2022 1-Year: Wyoming Persons
add_survey | Add Surveys to a 'survey_collection'
anes_2024 | ANES 2024: American National Election Studies Time Series
anova.survey_glm_fit | ANOVA Method for Survey GLM Fits
as_caldata | Build a Calibration Data Element
as_survey | Create a Taylor Series Linearization Survey Design
as_survey_collection | Create a Collection of Survey Designs
as_survey_nonprob | Create a Non-probability Survey Design
as_survey_replicate | Create a Replicate Weights Survey Design
as_survey_twophase | Create a Two-Phase Survey Design
as_svydesign | Convert a surveycore Design Object to a survey Package Design
as_tbl_svy | Convert a surveycore Design Object to an srvyr tbl_svy
ca_api_2000 | California Academic Performance Index 2000: Simple Random Sample
classify_question_type | Classify Variable Question Types
clean | Tidy a Survey GLM Fit
extract_higher_is | Extract Direction-of-Improvement Attributes
extract_metadata | Extract All Metadata for Variables
extract_missing_codes | Extract Missing Value Codes
extract_question_preface | Extract Question Prefaces
extract_reverse_coded | Extract Reverse-Coded Flags
extract_sata | Extract SATA (Select-All-That-Apply) Flags
extract_universe | Extract Universe Descriptions
extract_val_labels | Extract Value Labels
extract_var_label | Extract Variable Labels
extract_var_note | Extract Analyst Notes
from_svydesign | Convert a survey Package Design to a surveycore Design Object
from_tbl_svy | Convert an srvyr tbl_svy to a surveycore Design Object
get_anova | Design-Based Analysis of Variance and Wald Tests for Survey GLM Fits
get_corr | Survey-Weighted Correlation (Pearson, Polychoric, Polyserial)
get_covariance | Design-Based Population Covariance for a Survey Design
get_diffs | Treatment Effect Estimation for Survey Designs
get_effective_n | Effective Sample Size for a Survey Design
get_freqs | Weighted Frequency Tables for Categorical Survey Variables
get_means | Weighted Mean for a Survey Design
get_pairwise | All-Pairs Pairwise T-Tests for Survey Designs
get_quantiles | Survey-Weighted Quantiles
get_ratios | Survey-Weighted Ratio Estimation
get_totals | Weighted Total for a Survey Design
get_t_test | Design-Based Two-Sample T-Test for Survey Designs
get_variance | Design-Based Population Variance for a Survey Design
gss_2024 | GSS 2024: General Social Survey
infer_question_prefaces | Infer Question Prefaces from Variable Labels
meta | Extract Metadata from a Survey Result
meta.survey_result | Extract Metadata from a Survey Result
nhanes_2017 | NHANES 2017-2018: Demographics and Blood Pressure
ns_wave1 | Nationscape Wave 1: July 18, 2019
pew_jewish_2020 | Pew Jewish Americans 2020
pew_npors_2025 | Pew NPORS 2025: National Public Opinion Reference Survey
print.survey_anova | Print Method for survey_anova Objects
print.survey_diffs | Print a Survey Diffs Result
print.survey_pairwise | Print method for survey_pairwise objects.
print.survey_result | Print a Survey Result Object
print.survey_t_test | Print method for survey_t_test objects.
remove_survey | Remove Surveys from a 'survey_collection'
set_collection_id | Set the Identifier Column on a 'survey_collection'
set_collection_if_missing_var | Set the Missing-Variable Behaviour on a 'survey_collection'
set_higher_is | Set Direction-of-Improvement Attribute
set_missing_codes | Set Missing Code(s)
set_question_preface | Set Question Preface(s)
set_reverse_coded | Set Reverse-Coded Flag
set_sata | Set SATA (Select-All-That-Apply) Flag
set_universe | Set Universe Description(s)
set_val_labels | Set Value Labels
set_var_label | Set Variable Label(s)
set_var_note | Set Analyst Note(s)
SURVEYCORE_DOMAIN_COL | Internal Domain Column Name Constant
survey_collection | Multi-Survey Container
survey_data | Access the Data Component of a Survey Design Object
survey_glm | Fit a Survey-Weighted Generalised Linear Model
survey_glm_fit | Survey-Weighted GLM Fit Object
survey_metadata | Survey Metadata Container
survey_nonprob | Non-probability Samples
survey_replicate | Replicate Weights Survey Design
survey_taylor | Taylor Series Linearization Survey Design
survey_twophase | Two-Phase Survey Design
survey_weighting_history | Extract the Weighting History from a Survey Object
update_design | Update Design Variables on an Existing Survey Object