setCreds: Set O*NET API credentials for functional use

Description Usage Arguments Value Author(s) Examples

Description

This function allows you to store your O*NET API HTTPS credentials for easy authentication when calling package functions. This function must be used before any other function in the package.

Usage

1
setCreds(user, pass)

Arguments

user

O*NET API developer username (for the HTTPS API)

pass

O*NET API developer password (for the HTTPS API)

Value

An list to store the API username and password for access by the package functions.

Author(s)

Eric Knudsen

Examples

1
2
    # store API username and password
    setCreds("sampleuser","samplepassword")

Example output

Loading required package: XML
Loading required package: RCurl
Loading required package: bitops
Loading required package: plyr
API credentials saved. You may now use package functions.

ONETr documentation built on May 2, 2019, 6:46 a.m.