The conversion of the ISCO 2008 classification into the ISCO 1988

Description

This function converts occupational codes of the ISCO 2008 classification into the occupational codes of the ISCO 1988 classification on 3 digits

Usage

1

Arguments

ISCO08

The name of the variable containing the ISCO 2008 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

Author(s)

Julie Falcon (University of Lausanne)

References

Documentation on the ISCO 2008 and 1988 can be found on the ILO website:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#load the data
data(data_ISCO2008)

#visualize the data
str(data_ISCO2008)
head(data_ISCO2008)

#check the variable ISCO2008 needed for the conversion
table(data_ISCO2008$ISCO2008)

#Then, you can run the function:
data_ISCO2008 <- convert_from_ISCO08_to_ISCO88_3d(
				 ISCO08=data_ISCO2008$ISCO2008,
				 data=data_ISCO2008)

#Check the created variable:
names(data_ISCO2008)
table(data_ISCO2008$ISCO88_3d)