Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Created September 7, 2014 00:24
Show Gist options
  • Save randyzwitch/e2b2d458c6e56e04e2fa to your computer and use it in GitHub Desktop.
Save randyzwitch/e2b2d458c6e56e04e2fa to your computer and use it in GitHub Desktop.
QueuePathing RSiteCatalyst example
library("RSiteCatalyst")
library("d3Network")
#### Authentication
SCAuth("username", "secret")
#### Get Pathing data using ::anything:: wildcards
# Results are limited by the API to 50000
pathpattern <- c("::anything::", "::anything::")
queue_pathing_pages <- QueuePathing("zwitchdev",
"2014-01-01",
"2014-08-31",
metric="pageviews",
element="page",
pathpattern,
top = 50000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment