Skip to contents

Construct and describe a study

studyframe()
Bind observations to their collection context
variable_spec() sampling_stage() sampling_spec() variance_spec() weight_spec() assignment_spec()
Declare how observations were collected
roster_spec()
Declare what the attached roster represents
evidence_spec()
Identify source evidence without certifying its claims
instrument_ref()
Map a measurement to a versioned instrument artifact
attach_evidence()
Attach attributed evidence and unresolved import diagnostics
context() collection_data()
Inspect attached context and roster
validate_studyframe()
Validate structure and consistency without certifying an analysis

Import and prepare measurements

read_qualtrics()
Import a bounded Qualtrics response export with its instrument evidence
rename_studyframe()
Rename columns while retaining their scientific identities
derive_studyframe()
Add a derived variable with its definition
recode_studyframe()
Recode values into a new measurement with an explicit mapping
join_studyframe()
Join measurements without multiplying observational units

Check and run an analysis

analysis_request()
Request a supported analysis with explicit design choices
regression_request()
Request a model-based linear association
analysis_issue()
Describe an analysis requirement or import uncertainty
check_analysis()
Check requirements without fitting an outcome model
run_analysis()
Fit a supported request after preparing its declared design
estimate_mean()
Estimate a mean using a declared survey design
estimate_effect()
Estimate an effect on a declared complete randomized roster
as_survey()
Translate an explicitly selected survey specification

Share data and context

write_studyframe() read_studyframe()
Save or read data and context as one portable bundle
write_codebook()
Generate a readable codebook from the attached declarations