Hey there,
I don't know how to go on and need your help.
I want to get data with the following GetRemoteData-function and the problem are the changing day-ahead values. They should go from 1 to 10 and increase by one after every download. Every download should be an extra data.table and namen by the number of the days ahead. I tried doing this by using a while-loop, but at the end the full table will be overwritten. How can I do this by using apply()?
daysAhead <- 10
i <- 0
while(i <= daysAhead) {
dt.data <- GetRemoteData(source="EQ",v.ids = v.ids,
fromDate = fromDateDP, toDate = toDateDP,
l.eqPars = "days-ahead" = i)
i <- i+1
return(dt.data)
}
Thank you