https://github.com/semanticdata/traffic-studies
Dashboard for analyzing traffic studies data for Crystal, Minnesota.
https://github.com/semanticdata/traffic-studies
matplotlib numpy pandas python seaborn streamlit
Last synced: about 1 year ago
JSON representation
Dashboard for analyzing traffic studies data for Crystal, Minnesota.
- Host: GitHub
- URL: https://github.com/semanticdata/traffic-studies
- Owner: semanticdata
- License: mit
- Created: 2025-02-03T19:51:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T20:22:03.000Z (about 1 year ago)
- Last Synced: 2025-03-13T21:25:29.052Z (about 1 year ago)
- Topics: matplotlib, numpy, pandas, python, seaborn, streamlit
- Language: Python
- Homepage: https://traffic-studies.streamlit.app/
- Size: 2.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traffic Studies
Dashboard for analyzing traffic studies data for Crystal, Minnesota.
## 🚀 Usage
1. Clone the repository:
```bash
git clone https://github.com/semanticdata/traffic-studies.git
cd traffic-studies
```
2. Create a virtual environment (optional but recommended):
```bash
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate
```
3. Install required packages:
```bash
pip install -r requirements.txt
```
4. Run the dashboard:
```bash
streamlit run dashboard.py
```
## 📦 Data
Key Metrics:
- Total Vehicles
- Average Speed (Northbound/Eastbound)
- Average Speed (Southbound/Westbound)
- Speed Compliance (%)
- Daily Traffic - Average and Max
- Peak Hour (Number of Vehicles)
- Dominant Direction
- Busiest Day
- 85th Percentile Speed
- Peak Hour Factor (PHF)
- High Speed Violations
- Weekday/Weekend Ratio
Traffic Volume:
- Hourly Traffic Volume Distribution (per direction of travel)
- Daily Traffic Volume Patterns
Speed Analysis:
- Speed Violation Severity Analysis (+5, +10, +15 mph over)
- Speed Distribution (per direction of travel)
- Speed Compliance Analysis by Direction
Vehicle Classifications:
- 🏍️ Class 1: Motorcycles
- 🚗 Class 2: Passenger Cars
- 🚐 Class 3: Pickups, Vans
- 🚌 Class 4: Buses
- 🚛 Class 5: 2 Axles, 6 Tires
- 🚛 Class 6: 3 Axles
## 📜 License
The code in this repository is available under the [MIT License](LICENSE).