R/kaya.R
get_top_down_trends.Rd
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)
a tibble of trends for P, G, E, F, g, e, f, and ef for each country or region in percent per year.
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