Adds column of ISCO code for a particular job title. Job titles should be given in the preferred label of the ISCO classification.
Arguments
- data,
data.table with a column named as
job
- lvl,
numeric value indicating the ISCO taxonomy
Examples
library(iscoCrosswalks)
# add mandatory column
dat <- foundation_skills[, .(job = preferredLabel, Skill, Value)]
res <- get_isco_code(dat, lvl = 1)
head(res[, .(code, Skill, Value)])
#> code Skill Value
#> 1: 4 Foreign language skills 8.40
#> 2: 4 ICT 80.56
#> 3: 4 Literacy 51.51
#> 4: 4 Numeracy 26.30
#> 5: 7 Foreign language skills 4.59
#> 6: 7 ICT 34.80