These functions can be used to quickly extract segment specific timeseries (either discharge, runoff, observations or control) by riverID, or create a table from specified riverIDs with date and timeseries of the river segments in columns.

discharge(HS, riverID = NULL)

runoff(HS, riverID = NULL)

observations(HS, riverID = NULL)

control(HS, riverID = NULL)

Arguments

HS

a HS object

riverID

A vector of riverIDs for which to extract timeseries. If NULL (default), extracts timeseries from all river segments.

Value

Returns a list of tibbles with column Date and columns named by riverID. Each element of the list is named by and correspond to a different timeseries.