isco_soc_crosswalk: ISCO to SOC crosswalk

View source: R/isco_soc_crosswalk.R

isco_soc_crosswalkR Documentation

ISCO to SOC 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 top 3 ISCO levels to the 4 SOC groups.

Usage

isco_soc_crosswalk(
  data,
  isco_lvl = 3,
  soc_lvl = "soc_2",
  brkd_cols = NULL,
  indicator = FALSE
)

Arguments

data,

data.table with mandatory columns job and value

isco_lvl,

numeric between 1 and 3

soc_lvl,

character taking values from soc_1 to soc_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 SOC occupational group.

References

\insertRef

hardy2018educationaliscoCrosswalks

Examples

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


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