# 🇪🇬 Egypt Births and Poverty Analysis
A Spatial Statistics project developed in **R** to visualize and analyze birth counts and poverty rates across the governorates of Egypt using GIS techniques, static maps, and interactive web maps.
---
## 📖 Overview
This project combines geographic, demographic, and socioeconomic data to create spatial visualizations of Egypt's governorates. The analysis focuses on two key indicators:
- Birth counts (2016)
- Poverty rates (2014)
The project demonstrates how spatial datasets can be merged with statistical data to generate informative choropleth maps and interactive visualizations.
---
## 🎯 Objectives
- Visualize birth counts across Egypt.
- Visualize poverty rates across Egyptian governorates.
- Merge spatial and statistical datasets.
- Generate publication-quality maps.
- Create interactive maps for exploring regional statistics.
---
## 🛠 Technologies Used
- R
- sf
- dplyr
- ggplot2
- leaflet
- htmlwidgets
- stringr
---
## 📂 Project Dataset
The project uses three datasets:
- **GADM Egypt Administrative Boundaries (GeoPackage)**
- **Birth Statistics (2016)**
- **Poverty Statistics (2014)**
The datasets are joined using governorate names after cleaning and standardizing the text.
---
## 🔄 Workflow
```text
GADM Egypt Boundaries
│
▼
Spatial Data
│
│
Birth Dataset Poverty Dataset
│ │
└────── Clean & Standardize ──────┐
│
▼
Merge Datasets
│
▼
Spatial Analysis
│
┌──────────────────────────────┼──────────────────────────────┐
│ │ │
▼ ▼ ▼
Choropleth Maps Point Maps Interactive Leaflet Maps
```
---
## 📊 Features
### Poverty Analysis
- Choropleth map
- Labeled choropleth map
- Point map
- Interactive choropleth
- Interactive point map
### Birth Analysis
- Choropleth map
- Labeled choropleth map
- Point map
- Interactive choropleth
- Interactive poi …