load_auxco {occupationMeasurement} | R Documentation |
Load AuxCO from a directory of CSV files
Description
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. |
Details
This package also includes an already loaded version of the auxco, which can be used straight away without calling this function.
Value
A list with multiple data.tables.
See Also
https://github.com/occupationMeasurement/auxiliary-classification, auxco
Examples
## Not run:
# 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)
}
## End(Not run)
[Package occupationMeasurement version 0.3.2 Index]