setCreds: Set O*NET API credentials for functional use

Description Usage Arguments Value Author(s) Examples

View source: R/setCreds.R

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")

eknud/ONETr documentation built on June 19, 2021, 5:25 p.m.