Skip to contents

Adds column of ISCO code for a particular job title. Job titles should be given in the preferred label of the ISCO classification.

Usage

get_isco_code(data, lvl = 3)

Arguments

data,

data.table with a column named as job

lvl,

numeric value indicating the ISCO taxonomy

Value

data.table of input data with one extra column named as code

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