Learn R Programming

ONETr (version 1.0.3)

socSearch: Searches and pulls occupational data based on SOC code

Description

This function should be used to extract and store data on a specific job for further analysis/manipulation by package functions.

Usage

socSearch(soc)

Arguments

soc
occupation SOC code (if necessary, use keySearch to find SOC code)

Value

A list (parsed from XML) of all existing O*NET data on queried occupation.

Examples

Run this code
  ## Not run: 
#       # You need to set your credentials with setCreds() prior to use.
#       socSearch("19-3031.02")
#   ## End(Not run)

Run the code above in your browser using DataLab