Store the ‘twelvedata’ API key
store_key(apikey)
A character variable with the API key
TRUE
is return invisibly but the function is invoked for the
side effect of storing the API key.
An API key is required to access the functionality offered by the
‘twelvedata’. This function can store a copy in a per-user
configuration file. It relies on a the base R function R_user_dir
which offers a per-user configuration directory for the package. No
file or directory permissions are set explicitly or changed. As an
alternative the key can also be set in the environment variable
TWELVEDATA_API_KEY
but doing so is the responsibility of the user.