find_supply_consumption_split | R Documentation |
Given a country's IEA extended energy balance data frame, find the row numbers that represent the transition between the Supply and Consumption sides of the ledger.
find_supply_consumption_split(
.ctry_tbl,
flow = IEATools::iea_cols$flow,
losses = IEATools::tfc_compare_flows$losses,
iron_and_steel = IEATools::manufacturing_flows$iron_and_steel,
mining_and_quarrying = IEATools::industry_flows$mining_and_quarrying,
tfc = IEATools::aggregation_flows$total_final_consumption,
industry = IEATools::tfc_flows$industry
)
.ctry_tbl |
a country's IEA data frame |
flow |
See |
losses |
See |
iron_and_steel |
See |
mining_and_quarrying |
See |
tfc |
See |
industry |
See |
Arguments should be supplied by the calling function.
An error is given if this function fails to find the location of the split between Supply and Consumption.
a pair of integers representing the rows that straddle the split between the Supply and Consumption sides of the ledger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.