Description Usage Arguments Author(s) Examples
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.
1 2 3 |
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. |
Johan Junkka johan.junkka@gmail.com
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.