Calculate primary, final, and useful human muscle work.
calc_hmw_pfu.Rd
Calculate primary, final, and useful human muscle work.
Usage
calc_hmw_pfu(
.df,
concordance_path = MWTools::fao_concordance_path(),
hmw_analysis_data_path = MWTools::hmw_analysis_data_path()
)
Arguments
- .df
The raw ILO data, retrieved from ILOSTAT.
- concordance_path
The path to the muscle work concordance information.
- hmw_analysis_data_path
The path to the human muscle work analysis data.
Examples
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)
pfu_energy_data <- hmw_data |>
calc_hmw_pfu()