News for hackers. Stuff that matters.
Re:Pharma Paid Physicians $6.5B in 2014 – Looking into the O... by frak_your_couch on Tuesday January 19, 2016 @09:38AM (#10930990)
Shameless plug for a series of blog posts that I wrote in 2014 about this dataset. The aim was to demonstrate how to analyze data with Spark and Python, but probably the most interesting two sections turned out to be Outlier analysis (http://blog.caseystella.com/pyspark-openpayments-analysis-pa...) and Benford's Law analysis (http://blog.caseystella.com/pyspark-openpayments-analysis-pa...)
Re:Pharma Paid Physicians $6.5B in 2014 – Looking into the O... by tmshu1 on Tuesday January 19, 2016 @10:11AM (#10931232)
Super fascinating analysis! I'm a complete newb/just starting to explore all things Spark, what kind of set-up have you found works best? Did you just run Spark locally for your analysis?
Re:Pharma Paid Physicians $6.5B in 2014 – Looking into the O... by frak_your_couch on Wednesday January 20, 2016 @08:48AM (#10937987)
Hey, sorry, got busy yesterday and forgot to respond to this.

Well, I work for a Hadoop distribution, so I may have some biases showing through in my setup. I like to use spark in conjunction with Hadoop; I've never actually used it stand-alone before, honestly. For relational data, I'll ingest into Hive as that allows me to pivot to the right tool for the kind of analysis that I need to do whether it be simple SQL via Hive, something more suited for Pig via HCatalog or Spark via SparkSQL. I'll often do my analysis on a Hortonworks Sandbox for small data like this.

For larger data and a more professional setting, I like to do prototyping/ad hoc investigation/etc in python with pyspark inside of jupyter. Generally that transitions either to Java or just plain python (depending on the degree to which it's difficult to transition).

Anyway, hope that helps! Happy to answer any other questions you might have too. :)

Re:Pharma Paid Physicians $6.5B in 2014 – Looking into the O... by tmshu1 on Wednesday January 20, 2016 @01:27PM (#10940183)
No worries! Gotcha, that is indeed very helpful! I appreciate it, will be in touch if I have more questions in the future :)