Skip to content

carlosvega/MadridPollutionData

Repository files navigation

Also available at: https://carlosvega.github.io/MadridPollutionData/

UPDATE

Starting October 2017, the data format has changed. More info here.

MadridPollutionData

Assignment for coursera's course "Applied Plotting, Charting & Data Representation in Python" The data used is given by the City of Madrid through their open data portal but as a way to facilitate the access to the used data, the curated information used in this project is available in this very repository. In this file, the information from the years 2000-2016 have been filtered leaving just the data from the station 28079004 corresponding to Plaza de España in Madrid.

Instructions

  • Requires python3
git clone https://github.com/carlosvega/MadridPollutionData.git MadridPollutionData
cd MadridPollutionData
./install.sh
source .env/bin/activate
jupyter notebook
  • Open the notebook Pollution_data_of_Madrid.ipynb To deactivate the virtualenv do deactivate in the terminal

Liability disclaimer

Just glue-code, not the best way to do it, for sure. Just sample charts, not responsible if the data is being plotted incorrectly. These examples have not been thoroughly tested under all conditions. All programs contained herein are provided to you “AS IS” without any warranties of any kind.

Description

Two charts are plotted from the data. The original source of the data is the City of Madrid and is available openly and for free. The information for the interpretation of the data is also available in the website of the City of Madrid in its spanish version.

First chart

95th Percentile NO2 levels during different hours of the day \n for the years 2000-2016

Second chart

NO2 levels during different hours of the day\nusing data from the years 2000-2016

About

Assignment for the course "Applied Plotting, Charting & Data Representation in Python"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published