Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Created February 4, 2014 14:23
Show Gist options
  • Save randyzwitch/8804485 to your computer and use it in GitHub Desktop.
Save randyzwitch/8804485 to your computer and use it in GitHub Desktop.
Example of variable timing on a request call
#Change timing of function call
#Wait 30 seconds between attempts to retrieve the report, try 5 times
queue_overtime_visits_pv_day_social_anomaly2 <- QueueOvertime("production",
"2013-01-01",
"2014-01-28",
c("visits", "pageviews"),
"day",
"Visit_Social",
anomalyDetection = "1",
currentData = "1",
maxTries = 5,
waitTime = 30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment