View source: R/electricity_heat_output.R
load_electricity_heat_output | R Documentation |
Extract a data frame of electricity and heat output information
load_electricity_heat_output(
.iea_file = NULL,
electricity_output_prefix = IEATools::elec_heat_output$electricity_output_prefix,
heat_output_prefix = IEATools::elec_heat_output$heat_output_prefix,
country = IEATools::iea_cols$country,
year = IEATools::iea_cols$year,
flow = IEATools::iea_cols$flow,
product = IEATools::iea_cols$product,
e_dot = IEATools::iea_cols$e_dot,
input_colname = IEATools::elec_heat_output$input_product,
output_colname = IEATools::elec_heat_output$output_product,
machine_colname = IEATools::template_cols$machine,
unit_colname = IEATools::iea_cols$unit,
unit = "TJ",
electricity = "Electricity",
output_machine_delimiter = IEATools::elec_heat_output$output_machine_delimiter,
total = IEATools::memo_aggregation_product_prefixes$total,
memo = IEATools::memo_aggregation_flow_prefixes$memo
)
.iea_file |
The IEA data file to read |
electricity_output_prefix |
The prefix for electricity output rows.
Default is |
heat_output_prefix |
The prefix for heat output rows.
Default is |
country , year , flow , product , e_dot , unit_colname |
See |
input_colname , output_colname , output_machine_delimiter |
See |
machine_colname |
See |
unit |
The desired output unit. Default is "TJ". Best not to change this. |
electricity |
A string that defines electricity output. Default is "Electricity". |
total |
See |
memo |
See |
A data frame of electricity and heat output data.
sample_iea_data_path() |>
load_electricity_heat_output()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.