REHIS is a Streamlit web application that provides real-time air and water quality data for specified locations. Currently it is in prototype stage. This tool aggregates data from various environmental monitoring APIs to offer users a comprehensive view of their local environmental health conditions.
- Air Quality Monitoring: Fetches and displays real-time air quality data for various pollutants including PM2.5, PM10, CO, NO2, SO2, and O3.
- Water Quality Monitoring: Retrieves and presents water quality data for specific monitoring sites.
- Interactive Visualizations: Utilizes Plotly Express to create interactive line charts for both air and water quality data.
- User-friendly Interface: Built with Streamlit, offering a simple and intuitive user experience.
- Location-based Data: Allows users to input their city to get localized environmental data.
-
Clone this repository:
git clone https://github.com/yourusername/rehis.git cd rehis
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run main.py
-
Open your web browser and navigate to the local URL provided by Streamlit (usually
http://localhost:8501
). -
Enter your city name in the text input field to retrieve environmental data for your location.
- streamlit
- requests
- pandas
- plotly
This application uses the following APIs:
- OpenAQ API for air quality data
- USGS Water Services API for water quality data