Description Usage Arguments Examples
This function will add your FMP API key to your .Renviron
file
so it can be called securely without being stored in your code.
After you have installed your key, it can be called any time by
typing Sys.getenv('FMP_API_KEY')
.
1 | fmp_api_key(key, install = TRUE, overwrite = FALSE, fmpcloud_access = FALSE)
|
key |
|
install |
|
overwrite |
|
fmpcloud_access |
logical. Is this key additionally activated on the 'fmpcloud.io' server?
default is |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
key <- "my_api_key"
fmp_api_key(key)
# first time, either reload your environment or restart R
# reload environment with the following
readRenviron("~/.Renviron")
# you can check it with:
Sys.getenv("FMP_API_KEY")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.