Created
September 7, 2014 00:24
-
-
Save randyzwitch/e2b2d458c6e56e04e2fa to your computer and use it in GitHub Desktop.
QueuePathing RSiteCatalyst example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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