read_agd | R Documentation |
Read ActiGraph sleep watch data from a database stored in an AGD file. Return a tibble. (Code is from actigraph.sleepr package https://github.com/dipetkov/actigraph.sleepr/. See LICENSE.note file in the app skeleton.)
read_agd(file, tz = "UTC")
file |
Full path to an agd file to read. |
tz |
Time zone to convert DateTime ticks to POSIX time. |
A tibble
of activity data with at
least two columns: timestamp and axis1 counts. Optional columns
include axis2, axis2, steps, lux and inclinometer indicators
(incline off, standing, sitting and lying). The device settings
are stored as attributes, which include epochlength
.
The AGD file format is described in the ActiLife 6 Manual. chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://6407355.fs1.hubspotusercontent-na1.net/hubfs/6407355/Product%20Manuals/ActiLife%206%20Users%20Manual%20-%20Rev-A-110315.pdf/
read_agd_raw()
file <- system.file("extdata", "acc.agd",
package = "activAnalyzer"
)
read_agd(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.