Add additional variables that can be used to define rules for
Source:R/read_variable.R
add_variable.Rd
Add additional variables that can be used to define rules for
Arguments
- data
The table that should be added as a variable. The number of columns must be 1 or the number of subbasins. the row number must be the same as the number of weather records.
- name
Character string to define the name of the added variable (this name must be used in the rule set)
- assign_unit
tibble to link spatial units to the variables in data
- variables
Internal variables. Not defined by user. Required number of variables.
- date
Internal variable. Not defined by user. Date vector that is added.