Skip to contents

Kilograms of CO2-equivalent per kilowatt-hour from the IEA / Our World in Data energy mix shipped with the package (213 countries, as in CodeCarbon): the country's published intensity when it has one, otherwise the generation-weighted mean of the per-source intensities, and the world average (475 g/kWh) for an unknown country.

Usage

morie_emissions_carbon_intensity(country_iso = "", region = "")

Arguments

country_iso

Three-letter ISO code, e.g. "CAN".

region

Unused; kept for parity with the Python arm.

Value

A number in kg CO2eq per kWh.

Examples

morie_emissions_carbon_intensity("CAN")
#> [1] 0.170043
morie_emissions_carbon_intensity("")   # world average
#> [1] 0.475