Ex_download_course_data

Download course data from ArcGIS open data portal

We are going to use city of Boston’s datasets from its open data portal. Lookup the datasets here: http://bostonopendata-boston.opendata.arcgis.com/datasets/.

You can either download them from the website or run the cells below to download them into your data directory

In [ ]:
import os
from urllib.request import urlretrieve
download_path = '../../datasets' #datasets folder which is two levels up from this current notebook
In [ ]:
download_url = 'http://bostonopendata-boston.opendata.arcgis.com/datasets/6aa4e089f88e46a88caa93b3eee69c10_1.zip'

urlretrieve(download_url, os.path.join(download_path, 'boston_projects.zip'))
In [ ]:
download_url ='http://bostonopendata-boston.opendata.arcgis.com/datasets/cbf14bb032ef4bd38e20429f71acb61a_2.zip'
urlretrieve(download_url, os.path.join(download_path, 'colleges.zip'))
In [ ]: