read_ksums: Read EME Systems kSUMs

Description Usage Arguments Value See Also

View source: R/read_ksums.R

Description

This function reads in data downloaded from EME Systems kSUMS. It returns a five column data.frame: timestamp (POSIXct), unit (character), value (numeric), filename (character), and label. The default timezone is UTC, but can be otherwise specified. See timezones for more details.

Usage

1
2
read_ksums(input_file, timezone = "UTC", trainset_output = F,
  wide = F)

Arguments

input_file

Path to kSUMs file

timezone

Timezone. Defaults to UTC.

trainset_output

Output a file for use with TRAINSET with four columns: filename, timestamp, value, label

wide

Specifies the format of the returned data – either a wide data.frame or a list of data.frames (one for each sensing element).

Value

A data.frame with five columns - timestamp (POSIXct), unit (character), value (numeric), filename (character), and label.

See Also

timezones


ajaypillarisetti/sumr documentation built on Jan. 27, 2020, 10:01 p.m.