Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.1 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.1 KB

Process current Air Quality in Belgium

Real-time view of the current air quality in various cities of Belgium.

Data Source:

https://registry.opendata.aws/openaq/

Results:

Current air quality: Average of the measurements over the last 3 hours

AWS Resources used: SNS, SQS, Lambda, DynamoDB, CloudWatch

Visualisation of final results on a map using Streamlit and Pydeck

Environment variables:

Variable Description
AWS_REGION_NAME Name of AWS region where DynamoDB is located
AWS_ACCESS_KEY_ID AWS Account access key id
AWS_SECRET_ACCESS_KEY AWS Account secret access key

Run project:

Install prerequisites:

pip install -r requirements.txt

Update CSV file with current air quality (without running streamlit):

python main.py 

Run Streamlit:

streamlit run main.py 

This command automatically updates the CSV file of current air quality when executed.