read_edf | R Documentation |
A convience wrapper around FDBeye file importer to import using UTF-8 format
read_edf(
edf_file,
asc_output_dir = NULL,
keep_asc = TRUE,
gzip_asc = TRUE,
samples = TRUE,
header = NULL,
parse_all = TRUE,
data.table = TRUE,
...
)
samples |
Logical. Whether to import raw data at the sampling rate aquired off the eyetracker. |
parse_all |
Logical. Whether to additionally parse between-event messages. |
edf.file |
Path to *edf file in UTF-8 format (UNIX/MAC pathing). Paths will be converted relative to your OS. |
Call edf2asc" R function to convert *edf files to *asc files. This wrapper only allows a single path instead of multiple. Existing *asc files will be overwritten because we se the option to -y. Before using this function, you must have the SR Research edf2asc downloaded from the SR Research Website (Downloads/Eyelink Developers Kit: https://www.sr-support.com/thread-13.html) and included in PATH. See https://rdrr.io/github/davebraze/FDBeye/man/edf2asc.html for details on how to add the command-line utility to your PATH.
list of subject eye data, where each element is a list generated by eyelinker::read.asc
## Not run:
eye_parsed <- read_edf(c("~/Box/s3_behav_data/neighborhood/eye/data/raw/N_003_TS.edf",
"~/Box/s3_behav_data/neighborhood/eye/data/raw/N_004_az.edf"), keep_asc=FALSE, parse_all=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.