soc_isco_crosswalk: SOC to ISCO crosswalk

View source: R/soc_isco_crosswalk.R

soc_isco_crosswalkR Documentation

SOC to ISCO crosswalk

Description

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.

Usage

soc_isco_crosswalk(
  data,
  soc_lvl,
  isco_lvl,
  brkd_cols = NULL,
  indicator = FALSE
)

Arguments

data,

data.table with mandatory columns job and value

soc_lvl,

character taking values from soc_1 to soc_4

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 TRUE the mean value is computed, otherwise the sum by each breakdown group.

Value

data.table with the estimated values for the requested ISCO occupational level.

References

\insertRef

hardy2018educationaliscoCrosswalks

Examples

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")

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