Learn R Programming

SocialPosition (version 1.0.1)

recode_from_ISCO88_to_ISEI: The recoding of the ISEI index from ISCO 1988 codes

Description

This function recodes the International Socio-Economic Index of Occupational Status (ISEI) from ISCO 1988 codes

Usage

recode_from_ISCO88_to_ISEI(ISCO88, data)

Arguments

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
data
The name of the dataset

References

The ISEI index was constructed by Harry Ganzeboom, Paul De Graaf and Donald Treiman. Please refer to the following article to find out more about this index and to cite it: Ganzeboom, H.B.G. De Graaf, P.M. & Treiman, D.J. (1992): A Standard International Socio-Economic Index of Occupational Status. Social Science Research 21 (1), 1-56

The function was constructed from Harry Ganzeboom's SPSS syntax available on his website:

http://www.harryganzeboom.nl/isco88/index.htm

This syntax is part of the "International Stratification and Mobility File" project which provides several social position conversion tools in SPSS format:

Ganzeboom, Harry B.G.; Treiman, Donald J., 'International Stratification and Mobility File: Conversion Tools'

Examples

Run this code
#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$iscoR,useNA="always")

#Then, you can run the function:
data_MCH2007 <- recode_from_ISCO88_to_ISEI(
				ISCO88=data_MCH2007$iscoR, 
				data=data_MCH2007) 

#Check the variable created:
names(data_MCH2007)
head(data_MCH2007)
table(data_MCH2007$ISEI,useNA="always")

Run the code above in your browser using DataLab