Reads .bin/.BIN files from Parmay Tech Matrix devices using
GGIRread::readParmayMatrix().
Usage
acti_read_parmay_matrix(
path,
start = 1,
end = NULL,
tz = "UTC",
...,
apply_tz = TRUE,
verbose = TRUE
)
acti_read_parmay_matrix_header(path)Arguments
- path
Path to Matrix binary file, optionally compressed.
- start
index of the first packet to read, passed to GGIRread::readParmayMatrix
- end
index of the last packet to read, passed to GGIRread::readParmayMatrix.
NULLreads all packets.- tz
time zone for the data
time, passed todesiredtzin GGIRread::readParmayMatrix. IfNULLor"", no time conversion is done.- ...
additional arguments to pass to
GGIRread::readParmayMatrix(), such asread_gyro,read_temp, orread_heart- apply_tz
turn the
timecolumn into aPOSIXctin time zonetz. IfFALSE,timeis left as seconds since 1970-01-01.- verbose
print diagnostic messages
Value
A tibble with columns time, X, Y, Z (in g), any other
sensors read, and attributes of a header, sample rate, quality-control log
(qc_log), and transformations
Examples
data = acti_read_parmay_matrix(acti_example_parmay_matrix())
#> ✔ Read 12587 rows from Matrix file
header = acti_read_parmay_matrix_header(acti_example_parmay_matrix())