electricitymaps / bloom-contrib

Making carbon footprint data available to everyone.

Home Page:https://www.bloomclimate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use 2011 exchange rates for monetary emission factors calculations

martincollignon opened this issue · comments

Full process for determining the carbon footprint of a transaction

  1. Assign transaction to a transaction category
  2. Convert the transaction amount to 2011 amount in the country of purchase (currently using annual consumer price index averages by country, improvement possibilities: category averages & monthly consumer price index by country)
  3. Convert the transaction amount in 2011 amount in the country of purchase to transaction amount in 2011 EUR amount in the country of purchase. Currently we're using the latest available in https://github.com/tmrowco/northapp-contrib/blob/master/integrations/utils/currency/exchange_rates.json
  4. Multiply the transaction amount in 2011 EUR amount in the country of purchase to the emission factor.

What this issue is about
Convert the transaction amount in 2011 amount in the country of purchase to transaction amount in 2011 EUR amount in the country of purchase. Currently we're using the latest available in https://github.com/tmrowco/northapp-contrib/blob/master/integrations/utils/currency/exchange_rates.json

Solution