hisco_to_ses: Hisco to SES classification

Description Usage Arguments Author(s) Examples

Description

Function to classify historical occupations coded in HICSO (Historical International Standard Classification of Occupations) to HISCLASS 12, HISCLASS 5, SOCPO or HISCAM social class systems.

Usage

1
2
3
hisco_to_ses(x, ses = c("hisclass", "hisclass_5", "socpo", "hiscam_u1",
  "all"), status = NULL, relation = NULL, product = NULL, label = FALSE,
  name = "hisco", reference = NULL, messages = FALSE)

Arguments

x

a vector of HISCO codes, a path to a csv file or data.frame that holds HISCO and optional STATUS, RELATION and PRODUCT mappigns

ses

ouput SES system

status

name of STATUS variable or vector of STATUS codes

relation

name of RELATION variable or vector of RELATION codes

product

name of PRODUCT variable or vector of PRODUCT codes

label

logical. TRUE will display label for SES such as "Forman". FALSE will display the SES as a numeric code.

name

character. Used when input is a data.frame to specify the name of the column containing hisco codes.

reference

character. Path to a csv file containing a reference table.

messages

Print summary statistics on classification result.

Author(s)

Johan Junkka johan.junkka@gmail.com

Examples

1
2
3
4
hisco_codes <- c(22670, 22675, 22680, 22690, 30000, 31000, 31020,
                 31030, 31040)
hisco_to_ses(hisco_codes)
hisco_to_ses(hisco_codes, ses = "socpo", label = TRUE)

cedarfoundation/hisco documentation built on May 13, 2019, 2:51 p.m.