Skip to content

Instantly share code, notes, and snippets.

View chicofish's full-sized avatar

Fred Smith chicofish

View GitHub Profile
@chicofish
chicofish / rsitecatalyst-sankey-one-page.R
Created January 27, 2017 21:17 — forked from randyzwitch/rsitecatalyst-sankey-one-page.R
RSiteCatalyst Sankey Diagram - Single Page to Multiple Pages
View rsitecatalyst-sankey-one-page.R
library("RSiteCatalyst")
library("d3Network")
#### Authentication
SCAuth("key", "secret")
#### Get Pathing data: Single page, then ::anything:: pattern
pathpattern <- c("http://randyzwitch.com/big-data-hadoop-amazon-ec2-cloudera-part-1", "::anything::")
next_page <- QueuePathing("zwitchdev",
"2014-01-01",