Skip to contents

only for columns starting with "sum" and matching "volume"

Usage

aggregate_tlevel(
  t_level,
  sim_datetime_start = as.POSIXct("2017-05-01", tz = "UTC"),
  col_aggr = "date"
)

Arguments

t_level

t_level as retrieved by read_tlevel

sim_datetime_start

simulation start as datetime object (default: as.POSIXct("2017-05-01", tz = "UTC"))

col_aggr

column to be aggregated. One of "date", "yearmonth", "year" or "year_hydrologic" (default: "date")

Value

aggregated t_level data