Skip to content

Instantly share code, notes, and snippets.

@sergiolucero
Created July 22, 2017 21:21
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 sergiolucero/d8a8544736187e097ff5a7832ba0b9fa to your computer and use it in GitHub Desktop.
Save sergiolucero/d8a8544736187e097ff5a7832ba0b9fa to your computer and use it in GitHub Desktop.
Open Air Quality
import openaq
api=openaq.OpenAQ()
api.cities(country='CL',limit=10)
api.latest(city='Antofagasta', df=True)
df_pm10 = api.measurements(city='Andacollo',location='Hospital',parameter='pm10',df=True,limit=10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment