California-Data-Collaborative / OWRS-Analysis

Analysis of water rates collected in the OWRS format.
3 stars 6 forks source link

Properly handle annual bills #12

Closed christophertull closed 6 years ago

christophertull commented 6 years ago

e.g. https://github.com/California-Data-Collaborative/Open-Water-Rate-Specification/blob/master/full_utility_rates/California/Glenbrook%20Water%20Cooperative%20-%203299/1-1-2016.owrs

patwater commented 6 years ago

@vincent-hebble this might be a good task for you to track down

patwater commented 6 years ago

We should double check and make sure this isn't included in the analysis for the 2017 Cal-NV report

patwater commented 6 years ago

@christophertull is this an OWRS-analysis bug? Or should we move this to RateParser

christophertull commented 6 years ago

Not RateParser. Parser is agnostic to timeframe. Just gotta make sure in the analysis that we do something like following:

sample_usage <- 15 #ccf 
annual_usage <- sample_usage *12
annual_bill <- #calculate annual rates
monthly_bill <- annual_bill/12 

We are already doing similar for bi-monthly just need to tweak to include annual