Skip to contents

This function loads the Auxiliary Classification of Occupations (AuxCO) by reading CSVs from the specified directory, while loading e.g. ids in the correct format. Data is loaded into a named list matching the format expected by other functions in this package.

Usage

load_auxco(dir, add_explanations = TRUE)

Arguments

dir

The path to the directory which holds the CSVs.

add_explanations

Whether explanations should be added to some of the harder to understand task descriptions. Defaults to TRUE.

Value

A list with multiple data.tables.

Details

This package also includes an already loaded version of the auxco, which can be used straight away without calling this function.

See also

https://github.com/occupationMeasurement/auxiliary-classification, auxco

Examples


if (FALSE) { # \dontrun{
# This function expects the CSV files from
# https://github.com/occupationMeasurement/auxiliary-classification/releases/
# to be there.
path_to_auxco <- "auxco"
if (dir.exists(path_to_auxco)) {
  load_auxco(path_to_auxco)
}
} # }