dwp_api_key: DWP API Key

Description Usage Arguments Details

View source: R/api_key.R

Description

Assign or reassign API key for the Stat-Xplore API.

Usage

1
dwp_api_key(check_env = FALSE)

Arguments

check_env

If TRUE, will check the environment variable DWP_API_KEY first before asking for user input.

Details

By default, dwpstat will look for the environment variable DWP_API_KEY when the package is loaded. If found, the API key will be stored in the session option DWP.API.key. If you would like to reload the API key or would like to manually enter one in, this function may be used.

You can sign up for an API key here.


evanodell/dwpstat documentation built on Feb. 14, 2020, 3:54 p.m.