View source: R/specify_tp_eiou.R
split_oil_gas_extraction_eiou | R Documentation |
This function separates the EIOU flows of the Oil and gas extraction industry into EIOU flows for the Oil extraction industry and EIOU flows for the Natural gas extraction industry. It uses the shares of production of each of these two industries to separate EIOU flows. As such, the EIOU consumed per unit of output will be the same for the Oil extraction and Natural gas extraction industries.
split_oil_gas_extraction_eiou(
.tidy_iea_df,
eiou = IEATools::aggregation_flows$energy_industry_own_use,
country = IEATools::iea_cols$country,
energy_type = IEATools::iea_cols$energy_type,
method = IEATools::iea_cols$method,
last_stage = IEATools::iea_cols$last_stage,
ledger_side = IEATools::iea_cols$ledger_side,
year = IEATools::iea_cols$year,
flow = IEATools::iea_cols$flow,
flow_aggregation_point = IEATools::iea_cols$flow_aggregation_point,
e_dot = IEATools::iea_cols$e_dot,
oil_gas_extraction = IEATools::eiou_flows$oil_and_gas_extraction,
transformation_processes = IEATools::aggregation_flows$transformation_processes,
oil_extraction = IEATools::industry_flows$oil_extraction,
gas_extraction = IEATools::industry_flows$natural_gas_extraction,
.share = ".share"
)
.tidy_iea_df |
The |
eiou |
The name of the Energy industry own use flow aggregation point.
Default is |
country , energy_type , method , last_stage , ledger_side , year , flow , flow_aggregation_point , e_dot |
See |
oil_gas_extraction |
The name of the Oil and gas extraction EIOU flow.
Default is |
transformation_processes |
The name of the flow aggregation point referring to transformation processes.
Default is |
oil_extraction |
The name of the Oil extraction industry.
Default is |
gas_extraction |
The name of the Natural gas extraction industry.
Default is |
.share |
The name of a temporary column that is added to the data frame. Default is ".share". |
A .tidy_iea_df
with "Oil and gas extraction" EIOU flows split into 'Oil extraction"
and "Natural gas extraction" EIOU flows.
library(dplyr)
load_tidy_iea_df() %>%
split_oil_gas_extraction_eiou()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.