remove_agg_regions | R Documentation |
The IEA extended energy balances contain several aggregation regions by default. In some situations, it may be desirable to remove those aggregation regions. This function performs that task.
remove_agg_regions(
.iea_df,
country = IEATools::iea_cols$country,
agg_regions = IEATools::aggregation_regions
)
.iea_df |
The IEA data frame from which you want to remove aggregation regions. |
country |
The name of the Country column in |
agg_regions |
A list of aggregation regions in the |
A version of .iea_df
with aggregation regions removed.
tibble::tibble(Year = c(1967, 1995),
Country = c("World", "Spain")) %>%
remove_agg_regions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.