quandl / quandl-r

This is Quandl's R Package
https://cran.r-project.org/web/packages/Quandl/
Other
139 stars 55 forks source link

Can't retrieve stock information #51

Closed DanielStay closed 7 years ago

DanielStay commented 8 years ago

Hello everyone,

i've been trying to use quandl R today to make a simple request for a certain stock. However the function always returned the error: Error: All components of query must be named. I'm using Quandl version 2.6.0 in RStudio Version 0.99.892

I've authenticated myself with the Quandl.auth function (with my API key): Quandl.auth("")

and requested the following stock:

my data<-Quandl("OPEC/ORB") (from the homepage)

Could you please tell me how I can solve this issue?

DanielStay commented 7 years ago

The Issue has been solved. Quandl.auth("") needed to be changed to Quandl.api_key()

michaelfich commented 7 years ago

Hey Daniel.

Thanks for getting back to us. I’m glad to see you were able to get this issue resolved. If you encounter any further issues, please feel free to reach out again.