Skip to content

Process current Air Quality in Belgium using OpenAQ, AWS and Streamlit library

Notifications You must be signed in to change notification settings

escobarana/openaq-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Process current Air Quality in Belgium using OpenAQ, AWS and Streamlit library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages