Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/read_syft_data.R
Function to read Syft .csv
files.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## 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.