formatSensorData: Creates the formatted data.frame for the report

Description Usage Arguments Value

View source: R/sensorreading-data.R

Description

Takes a JSON data string, a list of column names and a flag for comments and returns formatted data.frame for the report

Usage

1
2
formatSensorData(readings, columnNames, includeComments, timezone,
  qualifierMetadata)

Arguments

readings

Sensor reading report readings JSON string.

columnNames

list of column names for the report

includeComments

flag for TRUE or FALSE depending on user selection on whether they want comments included in the report output

timezone

the timezone of the report

qualifierMetadata

the metadata for all qualifiers found in readings

Value

data.frame table


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.