Skip to content

Instantly share code, notes, and snippets.

@aborruso
Created December 21, 2014 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aborruso/058c91f72689020c99e8 to your computer and use it in GitHub Desktop.
Save aborruso/058c91f72689020c99e8 to your computer and use it in GitHub Desktop.

Trasformare i digital champions in GEO Digital Champions

Requiremenst: curl, csvkit & jq

Comando:

curl -s "http://digitalchampions.it/?geo_mashup_content=geo-query&map_name=gm-map" | in2csv -k objects | csvjson --lat lat --lon lng | jq . > dc.json

L'output è quello di sotto (manca un po' di pulizia nel campo terms/category)

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment