Logo Lanfrica

Evan620/kenya-transport-dashboard

Domaine:

mobilitygeospatial

Type de record:

software
Créateur:
Eva
HĂ´te:
🇰🇪 Kenya Multi-City Transport, Traffic & Urban Intelligence Dashboard: Interactive transport, traffic, and urban analytics for Kenyan cities using Streamlit, Plotly & Folium. # Kenya Multi-City Transport, Traffic & Urban Intelligence Dashboard This project is a Streamlit-based web application analysing and visualising public transport, traffic, weather, and urban statistics across Nairobi, Mombasa, Kisumu, Nakuru, and Eldoret. ## Features - Interactive city maps (Matatu routes, bus stops, roads, POIs, weather) - Matatu route analyzer & comparison - Simulated traffic intelligence & heatmaps - Urban development and population analytics - Point-to-point route finder - Weather impact analyzer - Cross-city comparison dashboard - Stunning animations & responsive, premium UI ## Getting Started 1. `pip install -r requirements.txt` 2. `streamlit run app.py` **All data sources are free, no API keys required.** ## File Structure ``` ~/projects/kenya-transport-intelligence/ ├── app.py ├── requirements.txt ├── README.md ├── .env.example ├── runtime.txt ├── data/ │ ├── cities.json │ ├── cache/ │ └── exports/ ├── utils/ │ ├── api_client.py │ ├── data_processor.py │ ├── map_generator.py │ ├── chart_builder.py │ └── route_finder.py ├── assets/ │ ├── styles.css │ ├── animations.js │ ├── images/ │ └── fonts/ ├── pages/ │ ├── 01_🗺️_City_Explorer.py │ ├── 02_🚌_Route_Analyzer.py │ ├── 03_🚦_Traffic_Intel.py │ ├── 04_📊_Statistics.py │ ├── 05_🔍_Route_Finder.py │ ├── 06_🌤️_Weather_Impact.py │ └── 07_🏙️_City_Compare.py ``` ## Deployment ### Locally ```bash cd ~/projects/kenya-transport-intelligence/ pip install -r requirements.txt streamlit run app.py ``` ### Streamlit Cloud/Vercel - Add `runtime.txt` with Python version - Add `secrets.toml` template if needed - Optimize for cloud hosting (RAM, cache, media) - Add deployment instructions to README ## Documentation - Screenshots for each section - API usage/rate limits - Troubleshooting/FAQ - Roadmap & questions - Contributing guidelines - MIT License --- MIT License