https://github.com/robmarkcole/london-air-quality
Queries the London air quality data feed provided by Kings College London
https://github.com/robmarkcole/london-air-quality
Last synced: about 1 year ago
JSON representation
Queries the London air quality data feed provided by Kings College London
- Host: GitHub
- URL: https://github.com/robmarkcole/london-air-quality
- Owner: robmarkcole
- License: mit
- Created: 2019-09-26T06:38:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-26T12:06:10.000Z (over 6 years ago)
- Last Synced: 2025-03-25T00:07:46.539Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 56.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/ambv/black)
[](https://pypi.org/project/london-air-quality/)
# London-Air-Quality
Queries the London air quality data feed provided by Kings College London via [Londonair.org](https://www.londonair.org.uk/LondonAir/Default.aspx).
28 London Boroughs have monitoring sites at different geographical positions within the borough, and each of those sites can monitor up to six different kinds of pollutant. The pollutants are Carbon Monoxide (CO2), Nitrogen Dioxide (NO2), Ozone (O3), Sulfur Dioxide (SO2), PM2.5 & PM10 particulates. Nominally data is published hourly, but in my experience this can vary.
## Development
* Use `venv` -> `python3 -m venv venv` then `source venv/bin/activate`
* `pip install -r requirements.txt`
* `pip install -r requirements-dev.txt`
* Install in editable mode -> `pip install -e .`
* Run tests with `venv/bin/pytest tests/test_london_air_quality.py`
* Black format with `venv/bin/black london_air_quality/*` and `venv/bin/black tests/test_london_air_quality.py`