Process raw jsPsych data
Usage
process_records(x, .using = NULL, auto = default_parsers())
Arguments
- x
Dataset with jsPsych records
- .using
Parser function to use on each record. Use
NULL
for auto-detection.- auto
List of trial types and parser functions used for auto-detection.
Examples
if (FALSE) {
fn <- demo_file("jspsych-html-button-response.json")
d <- read_jspsych(fn)
d %>%
filter(trial_type == trial_types$html_button_response) %>%
process_records(.using = parse_html_button_response) %>%
unnest(processed)
# auto-detected
d %>%
filter(trial_type == trial_types$html_button_response) %>%
process_records() %>%
unnest(processed)
}