I am trying to pull data from Adobe Analytics using the API in the R package RSiteCatalyst but am having trouble pulling the data directly into R. This is the code I am using:
QueueDataWarehouse('report_suite', Sys.Date()-30, Sys.Date(), c("metric1",
"metric2", "metric3", "metric4"),
c("dimension1"),
date.granularity = "day", data.current = TRUE,
expedite = FALSE,
interval.seconds = 120*60, max.attempts =1 ,
validate = TRUE, enqueueOnly = FALSE)
I have set the interval.seconds to 2 hours because it takes a while to run, just the problem is it always times out. Is there something I am doing wrong here?