Retrieve data with sectors organised by "Broad sector"
get_broad.sector_data.RdRetrieve data with sectors organised by "Broad sector"
Usage
get_broad.sector_data(
.df,
sex_ilo_col = MWTools::ilo_cols$sex_ilo_col,
sector_col = MWTools::mw_constants$sector_col
)Arguments
- .df
A data frame containing the number of hours worked. Usually produced by calling the
add_hmw_region_codes,fill_ilo_data, andcalc_total_hours_workedfunctions in sequence on the raw FAO data.- sex_ilo_col
See
MWTools::ilo_cols.- sector_col
See
mWTools::mw_constants.
Examples
working_hours_sector_data <- read.csv(file = MWTools::hmw_test_data_path()) %>%
add_hmw_region_codes() %>%
fill_ilo_data() %>%
calc_total_hours_worked() %>%
get_broad.sector_data()