Loads a survey definition without simplifying its JSON structure, so nested survey elements, flow nodes and logic objects are preserved as R lists.
Arguments
- source
One of:
a path to a
.qsffile;a Qualtrics URL containing a survey id (
SV_...) – fetched viafetch_qsf()(needsQUALTRICS_API_KEY/QUALTRICS_BASE_URL);a bare survey id
SV_...– also fetched viafetch_qsf().
Examples
qsf_path <- system.file("extdata", "demo_travel_survey.qsf",
package = "surveyBurden")
qsf <- read_qsf(qsf_path)
class(qsf)
#> [1] "qsf_raw"
names(qsf)
#> [1] "SurveyEntry" "SurveyElements"