set_datagov_key: Set Data.gov Key as an Environmental Variable

View source: R/setup.R

set_datagov_keyR Documentation

Set Data.gov Key as an Environmental Variable

Description

This function provides a way to store the Data.gov API key as an environmental variable for convenience when working with this package. If you run this function, you will not have to supply the API key every time you use a function that retrieves data from Regulations.gov. Otherwise, you will need to supply the API key when needed through the key argument.

Usage

set_datagov_key(key)

Arguments

key

valid Data.gov API key obtained here.

Examples

## Not run: 
set_datagov_key("PUT_KEY_HERE")

## End(Not run)

q-w-a/regulationsgov documentation built on May 3, 2022, 8:23 p.m.