get_isco_code: Get ISCO code

View source: R/get_isco_code.R

get_isco_codeR 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 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)])

iscoCrosswalks documentation built on May 17, 2022, 5:05 p.m.