View source: R/specify_tp_eiou.R
specify_electricity_grid | R Documentation |
Adds an electricity grid industry that takes as input all electricity produced by any industry, which is now specified by producing industry (e.g., "Electricity [from Wind power plants]"), and converts it into Electricity.
specify_electricity_grid(
.tidy_iea_df,
specify_electricity_grid = FALSE,
supplying_industry_notation = RCLabels::from_notation,
country = IEATools::iea_cols$country,
method = IEATools::iea_cols$method,
energy_type = IEATools::iea_cols$energy_type,
last_stage = IEATools::iea_cols$last_stage,
year = IEATools::iea_cols$year,
ledger_side = IEATools::iea_cols$ledger_side,
flow_aggregation_point = IEATools::iea_cols$flow_aggregation_point,
flow = IEATools::iea_cols$flow,
product = IEATools::iea_cols$product,
unit = IEATools::iea_cols$unit,
e_dot = IEATools::iea_cols$e_dot,
losses = IEATools::tfc_compare_flows$losses,
grid_industry = IEATools::grid_industries$electricity_grid,
supply = IEATools::ledger_sides$supply,
transformation_processes = IEATools::tfc_compare_flows$transformation_processes,
electricity = IEATools::electricity_products$electricity,
negzeropos = ".negzeropos"
)
.tidy_iea_df |
The |
specify_electricity_grid |
A boolean stating whether an electricity grid industry should be created or not. Default is FALSE. |
supplying_industry_notation |
Notation to use to specify the electricity supplying industry.
Default is |
flow_aggregation_point , flow , e_dot , product , method , ledger_side , last_stage , energy_type , country , year , unit |
See |
losses |
The name of the "Losses" flows in the input data frame.
Default is |
grid_industry |
The name of the electricity grid industry to be added.
Default is |
supply |
The name of the supply ledger side.
Default is |
transformation_processes |
The name of transformation processes in the flow aggregation point column.
Default is |
electricity |
The name of the product name for "Electricity".
Default is |
negzeropos |
The name of a temporary column added to the data frame. Default is ".negzeropos". |
The .tidy__iea_df
to which an electricity grid industry has been added.
load_tidy_iea_df() %>%
specify_electricity_grid()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.