Skip to contents

Converts occupation codes between the active O*NET-SOC taxonomy and the 2010 SOC taxonomy.

Usage

onet_taxonomy_map(code, from = c("active", "2010"), to = c("2010", "active"))

Arguments

code

An occupation code to convert.

from

Source taxonomy: "active" (current O*NET-SOC) or "2010" (2010 SOC).

to

Target taxonomy: "active" or "2010".

Value

A tibble with mapped occupation codes:

code

Mapped occupation code in target taxonomy

title

Occupation title

Examples

if (FALSE) { # interactive() && nzchar(Sys.getenv("ONET_API_KEY"))
# Map from active O*NET-SOC to 2010 SOC
onet_taxonomy_map("15-1252.00", from = "active", to = "2010")

# Map from 2010 SOC to active O*NET-SOC
onet_taxonomy_map("15-1131.00", from = "2010", to = "active")
}