get_fuel_mix: Get fuel mix for a country or region

Description Usage Arguments Value Examples

View source: R/kaya.R

Description

Get fuel mix for a country or region

Usage

1
2
get_fuel_mix(region_name, collapse_renewables = TRUE, quiet = FALSE,
  region_code = NULL)

Arguments

region_name

The name of a country or region to look up

collapse_renewables

Combine hydroelectricity and other renewables into a single category.

quiet

Suppress warnings if there is no data for that country or region.

region_code

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

Value

a tibble of fuel mix for the country or region. That is, the number of quads of each fuel and the fraction of total primary energy coming from that fuel.

Examples

1
2
3
get_fuel_mix("United States")
get_fuel_mix("World", collapse_renewables = FALSE)
get_fuel_mix(region_code = "LCN")

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