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.
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.
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
data.table::setDTthreads(1)
if (FALSE) {
# 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)
}
}