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

Description Usage Arguments Obtain a key Examples

View source: R/api_key.R

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

1
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

1
2
3
4
## Not run: 
sc_key('<API KEY IN STRING>')

## End(Not run)

btskinner/rscorecard documentation built on Nov. 3, 2018, 11:28 p.m.