readNonEstimatedTimeSeries: Read a non-estimated time series

Description Usage Arguments Value

View source: R/utils-read.R

Description

Reads and formats a time series from the provided full report object

Usage

1
2
3
readNonEstimatedTimeSeries(reportObject, seriesName, timezone,
  descriptionField = NULL, shiftTimeToNoon = FALSE, isDV = FALSE,
  requiredFields = NULL, onlyMonth = NULL)

Arguments

reportObject

the full JSON report object

seriesName

the name of the time series to extract

timezone

the timezone to parse times to

descriptionField

The JSON field name to fetch description inofmration from

shiftTimeToNoon

[DEFAULT: FALSE] whether or not to shift DV times to noon

isDV

whether or not the specified time series is a daily value time series

requiredFields

optional overriding of required fields for a time series

onlyMonth

4 character month code to limit points to (EG: "1608" only includes August 2016 points)

Value

ts with only points which are not in the estimated range


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