Skip to contents

Aggregate Solute

Usage

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

Arguments

solute

solute as retrieved by read_solute

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 solute