Github repository:
API server
Visualization
Student ID | Name |
---|---|
6510545764 | Setthapon Thadisakun |
6510545420 | Tantikon Phasanphaengsi |
Allergic Rhinitis and Environmetal Factors investigates how environmental factors influence allergy symptoms. We focus collecting on environmental factors such as data on dust levels, temperature, and humidity, as these elements could affect allergic rhinitis. We will also survey individuals with allergic rhinitis to determine whether they experience symptoms in the morning.
All data were collected between 15-04-2024 to 10-05-2024
This directory is for visualization web application.
Python version >= 3.8
pandas
sqlalchemy
mysqlclient
streamlit
watchdog
seaborn
plotly
- Change directory to the visusalization directory.
cd visualization
- Create virtual environment.
python3 -m venv venv
- Activate virtual environment.
Macos/Linux
source venv/bin/activate
Windows
.\venv\Scripts\activate
- Install the required packages.
pip install -r requirements.txt
- If install requirements package fail might be because of mysqlclient package check out its requirement mysqlclient requirement
- Edit secrets file and save as secrets.toml
file is at ./.streamlit/secrets.toml\ example
use your prefered text editor
save as secrets.toml
- Run visualization web application.
streamlit run main.py
- Open visualization web application.
http://127.0.0.1:8501 or http://localhost:8501