Skip to content

Instantly share code, notes, and snippets.

@ogkennyhobo
ogkennyhobo / gist:409504850e87ab29f6cc
Created April 25, 2015 18:09
In Julia (using components from Python, of course!)
using JSON
jsonhttp = "https://gist.githubusercontent.com/jorin-vogel/7f19ce95a9a842956358/raw/e319340c2f6691f9cc8d8cc57ed532b5093e3619/data.json"
x = JSON.parsefile(download(jsonhttp))
f = open(strftime("%Y%m%d",time())*".csv","w")
write(f,"name,creditcard\r\n")
for xel in x
if !isa(xel["creditcard"],Nothing)