get_kaya_data: Get Kaya data for a country or region

Description Usage Arguments Details Value Examples

View source: R/kaya.R

Description

Get Kaya data for a country or region

Usage

1
2
get_kaya_data(region_name, gdp = c("MER", "PPP"), quiet = FALSE,
  region_code = NULL)

Arguments

region_name

The name of a country or region to look up

gdp

Use market exchange rates ('MER') or purchasing power parity ('PPP'). Default is 'MER'.

quiet

Suppress warnings if there is no such country or region.

region_code

Optional three-letter country or region code to look up instead of the 'region_name'

Details

Units for G, g, e, and ef depend on whether the data is requested in MER or PPP dollars: For MER, dollars are constant 2010 U.S. dollars. For PPP, dollars are constant 2011 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) use millions of metric tons of carbon dioxide, not carbon.

Value

a tibble of Kaya identity data for the country or region:

region

The name of the country or region

year

The year

P

Population, in billions

G

Gross domestic product, in trillions of constant 2010 U.S. dollars.

E

Total primary energy consumption, in quads

F

CO2 emissions from fossil fuel consumption, in millions of metric tons

g

Per-capita GDP, in thousands of dollars per person.

e

Energy intensity of the economy, in quads per trillion dollars.

f

Emissions intensity of the energy supply, in million metric tons per quad.

ef

Emissions intensity of the economy, in metric tons per million dollars of GDP.

Examples

1
2
3
4
get_kaya_data("Brazil")
get_kaya_data("United Kingdom", "PPP")
get_kaya_data(region_name = "United States")
get_kaya_data(region_code = "MYS")

kayadata documentation built on May 1, 2019, 6:32 p.m.