ONETr is a package for R that facilitates interaction with the O*NET™ API. The functions can perform searches of the occupational data based on keywords or O*NET™-SOC codes, and parse the XML output into a list
object. Then, individual functions can extract specific data as desired (see ONETr manual for more information).
This software is released under the GPL-3 license.
Note: User must be registered for an account with O*NET™ Web Services and have login credentials (specifically, a username and password) for the API.
Install from CRAN: install.packages("ONETr")
or
Install from GitHub:
RCurl
, XML
, and plyr
) and devtools
package: install.packages("RCurl","XML”,”plyr”,”devtools")
.library(devtools)
to prepare for GitHub installation.install_github("eknud/ONETr")
to install the ONETr package.To use the package:
library(ONETr)
setCreds("username","password")
keySearch
and socSearch
to search for and store occupational data.socSearch
), all package functions should now be equipped to run. Read ONETr manual for detailed description of each function.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.