read_vital: Read Vital

View source: R/load_vital_csv.R

read_vitalR Documentation

Read Vital

Description

Loads a folder of gz compressed csv files, exported by parse_vital

Usage

read_vital(
  path,
  tz = "UTC",
  nested_list = TRUE,
  tracks_only = FALSE,
  recalc_time = FALSE
)

Arguments

path

Path to folder containing the files exported by parse_vital

tz

Time zone

nested_list

Create a nested list of tracks inside a list of devices. Necessary to deal with duplicate track names between devices.

tracks_only

Do not include header in returned list. If FALSE, an error is given if there are any duplicate track names.

recalc_time

recalculate time using first value and sample rate. (Should probably not be used).

Value

A (nested) list of tracks.

Examples

## Not run: 
read_vital(folder, tz = 'CET')

## End(Not run)

JohannesNE/waveformtools documentation built on July 1, 2022, 8:48 p.m.