Get top-down trends for Kaya variables for one or more countries or regions, using projections from U.S. Energy Information Administration's International Energy Outlook report.

get_top_down_trends(region_name, quiet = FALSE, region_code = NULL)

Arguments

region_name

The name of one or more countries or regions to look up

quiet

Suppress warnings if there is no data for the specified countries or regions.

region_code

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

Value

a tibble of trends for P, G, E, F, g, e, f, and ef for each country or region in percent per year.

See also

Examples

get_top_down_trends("Spain")
#> # A tibble: 1 × 9
#>   region     P     G     g     E      F      e     f     ef
#>   <chr>  <dbl> <dbl> <dbl> <dbl>  <dbl>  <dbl> <dbl>  <dbl>
#> 1 Spain  0.002 0.013 0.011 0.006 -0.004 -0.007 -0.01 -0.017
get_top_down_trends(region_code = "RUS")
#> # A tibble: 1 × 9
#>   region      P     G     g       E        F     e      f     ef
#>   <chr>   <dbl> <dbl> <dbl>   <dbl>    <dbl> <dbl>  <dbl>  <dbl>
#> 1 Russia -0.003 0.011 0.014 0.00100 -0.00100 -0.01 -0.002 -0.012