Also available at: https://carlosvega.github.io/MadridPollutionData/
Starting October 2017, the data format has changed. More info here.
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.
- 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
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.
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.