View source: R/combine_iea_mw.R
build_psut_dataframe | R Documentation |
Combines PSUT descriptions based on IEA data exclusively, muscle work data exclusively, and summed IEA and MW data.
build_psut_dataframe(
psutiea = NULL,
psutmw = NULL,
psutieamw = NULL,
country_colname = IEATools::iea_cols$country,
method_colname = IEATools::iea_cols$method,
energy_type_colname = IEATools::iea_cols$energy_type,
last_stage_colname = IEATools::iea_cols$last_stage,
year_colname = IEATools::iea_cols$year,
ieamw_colname = PFUPipeline::ieamw_cols$ieamw,
R_colname = IEATools::psut_cols$R,
U_colname = IEATools::psut_cols$U,
U_feed_colname = IEATools::psut_cols$U_feed,
U_eiou_colname = IEATools::psut_cols$U_eiou,
r_eiou_colname = IEATools::psut_cols$r_eiou,
V_colname = IEATools::psut_cols$V,
Y_colname = IEATools::psut_cols$Y,
S_units_colname = IEATools::psut_cols$s_units,
iea = PFUPipeline::ieamw_cols$iea,
mw = PFUPipeline::ieamw_cols$mw,
both = PFUPipeline::ieamw_cols$both
)
psutiea |
A PSUT data frame of IEA data. Default is |
psutmw |
A PSUT data frame of muscle work data. Default is |
psutieamw |
A PSUT data frame of combined IEA and MW data. Default is |
country_colname, method_colname, energy_type_colname, last_stage_colname, year_colname |
Column names.
See |
ieamw_colname |
The name of the column that identifies whether data are for the IEA,
muscle work (MW) or both.
Default is |
R_colname, U_colname, U_feed_colname, U_eiou_colname, r_eiou_colname, V_colname, Y_colname, S_units_colname |
Names of matrix columns.
See |
iea |
The string that identifies ECC data are from the IEA only.
Default is |
mw |
The string that identifies ECC data are for muscle work only.
Default is |
both |
The string that identifies ECC data are for both IEA and muscle work.
Default is |
A data frame with PSUTIEA
, PSUTMW
, and PSUTIEAMW
rbind()
ed together,
and a new column (IEAMW_colname
) that distinguishes among them.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.