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)

Arguments

api_key

<character(1)> Quandl-provided API key for a registered account.

Value

<character(1)> the key, invisibly.

Details

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.

References

API documentation

Examples

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()