Description Usage Arguments Author(s) References Examples
The function recodes the Oesch class schema from ISCO 1988 codes and a variable specifying the employment status of the corresponding occupation reported. Please note that this function does NOT uses an educational variable to construct the Oesch class schema
1 2 | recode_from_ISCO88_to_Oesch(ISCO88, EMP_STA, SE_zero_emp, SE_one_to_nine_emp,
SE_ten_plus_emp, not_SE, data)
|
ISCO88 |
The name of the variable containing ISCO 1988 codes, ideally coded on 4 digits, although the function also supportes variables coded on 3 digits, and even on 2 digits |
EMP_STA |
The name of the variable containing the corresponding employment status of the occupation. This variable must specify for the self-employed the number of employee they employ. Ideally, this number should be coded in the form of a continuous variable, although in some surveys it takes the form of a categorical variable. It must also have a modality for those who are not self-employed. What is important is to be able to distinguish:
|
SE_zero_emp |
Indicate here the modality corresponding to the self-employed without employee |
SE_one_to_nine_emp |
Indicate here the modality / modalities corresponding to the self-employed with one to nine employee-s |
SE_ten_plus_emp |
Indicate here the modality / modalities corresponding to the self-employed with ten or more employees |
not_SE |
Indicate here the modality corresponding to those who are not self-employed (i.e. most likely those who are employees if they declared an occupation) |
data |
The name of the dataset |
Julie Falcon (University of Lausanne)
The Oesch class schema was constructed by Daniel Oesch. Theoretical foundations and empirical assessment of it can be found in the following publication:
Oesch, Daniel. 2006. Redrawing the class map: stratification and institutions in Britain, Germany, Sweden and Switzerland. Basingstoke: Palgrave Macmillan
He also published an article which relates to the book:
Further information can also be found on Daniel Oesch's website:
http://people.unil.ch/danieloesch/socialclasssyntax/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #load the data
data(data_MCH2007)
#visualize the data
str(data_MCH2007)
head(data_MCH2007)
#check the variables needed for social position coding
table(data_MCH2007$nb_emp_SE,useNA="always")
table(data_MCH2007$iscoR,useNA="always")
#Then, you can run the function:
data_MCH2007 <- recode_from_ISCO88_to_Oesch(
ISCO88=data_MCH2007$iscoR,
EMP_STA=data_MCH2007$nb_emp_SE,
SE_zero_emp=0,
SE_one_to_nine_emp=1:9,
SE_ten_plus_emp=10:100,
not_SE=NA,
data=data_MCH2007)
#Three variables were created:
names(data_MCH2007)
head(data_MCH2007)
table(data_MCH2007$Oesch17,useNA="always")
table(data_MCH2007$Oesch8,useNA="always")
table(data_MCH2007$emplnum,useNA="always")
#If you don't need the 'emplnum' variable, you can delete it by writing:
data_MCH2007$emplnum <- NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.