resortTimeSeries: Resort Time Series

Description Usage Arguments Value

View source: R/fiveyeargwsum-render.R

Description

Before we start assigning time series and rendering plot components, resort the timeseries so we don't have any empty firstStatDerived slots otherwise the min/max and approval bars dont draw correctly. Also, assign the prefixes from the original data so the user doesn't know we're shuffling things around behind the scenes

Usage

1
resortTimeSeries(reportObject)

Arguments

reportObject

the JSON to inspect and reassign/re-order time series

Value

reportObject with reassigned time series


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