California-Data-Collaborative / RateComparison

Easily compare the revenue, equity, and demand implications of different water rate structures.
GNU Affero General Public License v3.0
13 stars 4 forks source link

Load rate structure from a file #12

Closed christophertull closed 7 years ago

christophertull commented 7 years ago

Users should be able to load a rate structure from a file, either to set the baseline rates or to populate the boxes in the customer class tabs. There should probably be an import button somewhere.

Before this can happen, a format for storing and transmitting rates needs to be devised, which is a problem that I a working on, probably in a different repo.

patwater commented 7 years ago

Is the idea here that this hard coded global.R file would get pruned down (https://github.com/California-Data-Collaborative/rate-comparison/blob/master/global.R) and then instead the global.R would just pull in the right rate specification file according to the utility name provide: https://github.com/California-Data-Collaborative/Open-Water-Rate-Specification

Down the road if this truly was a standard one might not even need to have the open-water-rate-specification file on one's desktop... Just a well placed web hook or something like that :)

christophertull commented 7 years ago

Oooo, I like the webhook idea! And yeah, that is the general idea here.

Re: issue #11 users should also be able to save a rate structure that they are in the process of designing so that they can come back and load it later.

christophertull commented 7 years ago

closed by #33