sc_key: Store Data.gov API key in system environment.

View source: R/api_key.R

sc_keyR Documentation

Store Data.gov API key in system environment.

Description

This function stores your data.gov API key in the system environment so that you only have to load it once at the start of the session. If you set your key using sc_key, then you may omit api_key parameter in the sc_get function.

Usage

sc_key(api_key)

Arguments

api_key

Personal API key requested from https://api.data.gov/signup stored in a string.

Obtain a key

To obtain an API key, visit https://api.data.gov/signup.

Examples

## Not run: 
sc_key('<API KEY IN STRING>')

## End(Not run)


rscorecard documentation built on April 29, 2023, 1:13 a.m.