Events
Download data: Events structure¶
The events structure is a list of timed events during a task. It contains events such as a participant interacting with a stimulus, or resizing the screen.
Compatible file types¶
Events structure data is currently only available in the .log
file type.
Read more about the log file and how to import
it.
Structure¶
Each event is represented by one row. There are three columns:
time
The time of the event in milliseconds elapsed since January 1, 1970 00:00 UTCname
The name of the event. See below for examples.variables
a key/value map with variables, such as the stimulus affected by the user action.
Example¶
Below is the content of an example log file containing events.
1522184853949 logStarted {}
1522184853950 screenSize {'h': 1080, 'w': 1920}
1522184853953 viewportSize {'h': 858.2666625976562, 'w': 1222}
1522184853958 placed {'id': 'eVgbZ', 'x': 0, 'y': -0.5, 'cat': 'first'}
1522184853958 placed {'id': '0YpAC', 'x': -0.05962680651716577, 'y': 0.014922748834862198, 'cat': 'first'}
1522184853958 placed {'id': 'XLZHk', 'x': 0, 'y': -0.5, 'cat': 'second'}
1522184854018 queueSampled {'from': 0}
1522184863281 saveprogress {}
1522184952541 logStarted {}
1522184952542 screenSize {'h': 1080, 'w': 1920}
1522184952547 viewportSize {'h': 858.2666625976562, 'w': 1222}
1522184952555 placed {'id': 'eVgbZ', 'x': 0, 'y': -0.5, 'cat': 'first'}
1522184952555 placed {'id': '0YpAC', 'x': -0.05962680651716577, 'y': 0.014922748834862198, 'cat': 'first'}
1522184952555 placed {'id': 'XLZHk', 'x': 0, 'y': -0.5, 'cat': 'second'}
1522184952631 queueSampled {'from': 0}
1522184967688 saveprogress {}
1522185089525 placed {'id': 'Q5OS4', 'x': 0.288995726610676, 'y': 0.14435351882160383, 'cat': 'first'}
1522185089547 queueSampled {'from': 0}
1522185091444 placed {'id': 'UTrzw', 'x': -0.236287732351751, 'y': 0.14435351882160383, 'cat': 'second'}
1522185091466 queueSampled {'from': 0}
1522185093738 placed {'id': '2i4kd', 'x': -0.009643516842161082, 'y': -0.29520692073883575, 'cat': 'first'}
1522185093753 queueSampled {'from': 0}