If no key is provided, will look in the environment variable "QUANDL_API_KEY". If none found, will error.
quandl_key_set(api_key = NULL)
api_key | <character(1)> Quandl-provided API key for a registered account. |
---|
<character(1)
> the key, invisibly.
Setting a key is necessary for almost all calls to Quandl. All registered accounts get a key, even those not subscribing to paid bundles. Find your key in your account settings.
quandl_key_set("this-ismykey") # if you set your key in the "QUANDL_API_KEY" environment variable, that will # be used automatically quandl_key_set()