Data API Workshop

  • UF Informatics Institute

Data science doesn’t work without data! Getting access to and formatting data often the most difficult and time comsuming part of an analysis. Open APIs make data access simpler and faster and understanding how they work will make a world of data availible to you. This workshop uses Python to explore a range of typical data APIs. 

To prepare, please follow the steps below to download the programs and we’ll teach you the rest!

Download and install Anaconda Python distribution for PYTHON 2. WE ARE USING PYTHON 2, NOT PYTHON 3. (this includes Jupyter, a Python interpreter that will allow you to run iPython notebooks) Use this link:https://www.continuum.io/

Download the DataAPIs-Workshop notebooks and files from GitHub. Just click “clone or download” in the top right-hand corner, and select “download zip” Use this link: https://github.com/dsiufl/DataAPIs-Workshop

Open up the Anaconda launcher, the Jupyter page will open in a web browser, and navigate to the location of the downloaded files. Through the Jupyter webpage, you will be able to run the iPython inotebook.

You will also need some additional Python packages. More details about how to install these in Anaconda are coming.

1. census
2. basemap
3. geocoder

Some APIs require API keys (a text string that is issued to you so they can monitor and restrict your usage) which you will need to also obtain before the workshop.

You will need to visit these links to get an API key for the US Census data and for the Google mapping API. Both are free.

1. US Census API key request : http://api.census.gov/data/key_signup.html
2. Google Mapping API key request You should be able to just click the “GET A KEY” button, you don’t need to do the 6-step process. : https://developers.google.com/maps/documentation/geocoding/get-api-key#get-an-api-key