createDataRows: Create a Set of Rows for One Data Parameter

Description Usage Arguments Value

View source: R/extremes-data.R

Description

Create a Set of Rows for One Data Parameter

Usage

1
2
3
createDataRows(reportObject, param, rowName, isUpchain = FALSE,
  isDv = FALSE, includeRelated = TRUE, doMerge = TRUE,
  timezone = timezone)

Arguments

reportObject

A set of extremes report data for either upchain, primary, or DV.

param

Either "min" or "max" to specify if we are generating minimum or maximum rows.

rowName

The name to use for the specified row.

isUpchain

Whether or not this is the upchain dataset and it needs to compare to primary.

isDv

Context is daily values when TRUE; not-daily-values otherwise.

includeRelated

Whether or not there is a second column of corresponding data.

doMerge

Whether or not we should merge duplicate rows.

timezone

the timezone of the data for calculating utc offset

Value

list dataRows


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