Coder Social home page Coder Social logo

carlosvega / madridpollutiondata Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 50.4 MB

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

License: MIT License

Jupyter Notebook 99.98% Shell 0.02%
pollution-levels madrid spain matplotlib city python chart

madridpollutiondata's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.