Translate 4-digit ISCO08 to microclass
isco08_to_microclass.Rd
This function translates a vector of 4-digit ISCO08 codes to microclass codes using the translation table stored in all_schema$isco08_to_microclass
.
Arguments
- x
A character vector of 4-digit ISCO codes.
- label
A logical value indicating whether to return the labels of the translated microclass codes (default is
FALSE
).- to_factor
A logical value indicating whether to return a factor instead of a character. The order of the labels is taken from the labels for microclass found in
all_labels
(default isFALSE
).
Details
This translation was created from the Excel file shared by Oscar Smallenbroek called "isco08 to micro with numeric labels.xlsx". For more info, please contact the author.
For more details on this class schema, please check the references below:
Weeden, Kim A., and David B. Grusky. 2005. "The Case for a New Class Map." American Journal of Sociology 111(1):141-212.
—. 2012. "The Three Worlds of Inequality." American Journal of Sociology 117(6):1723-85.
Examples
library(dplyr)
ess %>% transmute(
isco08,
microclasses = isco08_to_microclass(isco08),
microclasses_label = isco08_to_microclass(isco08, label = TRUE)
)
#> # A tibble: 48,285 × 3
#> isco08 microclasses microclasses_label
#> <chr> <chr> <chr>
#> 1 5414 540 Protective services workers
#> 2 1321 132 Manufacturing, mining, construction and distribution man…
#> 3 3135 312 Mining, manufacturing and construction supervisors and p…
#> 4 7131 712 Building finishers and related trades workers
#> 5 6111 611 Market gardeners and crop growers
#> 6 6111 611 Market gardeners and crop growers
#> 7 9313 930 Mining and construction labourers
#> 8 1311 131 Production managers in agriculture, forestry and fisheri…
#> 9 1311 131 Production managers in agriculture, forestry and fisheri…
#> 10 6111 611 Market gardeners and crop growers
#> # ℹ 48,275 more rows