specify_fu_machines | R Documentation |
Final-to-useful industries should be named as "Industry -> Product". This function renames final-to-useful industries (in this case, species) to the desired form.
specify_fu_machines(
.df,
product = MWTools::mw_cols$product,
stage = MWTools::mw_constants$stage_col,
concordance_species = MWTools::conc_cols$species,
final = MWTools::all_stages$final,
useful = MWTools::all_stages$useful,
product_notation = RCLabels::from_notation,
machine_notation = RCLabels::arrow_notation
)
.df |
A data frame, likely the output of |
product , stage |
See |
concordance_species |
See |
final , useful |
See |
product_notation |
The notation for products. Default is |
machine_notation |
The notation for machines. Default is |
A data frame in which final-to-useful machines are specified.
ilo_working_hours_data <- read.csv(file = MWTools::ilo_working_hours_test_data_path())
ilo_employment_data <- read.csv(file = MWTools::ilo_employment_test_data_path())
hmw_data <- prepareRawILOData(ilo_working_hours_data = ilo_working_hours_data,
ilo_employment_data = ilo_employment_data)
hmw_df <- hmw_data %>%
calc_hmw_pfu()
amw_df <- amw_test_data_path() %>%
read.csv() %>%
calc_amw_pfu()
specify_energy_type_method(hmw_df, amw_df) %>%
specify_product() %>%
MWTools::specify_primary_production() %>%
specify_useful_products() %>%
specify_fu_machines()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.