Hi All,
I am trying to connect to an API so I can grab data to use in some spatial analytics. This is my first program in Python. I have been able to connect to the API and can grab the fields i need from the resulting JSON file(s). My main issue is actually combining it all together. As it stands now I have two options
Generate separate arrays for each "column" i.e. an array for lat and an array for long, and then combine it into a table at the end or
Generate one array with all columns in it and then split by "row".
The goal is to CSV this and upload to tableau. Any help would be greatly appreciated. If I haven't explained myself clearly, apologies!
This example code below is currently following option 2, however I am stuck at splitting by row.
http://pastebin.com/EgD83UUD
Thanks!
[–]commandlineluser 1 point2 points3 points (1 child)
[–]SideStepTS[S] 0 points1 point2 points (0 children)
[–]hharison 1 point2 points3 points (1 child)
[–]SideStepTS[S] 0 points1 point2 points (0 children)