thegreenwebfoundation / green-cost-explorer

See how much of your cloud bill is spent on fossil fuels ,so you can do the right thing and switch. We're in a climate crisis, remember?
Apache License 2.0
171 stars 18 forks source link

Add cost breakdown by month #13

Closed vsmart closed 5 years ago

vsmart commented 5 years ago

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

Screenshot 2019-08-14 at 14 33 33

mrchrisadams commented 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?