read_AP: Read an activPAL events file

Description Usage Arguments Value Note Examples

Description

Read an activPAL events file

Usage

1
read_AP(filename, tz = "UTC")

Arguments

filename

character. Path to the file

tz

character. The timezone to use

Value

Data frame reflecting the data contained in filename.

Note

There must be a corresponding .def file located in the same directory as filename

Examples

1
2
3
4
5
6
ap_file <- system.file(
"extdata/sampledata_Events.csv",
package = "Sojourn"
)
ap_data <- read_AP(ap_file)
head(ap_data)

Sojourn documentation built on May 6, 2019, 9:02 a.m.