Learn R Programming

ONETr (version 1.0.3)

setCreds: Set O*NET API credentials for functional use

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

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.

Examples

Run this code
    # store API username and password
    setCreds("sampleuser","samplepassword")

Run the code above in your browser using DataLab