Skip to contents

Calc...

Usage

calc_total_hours_worked(
  .df,
  yearly_working_hours_ilo_col = MWTools::ilo_cols$yearly_working_hours_ilo_col,
  employed_persons_ilo_col = MWTools::ilo_cols$employed_persons_ilo_col,
  total_wk_hrs_ilo_col = MWTools::hmw_analysis_constants$total_wk_hrs_ilo_col
)

Arguments

.df

The ILO labor data filled (held constant back to 1960 from the earliest year of data). Usually produced by calling the add_hmw_region_codes, and fill_ilo_data functions in sequence on the raw FAO data.

yearly_working_hours_ilo_col, employed_persons_ilo_col

See MWTools::ilo_cols.

total_wk_hrs_ilo_col

See MWTools::hmw_analysis_constants

Examples

working_hours_data <- read.csv(file = MWTools::hmw_test_data_path()) %>%
  add_hmw_region_codes() %>%
  fill_ilo_data() %>%
  calc_total_hours_worked()