Translate 4-digit ISCO08/ISCO88/ISCO68 to ISEI
isco08_to_isei.Rd
This function translates a vector of 4-digit ISCO08/ISCO88/ISCO68 codes to ISEI codes using the translation tables stored in all_schema$isco08_to_isei / all_schema$isco88_to_isei / all_schema$isco68_to_isei
.
Usage
isco08_to_isei(x, to_factor = FALSE)
isco88_to_isei(x, to_factor = FALSE)
isco68_to_isei(x, to_factor = FALSE)
Arguments
- x
A character vector of 4-digit ISCO codes.
- to_factor
A logical value indicating whether to return a factor instead of a character. The order of the labels is taken from the sorted codes of ISEI in
all_schemas$isco08_to_isei
,all_schemas$isco88_to_isei
andall_schemas$isco68_to_isei
.
Details
This translation was taken from the iscogen
Stata package. For more details, check out the package documentation and search for ISCO08/ISCO88/ISCO88 -> ISEI
.
Since ISEI
doesn't have any labels, the labels
is not availabe in this function.
For more information on this class schema, please check the references below:
Ganzeboom, H.B.G. (2010) International Standard Classification of Occupations. ISCO-08. With ISEI-08 scores. Last revised: July 27 2010. Available from http://www.harryganzeboom.nl/isco08/.
Ganzeboom, H.B.G., D.J. Treiman (1996) Internationally Comparable Measures of Occupational Status for the 1988 International Standard Classification of Occupations. Social Science Research 25: 201-239.
Resource websites of the International Socio-economic Index (ISEI):
Examples
library(dplyr)
ess %>%
transmute(
isco08,
isco88,
isco68,
isei_08 = isco08_to_isei(isco08),
isei_88 = isco88_to_isei(isco88),
isei_68 = isco68_to_isei(isco68)
)
#> # A tibble: 48,285 × 6
#> isco08 isco88 isco68 isei_08 isei_88 isei_68
#> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 5414 5169 5890 27 40 35
#> 2 1321 1222 2120 63 67 67
#> 3 3135 8120 7200 37 30 34
#> 4 7131 7141 9310 33 29 32
#> 5 6111 6111 6220 16 23 16
#> 6 6111 6111 6220 16 23 16
#> 7 9313 9313 9595 22 21 24
#> 8 1311 1221 6000 60 67 46
#> 9 1311 1221 6000 60 67 46
#> 10 6111 6111 6220 16 23 16
#> # ℹ 48,275 more rows