api_key | R Documentation |
This package will need a Weather API key residing in the environment
variable API_KEY
. Set it in the .Renviron
file in the home directory.
See vignette for more details on how to set up the API key.
api_key(force = FALSE)
force |
A boolean to force set new API key for current environment. To force set a new API key set it to TRUE, the default value is FALSE. |
A vector containing the API key
# api_key() # To display API Key that was set in the .Renviron file # api_key(force=TRUE) # To change the API key, see vignette for details
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.