parse_survey_html_form | R Documentation |
https://www.jspsych.org/7.3/plugins/survey-html-form
parse_survey_html_form(d)
d |
List with unprocessed trial data |
Single row tibble with results. Check jsPsych documentation for the list of available variables.
## Not run: fn <- demo_file("jspsych-survey-html-form.json") d <- read_jspsych(fn) trials <- d %>% filter(trial_type == trial_types$survey_html_form) %>% select(record, trial_index, raw) %>% process_records(.using = parse_survey_html_form) %>% unnest(processed) trials %>% filter(trial_index == 0) %>% select(-raw) %>% mutate(bind_rows(response)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.