Description Usage Arguments Details Value
View source: R/legiscan_api_key.R
Get or set the LegiScan API key for the current session. To request for an API key from LegiScan, go to https://legiscan.com/legiscan.
1 | legiscan_api_key(set_new = FALSE)
|
set_new |
Set a new LegiScan API key for the current environment. Default is FALSE. |
The API wrapper functions in this package will look for a LegiScan API
key residing in the environment variable LEGISCAN_API_KEY
. Call this
function at the beginning of a new session to set the key for the current R session.
Or enter 'file.edit("~/.Renviron")
' in the console and make this edit to the file
'LEGISCAN_API_KEY = "you_api_key"
' to set key on your local machine.
atomic character vector containing the LegiScan API key
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.