4.1 The Structure of jsPsych Data

  • JavaScript array of objects, more flexible than tabular (e.g. CSV data)
  • Each object in the array contains data from a single trial (plugin), in chronological order as the trials were presented during the experiment
  • The objects do not need to contain the same properties (columns/variables) - the type of data included in each trial will depend on the plugin that was used
  • There are is some data that is collected by all plugins (trial_type, trial_index, etc.)
  • Very simple example with a few trials, and one or two different plugins
  • Annotated screenshots of JSON- and CSV-formatted data, in browser and files