Publications by Randy Zwitch
RSiteCatalyst Version 1.4.2 Release Notes
RSiteCatalyst version 1.4.2 is now available on CRAN. This update was primarily bug fixes with one additional feature added.Fixed QueueRanked function to allow multiple SAINT classifications to be specified. This allows for breaking down a SAINT classification with another SAINT classification, such as breaking down tracking codes by marketing ch...
2329 sym 2 img
Review: Data Science at the Command Line
Admission: I didn’t really know how computers worked until around 2012.For the majority of my career, I’ve worked for large companies with centralized IT functions. Like many statisticians, I fell into a comfortable position of learning SAS in a Windows environment, had Ops people to fix any Unix problems I’d run into and DBAs to load data...
5324 sym 2 img
RSiteCatalyst Version 1.4.3 Release Notes
It’s a new year, so…new version of RSiteCatalyst on CRAN! For the most part, this release fixes a handful of bugs that weren’t noticed with the prior release 1.4.2 (oops!), but there are pieces of additional functionality.New functionality: Data Feed monitoringFor those of you having hourly or daily data feeds delivered via FTP, you can now...
3406 sym 6 img
Sessionizing Log Data Using dplyr [Follow-up]
Last week, I wrote a blog post showing how to sessionize log data using standard SQL. The main idea of that post is that if your analytics platform supports window functions (like Postgres and Hive do), you can make quick work out of sessionizing logs. Here’s the winning query:One nested sub-query and two window functions are all it takes to c...
3081 sym 2 img
Sessionizing Log Data Using data.table [Follow-up #2]
Thanks to user dnlbrky, we now have a third way to accomplish sessionizing log data for any arbitrary time out period (see methods 1 and 2), this time using data.table from R along with magrittr for piping:I agree with dnlbrky in that this feels a little better than the dplyr method for heavy SQL users like me, but ultimately, I still think the ...
944 sym
Vega.jl Rebooted – Now with 100% More Pie and Donut Charts!
Mmmmm, chartjunk!Rebooting Vega.jlRecently, I’ve found myself without a project to hack on, and I’ve always been interested in learning more about browser-based visualization. So I decided to revive the work that John Myles White had done in building Vega.jl nearly two years ago. And since I’ll be giving an analytics & visualizati...
3427 sym 4 img
RSiteCatalyst Version 1.4.4 Release Notes
It’s been about six months since the last RSiteCatalyst update, and this update is really just a single bug fix, but a big bug fix at that!Sparse Data = Opaque Error MessagesNumerous people have reported receiving an error message from RSiteCatalyst similar to the following:'names' attribute [1] must be the same length as the vector [0]This is ...
2935 sym R (63 sym/1 pcs) 2 img
Getting Started: Adobe Analytics Clickstream Data Feed
“Well, first you need a TMS and a three-tiered data layer, then some jQuery with a node backend to inject customer data into the page asynchronously if you want to avoid cookie-based limitations with cross-domain tracking and be Internet Explorer 4 compatible…”Blah Blah Blah. There’s a whole cottage industry around jargon-ing each other t...
6577 sym R (318 sym/4 pcs) 2 img
Authenticated API Testing Using Travis CI
As I’ve become more serious about contributing in the open-source community, having quality tests for my packages has been something I’ve spent much more time on than when I was just writing quick-and-dirty code for my own purposes. My most used open-sourced package is RSiteCatalyst, which accesses the Adobe Analytics (authenticated) API, ...
4365 sym 2 img
RSiteCatalyst Version 1.4.5 Release Notes
It’s only been a month since the last RSiteCatalyst update, and this update is also a pretty minor update in terms of functionality.Set Your Own EndpointFor the overseas users (or companies with weird setups), you can now use the endpoint argument in the SCAuth() function to specify your API endpoint. For the most part, this is not recommende...
2538 sym