https://www.jspsych.org/7.3/plugins/survey-likert
Value
Single row tibble with results. Check jsPsych documentation
for the list of available variables.
Examples
if (FALSE) {
fn <- demo_file("jspsych-survey-likert.json")
d <- read_jspsych(fn)
trials <-
d %>%
filter(trial_type == trial_types$survey_likert) %>%
select(record, trial_index, raw) %>%
process_records(.using = parse_survey_likert) %>%
unnest(processed)
# individual questions/responses
trials %>%
filter(trial_index == 1) %>%
unnest(response)
}