get_week_total: Summarise dataframe with weekly total column values
Description
Converts the numeric columns of a time-series data frame to total values per week (sum).
Note that if the input values are in power units (e.g., kW), the output values will be in energy units (e.g., kWh).
Usage
get_week_total(dtf)
Value
tibble
Arguments
dtf
data.frame or tibble, first column of name datetime being
of class datetime and rest of columns being numeric