Going through a basic tutorial on bringing in data from
a URL in Python. So far, I've imported Citi Bike station data and
converted the JSON file to a Python dictionary named
datadict...
import requests
response =
requests.get("https://gbfs.citibikenyc.com/gbfs/en/station_information.json")
if response.status_code != 200:
print("Error with website. If problem persists, contact your
Facilitator!")
else:
print("Data download successful")
datadict = response.json()
print(datadict.keys())
print(datadict['data'].keys())
datadict['data']['stations']
The task is to now...
In the code cell
below, write and evaluate code to extract the latitude and...