international_bunkers_to_balancing | R Documentation |
This function moves international bunkers flows to the Balancing matrix. The Balancing matrix is akin to an additional final demand matrix, meaning that flows akin to final demand (i.e. where stocks increase) will be positive, while flows akin to supply (i.e. where stocks decrease) will be negative.
international_bunkers_to_balancing(
.tidy_iea_df,
flow = IEATools::iea_cols$flow,
matnames = IEATools::mat_meta_cols$matnames,
e_dot = IEATools::iea_cols$e_dot,
ledger_side = IEATools::iea_cols$ledger_side,
international_marine_bunkers = "International marine bunkers",
international_aviation_bunkers = "International aviation bunkers",
balancing_matrix = "B"
)
.tidy_iea_df |
The |
flow, e_dot, ledger_side |
See |
matnames |
The column name of the column having matrices names.
Default is |
international_marine_bunkers |
The name of the international marine bunkers flows in the |
international_aviation_bunkers |
The name of the international aviation bunkers flows in the |
balancing_matrix |
The name of the Balancing matrix. Default is "B". |
See the Balancing matrix vignette for more information.
Note: one needs to add the column containing matrices names first,
most likely using the IEATools::add_psut_matnames()
function.
The new .tidy_iea_df
with international bunkers ascribed to the Balancing matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.