getPVS_key: Get user's Project Vote Smart API key.

Description Usage Author(s) Examples

Description

This function checks for a "pvs.key" option. If the option exists, its stored value is presumed to be the API key. If the option doesn't exist, the function checks the global environment for a pvs.key variable and uses it as the API key. The function returns the key as a character string.

Usage

1

Author(s)

John Bullock <john@johnbullock.org>

Examples

1
2
## Not run: options("pvs.key" = "yourkey") 
## Not run: pvs.key <- "yourkey"

umatter/pvsR documentation built on Jan. 9, 2021, 4:35 p.m.