Skip to contents

https://www.jspsych.org/7.3/plugins/call-function

Usage

parse_call_function(d)

Arguments

d

List with unprocessed trial data

Value

Single row tibble with results. Check jsPsych documentation

for the list of available variables.

Examples

if (FALSE) {
fn <- demo_file("jspsych-call-function.json")
d  <- read_jspsych(fn)
d %>%
  filter(trial_type == trial_types$call_function) %>%
  select(record, trial_index, raw) %>%
  process_records(.using = parse_call_function) %>%
  unnest(processed)
}