0
$\begingroup$

I was curious how I would get this same data, but also with a column with a ticker column (e.g. FB)?

OutputSample

https://www.quandl.com/api/v3/datasets/WIKI/FB/data.csv?&start_date=2014-01-01&end_date=2014-12-31&api_key=mykey

$\endgroup$
0
$\begingroup$

One possible solution - You must have ticker list. And you can use "paste" function from R(or concatenation function from the respective software) to do it. Following is the example,

*ticker = c("FB","APPL")

i = 1

Link = paste(paste("https://www.quandl.com/api/v3/datasets/WIKI/", ticker[i], sep = ""), "/data.csv?&start_date=2014-01-01&end_date=2014-12-31&api_key=mykey",sep = "")*

You can generalize it with "for" loop for as many tickers as you want.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.