esec: Recode occupational characteristics to ESeC.

Description Usage Arguments Value Examples

View source: R/recode.r

Description

recode provides an uniform function for converting to and from different occupational and stratification schemas.

Usage

1
  esec(data, detail = 0, labels = FALSE)

Arguments

data

a single value, vector or dataframe containing occupational or stratification data that one wishes to recode. See Details.

detail

a string indicating the input format. See Details for possible values.

labels

the level of detail in returned classfication. The default of 0 returns the most detailed form.

Value

vector of ESeC codes/labels

Examples

1
2
isco <- c(1200, 3131, 9110)
esec(isco, details=3, labels=TRUE)

mhermans/strat documentation built on May 25, 2019, 10:30 p.m.