@vim-crouwel/cfpc
Version:
TypeScript library for calculating CO2 emissions from food, energy, and transportation
79 lines (78 loc) • 2.75 kB
JSON
{
"transportation": {
"car": {
"co2_per_km": 0.17,
"source": "https://ourworldindata.org/travel-carbon-footprint"
},
"bus": {
"co2_per_km": 0.10,
"source": "https://ourworldindata.org/travel-carbon-footprint"
},
"train": {
"co2_per_km": 0.035,
"source": "https://ourworldindata.org/travel-carbon-footprint"
},
"motorbike": {
"co2_per_km": 0.113,
"source": "https://calculator.carbonfootprint.com/calculator.aspx?tab=6"
},
"bicycle": {
"co2_per_km": 0,
"source": "https://ourworldindata.org/travel-carbon-footprint"
}
},
"energy": {
"ac_usage_per_m2_per_hour_kwh": 0.15,
"co2_per_kwh": {
"value": 0.5,
"note": "Varies by region. Example average for US/EU.",
"source": "https://www.eea.europa.eu/en/topics/in-depth/climate-change-mitigation/greenhouse-gas-emission-intensity-of-electricity-generation"
}
},
"food": {
"meat": {
"beef": {
"co2_per_kg": 36,
"source": "https://ourworldindata.org/carbon-footprint-food-methane"
},
"pork": {
"co2_per_kg": 12,
"source": "https://ourworldindata.org/carbon-footprint-food-methane"
},
"chicken": {
"co2_per_kg": 9.9,
"source": "https://en.wikipedia.org/wiki/Individual_action_on_climate_change"
}
},
"fish": {
"salmon": {
"co2_per_kg": 13.6,
"source": "https://www.bbc.com/future/article/20200211-why-salmon-has-a-bigger-carbon-footprint-than-chicken"
},
"sardine": {
"co2_per_kg": 2,
"source": "https://www.bbc.com/future/article/20200211-why-salmon-has-a-bigger-carbon-footprint-than-chicken"
}
},
"vegetables": {
"lettuce": {
"co2_per_kg": 3,
"source": "https://ourworldindata.org/carbon-footprint-food-methane"
},
"tomato": {
"co2_per_kg": 2,
"source": "https://ourworldindata.org/carbon-footprint-food-methane"
}
},
"legumes": {
"peas": {
"co2_per_kg": 0.98,
"source": "https://en.wikipedia.org/wiki/Individual_action_on_climate_change"
},
"tofu": {
"co2_per_kg": 3.2,
"source": "https://en.wikipedia.org/wiki/Individual_action_on_climate_change"
}
}
}
}