read_nowatch: Read Nowatch data

View source: R/read_nowatch.R

read_nowatchR Documentation

Read Nowatch data

Description

Reads in Nowatch data as a list, and prepends timecolumns

Usage

read_nowatch(zipfile = NULL, folder = NULL, tz = Sys.timezone())

Arguments

zipfile

A zip file as exported by the instrument. Only aggregated data supported.

folder

A folder with the unzipped files. If this is provided, the zipfile is not used.

tz

The timezone used by the instrument (defaults to user timezone).

Details

This function reads in a zipfile with files exported by the Nowatch instrument, or a folder with the unzipped files. The files are expected to be csv files.

The unzipped files are csv files.

The function returns an object of class "nowatchdata" with a prepended datetime columns. The object contains a list with dataframes from the physiological signals.

Examples

## Not run: 
 library(wearables)
 read_nowatch("yourpathtohezipfile.zip")
 read_nowatch(folder = "/path/to/folder/with/files")

## End(Not run)

PCdLf/wearables documentation built on Nov. 19, 2024, 5:57 p.m.