Package to load, preprocess and work with raw eyetracking data.
The package works with EyerObject
of S3 class eyer
. You can construct the object on your own based on documentation
As the raw eyetracker data can get very large, the idea is that after the data has been preprocessed and fixations, saccades and events have been extracted, the package resaves the preprocessed files inside the original folder. In this way, when you load the participant's data again, you can immediately load the preprocessed files. In this way, the general function to read data takes a folder rather than a file and tries to look for and load any preprocessed raw files.
For preprocessing and loading raw eyetracker data, you either have to write your own code, or you can use pupilr for pupil labs eyetrakcking or eyelinkr for Eyelink SR 1000. Therse packages contain functions to convert data to proper eyer
format.
dir <- 'path to the directory with preprocessed data'
eye <- load_eyer_data(dir)
save_eyer(eye) #saves preprocessed data