Skip to main content

Option

Describes each option that a subject could choose from in a trial.

note

Note that in some tasks, the options may change within a trial after each input (e.g., serial self-ordered search task); therefore the options are optionally indexed by input_index.

Key

FieldTypeRequirementDescription
option_idPRIMARY KEYrequiredPrimary key of the Option table. Reference to this identifier in other tables are thus named option_id.

Context

FieldTypeRequirementDescription
trial_indexidrequiredRefers to the trial_index in the Response table and indicates in which trial this option was shown.
response_ididoptionalRefers to the response_id in the Response table and indicates for which response this option was shown.
index_in_trialindexoptionalIndexing each of the options within the set of options that were available to subjects on a given trial.
object_idstringoptionalAn option is defined by a set of features. This variable is used to identify each time the same features were used. For example, if the same white digit "3" is used as an option in the Digit Span task, all those instances would have the same object_id although they would have different ids (as they appeared at different times).

When

FieldTypeRequirementDescription
onsetfloatrequiredDuration between the start of the trial and the moment the option was displayed or activated, in seconds.
durationfloatrequiredHow long the option was displayed or active in seconds, starting from the onset, in seconds.

Where

FieldTypeRequirementDescription
panel_idstringoptionalIdentifier of the pane this option was displayed over.
x_screenfloatoptionalX coordinates of the option component on the screen in pixels.
y_screenfloatoptionalY coordinates of the option component on the screen in pixels.
x_viewportfloatoptionalX coordinates of the option component on the screen expressed as a fraction of the screen width.
y_viewportfloatoptionalY coordinates of the option component on the screen expressed as a fraction of the screen height.

What

FieldTypeRequirementDescription
descriptionstringrequiredA human readable, compact description of the main aspects of the option. The description for a given option depends on the task but follows a specific template for a given task. Because of this, it looks like the option description could be parsed---however, this is not the intention; structured, parsed data will be available in other fields; description is for human readability and facilitates the understanding of the data.
valuefloatoptionalA numeric value associated with a particular response option; typically indicating the "worth" of a response (e.g., value=1 for the correct response).
sourcestringrequiredRefers to the specific generator or set from which the option originates. Options sharing the same source have the same data structure and can be thus collectively described in a table named after option_source (e.g., "digit1to9").
source_typeenumoptionalAn option is typically created using a particular procedure/algorithm or is sampled from a particular set. This variable indicates which of these two applies for the current option.
index_in_sourceintegeroptionalWhen a option is picked from a particular set (e.g., digits1to9), this index refers to the index within that set.

How

FieldTypeRequirementDescription
animationstringoptionalDescribes the animation used to display a specific option in a human-readable format. For example, "fadeIn 3s ease-in-out" indicates a 3-second fade-in animation.