surveyframe: Survey Instrument Workflows for R
Source:R/surveyframe-package.R
surveyframe-package.Rdsurveyframe defines a survey instrument as a first-class R object and supports a complete workflow from questionnaire design through data collection, quality checking, scoring, psychometric diagnostics, and reproducible reporting. The package covers static HTML survey export, an embeddable Shiny survey module, an interactive response dashboard, a role-based analysis planner with pre-declared research questions, common survey statistics, and model syntax planning for EFA, CFA, CB-SEM, and PLS-SEM.
Core workflow
Design an instrument with
launch_builder()orsf_instrument()and its component constructors:sf_item(),sf_choices(),sf_scale(),sf_branch(),sf_check().Validate and save with
validate_sframe()andwrite_sframe().Deploy a Shiny survey with
render_survey().Load responses with
read_responses()orread_sheet_responses().Check quality with
quality_report().Score and analyse with
score_scales(),descriptives_report(),missing_data_report(),reliability_report(),item_report(),efa_report(),cfa_syntax(), andrun_analysis_plan().Report with
codebook_report(),render_report(), andrender_results().
Author
Maintainer: Mohammed Ali Sharafuddin mohammedali.page@gmail.com (ORCID)
Authors:
Mohammed Ali Sharafuddin mohammedali.page@gmail.com (ORCID)