convert_from_ISCO08_to_ISCO88_3d: The conversion of the ISCO 2008 classification into the ISCO...

Description Usage Arguments Author(s) References Examples

View source: R/convert_from_ISCO08_to_ISCO88_3d.R

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)

SocialPosition documentation built on May 19, 2017, 10:28 p.m.

Search within the SocialPosition package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.