Description Usage Arguments Value
calculate_bill
applies a rate structure to water use data to
calculate water bills. Applies calculate_class_bill
to each
cust_class
separately.
1 | calculate_bill(df, parsed_rate)
|
df |
Data frame containing all data values referenced in the rate
file but not defined in the rate file. E.g. |
parsed_rate |
OWRS file,
parsed into an |
Original data frame with additional columns appended. Additional columns are those
defined in the rate file, as well as columns Xi
representing the usage in the
ith tier, and XRi
representing revenue in the ith tier (where applicable).
NOTE: rows are not guarenteed to be in the same order as originally passed, and will likely be in a different order
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.