View source: R/read_syft_data.R
read_syft_data | R Documentation |
.csv
files.Function to read Syft .csv
files.
read_syft_data(file, verbose = FALSE)
file |
Vector of Syft |
verbose |
Should the function give messages? |
The Syft instrument reports time with sub second accuracy. This is
preserved but to view this extra precision, set the digits.secs
option.
Named list containing data frames.
Stuart K. Grange
set_sub_second_option
## Not run:
# Load a data file
file <- "data/Participant 3/Breath Romance-Participant 3-20180205-152112.csv"
list_syft <- read_syft_data(file)
# What units does the list contain? (purrr needs to be loaded)
map(list_syft, names) %>%
flatten_chr()
# Extract observations
data_observations <- map_dfr(
list_syft,
`[[`,
"detailed_concentrations",
.id = "file"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.