Skip to content

Psiturk.recordTrialData

Doug Markant edited this page Oct 18, 2013 · 4 revisions

recordTrialData(array)

Add a single line of data (an array with any number of entries and any type) to the psiturk object. Using this will not save this data to the server, for that you must still call psiturk.saveData().

Example:

// data comprised of some list of variables of varying types
data = ['output', condition, trialnumber, response, rt]
psiturk.recordTrialData(data)