Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Created August 14, 2013 17:58
Show Gist options
  • Save randyzwitch/6233686 to your computer and use it in GitHub Desktop.
Save randyzwitch/6233686 to your computer and use it in GitHub Desktop.
Adobe Analytics Anomaly Detection
#Run until version > 1.0 on CRAN
library(devtools)
install_github("RSiteCatalyst", "randyzwitch", ref = "master")
#Run if version >= 1.1 on CRAN
library("RSiteCatalyst")
#API Authentication
SCAuth(<username:company>, <shared_secret>)
#API function call
pageviews_w_forecast <- QueueOvertime(reportSuiteID=<report suite>, dateFrom = "2013-06-01", dateTo="2013-08-13", metrics = "pageviews", dateGranularity="day", anomalyDetection="1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment