View source: R/isco_soc_crosswalk.R
isco_soc_crosswalk | R Documentation |
The 2010 Standard Occupational Classification (SOC) and the International Standard Classification of Occupations (ISCO-08) are compared. To make the crosswalk more straightforward and hence more useful, the notion of parsimony was applied. This means that while a task completed in the SOC may appear in numerous ISCOs (or vice versa), the match in some of these instances is just coincidental and adds unneeded complexity. This function allows mapping of data from the top 3 ISCO levels to the 4 SOC groups.
isco_soc_crosswalk( data, isco_lvl = 3, soc_lvl = "soc_2", brkd_cols = NULL, indicator = FALSE )
data, |
data.table with mandatory columns |
isco_lvl, |
numeric between 1 and 3 |
soc_lvl, |
character taking values from |
brkd_cols, |
character vector with col names of stratification variables |
indicator, |
Boolean indicating if data describe an indicator. If |
data.table
with the estimated values for the requested SOC
occupational group.
hardy2018educationaliscoCrosswalks
library(iscoCrosswalks) library(data.table) #from ISCO level 3 group to soc_1 occupations path <- system.file("extdata", "isco_3_brkdwn_example.csv", package = "iscoCrosswalks") dat <- fread(path) isco_soc_crosswalk(dat, isco_lvl = 3, soc_lvl = "soc_1", brkd_cols = "gender")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.