Skip to content

Instantly share code, notes, and snippets.

@oeon
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save oeon/b9ce171d4c25fc6ed03b to your computer and use it in GitHub Desktop.

Select an option

Save oeon/b9ce171d4c25fc6ed03b to your computer and use it in GitHub Desktop.
OpenRefine, Data Science Toolkit quick notes
Paul's post: http://padaba.com/dst.or/
load raw txt into google refine
check “parse next”
(I can’t get a comma between City, State)
AddrFull
cells["ADDRESS"].value+cells["CITY"].value+cells["ST"].value
www.datasciencetoolkit.org/developerdocs#vagrant
'http://localhost:8080/maps/api/geocode/json?sensor=false&address=' + escape(value, 'url')'
with(value.parseJson().results[0].geometry.location, pair, pair.lat)
with(value.parseJson().results[0].geometry.location, pair, pair.lng)
Errors in file 14-RAW-VendorData-txt.csv
223 records discarded due to missing geometry definitions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment