global emissions icon

Global Emissions Python Library

From the CORGIS Dataset Project

By Sam Donald
Version 1.0.0, created 9/23/2022
Tags: emissions, CO2, CO2 share, N2O, CH4

Overview

The dataset allows for comparisons of various countries and regions in relation to overall emission trends along with their sources

https://github.com/owid/co2-data

Explore Structure

Each row represents emission report.

Index Type Example Value
0 dict { }
1 dict (same structure)
2 dict (same structure)
... ... ...
Key Type Example Value Description
"Year" int 1992 The year of the emission report
"Country" dict { }
"Emissions" dict { }
Key Type Example Value Description
"Name" str "Afghanistan" The name of a country
"Code" str "AFG" Abbreviation of country
"GDP" float 12677538816.0 A countries gross domestic product for a given year
"Population" int 14485543 A countries population for a given year
Key Type Example Value Description
"Production" dict { }
"Global Share" dict { }
Key Type Example Value Description
"CH4" float 7.13 The total amount of CH4 produced (kilotons)
"N2O" float 2.89 The total amount of N2O produced (kilotons)
"CO2" dict { }
Key Type Example Value Description
"Cement" float 0.046 The total amount of CO2 produced (kilotons) related to the cement production
"Coal" float 0.022 The total amount of CO2 produced (kilotons) related to the coal industry
"Gas" float 0.363 The total amount of CO2 produced (kilotons) related to gas consumption
"Oil" float 0.927 The total amount of CO2 produced (kilotons) related to oil consumption
"Flaring" float 0.022 The total amount of CO2 produced (kilotons) related to flaring
"Other" float 0.0 The total amount of CO2 produced (kilotons) related to flaring other areas (such that CO2 total is sum of components)
"Total" float 1.379 The total amount of CO2 produced (kilotons)
Key Type Example Value Description
"CO2" dict { }
Key Type Example Value Description
"Cement" float 0.01 The share of global CO2 produced (kilotons) related to the cement production
"Coal" float 0.0 The share of global CO2 produced (kilotons) related to the coal industry
"Gas" float 0.01 The share of global CO2 produced (kilotons) related to gas consumption
"Oil" float 0.01 The share of global CO2 produced (kilotons) related to oil consumption
"Flaring" float 0.01 The share of global CO2 produced (kilotons) related to flaring
"Total" float 0.01 The share of global CO2 produced (kilotons)

Downloads

Download all of the following files.

  1. global_emissions.py
  2. global_emissions.data

Usage

import global_emissions
emissions = global_emissions.get_emissions()

Documentation

get_emissions()
Returns a list of dictionaries representing Emissions.