Skip to content

Instantly share code, notes, and snippets.

@swcho
Last active August 26, 2015 13:00
Show Gist options
  • Save swcho/5cf4d16c429a62498dab to your computer and use it in GitHub Desktop.
Save swcho/5cf4d16c429a62498dab to your computer and use it in GitHub Desktop.
Zeppelen Example 1
%sh
mkdir linkage
cd linkage/
wget https://archive.ics.uci.edu/ml/machine-learning-databases/00210/donation.zip
unzip donation.zip
unzip 'block_*.zip'
ls
val rawblocks = sc.textFile("linkage/*.csv")
rawblocks.first
rawblocks.count()
var took10 = rawblocks.take(10)
took10.foreach(println)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment