Skip to content

Instantly share code, notes, and snippets.

@mbeltagy
Created July 15, 2017 01:24
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 mbeltagy/14571793cbb7a8d65cd7f3395427af0a to your computer and use it in GitHub Desktop.
Save mbeltagy/14571793cbb7a8d65cd7f3395427af0a to your computer and use it in GitHub Desktop.
Opening up fusion table from Julia
# Reading a fusion table from Julia
using Requests, DataFrames
request_url = "https://www.googleapis.com/fusiontables/v2/query"
query = "SELECT * FROM 1KlX4PFF81wlx_TJ4zGudN_NoV_gq_GwrxuVau_M"
resp=get(request_url,query=Dict("sql"=>query, "key"=>"somekey","alt"=>"csv"))
myTable=readtable(IOBuffer(resp.data));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment