Closed vsmart closed 5 years ago
Hey Franka, this looks awesome, thanks!
I'm gonna merge this in, but it would be good to chat about how we structure the code, as we have a CLI output format, but I reckon we'll have a vega-lite compatibe output soon, and I think it makes more sense to test the generated data structure is the shape we want, to pass into the CLI table generator, or the vega-spec generation code, than test the output from the CLI, as that's already tested.
Maybe one to sketch out tomoz?
Closes https://github.com/thegreenwebfoundation/green-cost-explorer/issues/12
Also, attempts to generalise some of the data wrangling functions
by key
so they can be re-used for future breakdowns by other keys - e.g. service, regional, etc.👋 @mrchrisadams