Description Usage Details Value Examples
Retrieves API key from environment if available.
1 |
An API key is required to use the functions in caRecall
and query the
Vehicle Recalls Database. The key can be acquired at
https://tc.api.canada.ca/en/detail?api=VRDB.
The key can be set in the environment using
Sys.setenv(VRD_API = 'your_API_key_here')
. Alternatively, instead of
setting the API key in the environment, the key can be passed into the
functions as an argument.
VRD_API access key if set in environment. If access key is not available, returns an error that the API key is not found and needs to either be set in the environment or passed as an argument into functions.
1 2 3 4 | ## Not run:
get_vrd_key()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.