View source: R/fmp_set_api_key.R
fmp_set_api_key | R Documentation |
This function prompts the user to input their Financial Modeling Prep (FMP)
API key and saves it to a .Renviron
file, either in the project directory
or the home directory. It also gives the user the option to add .Renviron
to .gitignore
for security purposes.
fmp_set_api_key()
Invisibly returns TRUE
after saving the key or aborting the
operation. The function will read the .Renviron
file after saving,
allowing the environment variables to be immediately available. A restart of
the R session is recommended.
fmp_set_api_key()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.