How to combine 1 question at a time with skip logic
Source:vignettes/articles/guides/combine-1-question-at-a-time-with-skip-logic.Rmd
combine-1-question-at-a-time-with-skip-logic.RmdCombine a survey shown 1 question at a time with questions that depend on earlier answers.
The example in this guide is One question at a time, with skip logic. The skip-logic survey shown one question at a time, so each respondent sees only the questions that apply to them.
In SurveyStudio
- In RStudio, open the Addins menu, choose
surveyframe: Try a demo and pick
conversational_branching. - Open Survey settings. On General, Presentation mode is Conversational. On Design, the dependent question has a branching rule.
- On Preview, answer the first question in different ways. A question hidden by its rule is stepped over, so the respondent moves straight to the next question that applies.
In R
d <- sframe_demo("conversational_branching")
sframe_get_branches(d$instrument)
export_survey(d$instrument, "survey.html")