find_transformation_end | R Documentation |
Given a country's IEA extended energy balance data frame, find the row numbers that represent the transition between the Transformation processes and Energy industry own use.
find_transformation_end(
.ctry_tbl,
flow = IEATools::iea_cols$flow,
non_specified = IEATools::non_specified_flows$non_specified,
eiou = IEATools::tfc_compare_flows$energy_industry_own_use,
coal_mines = IEATools::industry_flows$coal_mines
)
.ctry_tbl |
a country's IEA data frame |
flow |
See |
non_specified |
See |
eiou |
See |
coal_mines |
the name for coal mines in the flow column. Default is "Coal mines". |
Arguments should be supplied by the calling function.
An error is given if this function fails to find the location of the split between Transformation processes and Energy industry own use.
a pair of integers representing the rows that straddle the split between Transformation processes and Energy industry own use The first integer is the last row of Transformation processes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.