aggregate_products | R Documentation |
This function aggregates PSUT matrices by energy carrier (product) according to an aggregation map. Aggregated matrices replace original matrices on output.
aggregate_products( .psut_df, matrices_to_aggregate = c("R", "U", "V", "Y"), aggregation_map = PFUWorkflow::product_aggregation_map, countries, country = IEATools::iea_cols$country )
.psut_df |
A data frame with PSUT matrices in columns. |
matrices_to_aggregate |
A list of the matrices to aggregate according to |
aggregation_map |
A description of the aggregation to be performed.
See |
countries |
The countries to be analyzed. |
country |
The name of the country column in |
A data frame of aggregated products.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.