View source: R/soc_isco_crosswalk.R
soc_isco_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 4 SOC groups to the 4 ISCO levels.
soc_isco_crosswalk( data, soc_lvl, isco_lvl, brkd_cols = NULL, indicator = FALSE )
data, |
data.table with mandatory columns |
soc_lvl, |
character taking values from |
isco_lvl, |
numeric between 1 and 4 |
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 ISCO
occupational level.
hardy2018educationaliscoCrosswalks
library(iscoCrosswalks) library(data.table) #from soc_3 group to ISCO level 1 occupations path <- system.file("extdata", "soc_3_brkdwn_example.csv", package = "iscoCrosswalks") dat <- fread(path) soc_isco_crosswalk(dat, soc_lvl = "soc_3", isco_lvl = 1, brkd_cols = "gender")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.