readActiwatchCount: Read Actiwatch Count data files (csv)

View source: R/readActiwatchCount.R

readActiwatchCountR Documentation

Read Actiwatch Count data files (csv)

Description

Reads Actiwatch Count data file. Currently a variety of csv format are facilitated.

Usage

  readActiwatchCount(filename = NULL,
                            timeformat = "%m/%d/%Y %H:%M:%S",
                            desiredtz = "", configtz = NULL,
                            timeformatName = "timeformat")

Arguments

filename

filename (required)

timeformat

Character, timestemp format.

desiredtz

Character, timezone name where the accelerometer was worn. Timezone names are expected to be the timezone database names, e.g. Europe/London. See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

configtz

Character, timezone name where the accelerometer was configured. Leave NULL if equal to desiredtz. Timezones name are expected to be the timezone database names, e.g. Europe/London. See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

timeformatName

Character, name of timeformat variable to print in error message when timeformat is incorrect, of use to GGIR where argument names can differ.

Value

data

Matrix with one or multiple columns

epochSize

epoch size in seconds of data

startTime

POSIXlt format timestamp on which recording starts

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIRread documentation built on Oct. 25, 2024, 5:06 p.m.