# Rwanda Healthcare Analytics Dashboard
A comprehensive Streamlit dashboard for analyzing healthcare facility performance and referral networks across Rwanda's sub-districts.
## Features
- π **Interactive Map**: Visualize healthcare referral network with Mapbox integration
- π **Facility Performance Analysis**: Compare facility metrics across sub-districts
- β οΈ **Smart Alerts**: Identify health centers outperforming hospitals
- π **Statistical Overview**: Comprehensive metrics and comparisons
- π **Sub-District Filtering**: Focus on specific regions for detailed analysis
- π₯ **Facility Categories**: Distinguish between Health Centers, Medicalized Health Centers, and Hospitals
## Key Metrics Tracked
- Antenatal Care (ANC) Visits
- Outpatient Department (OPD) Cases (New, Old, Total)
- Deliveries
- Labor Referrals
- Obstetric Complication Referrals
## Color Coding
- π΅ **Blue**: Regular Health Centers
- π’ **Green**: Medicalized Health Centers
- π‘ **Gold**: Hospitals
- π΄ **Red**: HC/MHC outperforming hospitals
## Installation
1. Clone the repository:
```bash
git clone [repository-url]
cd [repository-name]
```
2. Install required packages:
```bash
pip install -r requirements.txt
```
3. Run the application:
```bash
streamlit run rwanda_dashboard_optimized_final.py
```
## Data Requirements
The dashboard requires the following data files:
- DHIS2 data export (CSV format)
- Facility GIS coordinates (Excel format)
- Shapefile data for roads and boundaries
## Usage
1. **Map Tab**:
- Select a sub-district to filter facilities
- Search for specific facilities
- Toggle facility types on/off
- View referral connections
2. **Facility Performance Tab**:
- Select sub-district and metric
- View performance comparisons
- Identify outperforming facilities
3. **Alerts Tab**:
- Review facilities exceeding expected performance
- Monitor critical metrics
4. **Statistics Tab**:
- View overall statistics
- Compare metrics across facilities
## Technologies Used
- Streamlit
- β¦