specify_production_to_resources | R Documentation |
The IEA gives resource extraction in rows where the Flow
is "Production
".
This function changes the "Production
" string
to "Resources [of Product]
",
where product
is the name of the energy carrier for this resource.
specify_production_to_resources(
.tidy_iea_df,
flow = IEATools::iea_cols$flow,
product = IEATools::iea_cols$product,
production = IEATools::tpes_flows$production,
resources = IEATools::tpes_flows$resources,
notation = RCLabels::from_notation
)
.tidy_iea_df |
An IEA data frame whose columns have been renamed by |
flow |
The name of the flow column in |
product |
The name of the product column in |
production |
A string identifying production in the flow column.
Default is |
resources |
A string identifying resource industries to be added to |
notation |
A list of specification notations.
Default is |
This function should be called after specify_primary_production()
,
which adjusts for energy industry own use
of some primary energy producing industries.
If this function is called first,
EIOU will not be accounted correctly.
A .tidy_iea_df
with Production
changed to resources .resources_open product .resources_close
in the flow
column
load_tidy_iea_df() %>%
specify_primary_production() %>%
specify_production_to_resources()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.