A Clojure library designed to help you live sustainably.
To estimate how much CO2 was produced in a given year per capita
(co2-by-year-in-finland 1979) ; => 11.4034573078207 (co2-by-year-in-finland 2000) ; => 10.1284741400511
To estimate how much a person of a given age creates CO2 emissions compared to average over lifetime.
(co2-multiplier-by-age-in-finland 1) ; => 0.1433125171218903 (co2-multiplier-by-age-in-finland 39) ; => 1.2666295009137765
To estimate how many tons of CO2 emissions there were for someone alive during a certain time period
(co2-over-life-in-finland 1969 2008) ; => 311.03141542755174 (co2-over-life-in-finland 1979 2018) ; => 297.5844637544411
To estimate how much it costs to compensate for (your) life so far
(* (co2-over-life-in-finland 1979 2018) 12.87)) => 3829.9120485196568
Story & Methodology
For someone who lived an average life, we can find average CO2 emissions per capita from The World Bank (TWB). We have used Finland as reference because it's my home country.
A person's emissions for an age, i.e. during a certain year in their life can be estimated. This is done by Zagheni (ZAG) for US, but we use it as an estimate for Finland as well. From this data we calculate a multiplier of how much that age causes emissions compared to the average over all ages.
A person's total life CO2 emissions are then estimated by multiplying the yearly averages for that country (Finland) with the multipliers of age that year.
What to do with it? For example, one can calculate how much to compensate for past behavior up until one compensates for current emissions. Let's talk about being net negative in CO2 over your whole lifetime!
Yes, compensation is not the same as not producing any emissions. Reduction is key, but we don't stop there. Compensate already! Fix your past wrongs!
The code is released to the Public Domain. Use it for much good!
The data included, is covered by their respective licenses detailed below.
ZAG: CO2 emissions by age
- The leverage of demographic dynamics on carbon dioxide emissions: does age structure matter?
- Zagheni, E.
- Demography, 48:1, 371-399 (2011)
- See also CO2 Age Structure
- Distributed under the terms of the Creative Commons Attribution Noncommercial License which permits any noncommercial use, distribution, and reproduction in any medium, provided the original author(s) and source are credited.
TWB: CO2 emissions (metric tons per capita)
- The World Bank
- Carbon dioxide emissions are those stemming from the burning of fossil fuels and the manufacture of cement. They include carbon dioxide produced during consumption of solid, liquid, and gas fuels and gas flaring.
- Carbon Dioxide Information Analysis Center, Environmental Sciences Division, Oak Ridge National Laboratory, Tennessee, United States.
- Licensed CC BY-4.0