default_parsers: Default set of parsers

View source: R/parser_sets.R

default_parsersR Documentation

Default set of parsers

Description

This list of used to automatically call respective parsers. It is primarily used for auto-detection in process_records. In future, it could be possible to hold alternative parsers for different versions of jsPsych (or jspsychread).

Usage

default_parsers()

Value

List of trial types and respective parser functions

Examples

default_parsers()
# extending parsers
my_parsers <- default_parsers()
my_form_parser <- function(x) { x } # not useful but check parsers.R for inspiration
my_parsers[["survey_html_form"]] <- my_form_parser

jirilukavsky/jspsychread documentation built on Jan. 29, 2023, 5:35 p.m.