get_isco_code {iscoCrosswalks} | R Documentation |
Get ISCO code
Description
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 |
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)])
[Package iscoCrosswalks version 1.0.0 Index]