calc_global_exports: Calculates global exports by product

View source: R/transform_helpers.R

calc_global_exportsR Documentation

Calculates global exports by product

Description

The function calculates global exports by product.

Usage

calc_global_exports(
  .tidy_iea_df,
  flow = IEATools::iea_cols$flow,
  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,
  product = IEATools::iea_cols$product,
  e_dot = IEATools::iea_cols$e_dot,
  exports = IEATools::interface_industries$exports,
  Global_Exports_By_Product = "Global_Exports_By_Product"
)

Arguments

.tidy_iea_df

The .tidy_iea_df for which global exports by product need to be calculated.

flow, method, energy_type, last_stage, year, ledger_side, flow_aggregation_point, product, e_dot

See IEATools::iea_cols.

exports

The name of exports flows in the .tidy_iea_df. Default is IEATools::interface_industries$exports.

Global_Exports_By_Product

The name of the column containing global exports by product.

Value

A data frame reporting global exports by product.

Examples

tidy_AB_data %>%
calc_global_exports() %>%
print()

earamendia/ECCTools documentation built on May 12, 2023, 2:12 a.m.