Get Kaya data for one or more countries or regions
get_kaya_data( region_name, gdp = c("MER", "PPP"), quiet = FALSE, region_code = NULL )
The name of one or more countries or regions to look up
Use market exchange rates (
Suppress warnings if there is no such country or region.
Optional three-letter country or region codes to look up
instead of the
Units for G, g, e, and ef depend on whether the data is requested in MER or PPP dollars: For MER, dollars are constant 2015 U.S. dollars. For PPP, dollars are constant 2017 international dollars.
_P_ and MER values for GDP and related quantities are available from 1960 onward. PPP values for GDP and related quantities are only available from 1990 onward. Energy-related values (_E_, _F_, and derived quantities) are available from 1965 onward. Note that emissions (_F_, _f_, and _ef_) are reported as millions of metric tons of carbon dioxide, not carbon.
a tibble of Kaya identity data for the countries or regions specified:
The name of the country or region
Population, in billions
Gross domestic product, in trillions of constant 2015 U.S. dollars.
Total primary energy consumption, in quads
CO2 emissions from fossil fuel consumption, in millions of metric tons
Per-capita GDP, in thousands of dollars per person.
Energy intensity of the economy, in quads per trillion dollars.
Emissions intensity of the energy supply, in million metric tons per quad.
Emissions intensity of the economy, in metric tons per million dollars of GDP.
get_kaya_data("Brazil") get_kaya_data("United Kingdom", "PPP") get_kaya_data(region_name = "United States") get_kaya_data(region_code = "MYS")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.