set_govinfo_key {govinfoR}R Documentation

Adds api.data.gov key to .Renviron

Description

Adds api.data.gov key to .Renviron

Usage

set_govinfo_key(key, overwrite = FALSE, install = FALSE)

Arguments

key

Character. API key to add.

overwrite

Defaults to FALSE. Boolean. Should existing GOVINFO_KEY in .Renviron be overwritten?

install

Defaults to FALSE. Boolean. Should key be added to '~/.Renviron' file?

Value

key, invisibly

Examples

## Not run: 
  set_govinfo_key("DEMO_KEY")

## End(Not run)

[Package govinfoR version 0.0.3 Index]