Upload Egypt, Arab Rep./datacard_Governance.md with huggingface_hub
Browse files
Egypt, Arab Rep./datacard_Governance.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Datacard for Egypt, Arab Rep. Governance Indicators (1960-2024)
|
| 2 |
+
|
| 3 |
+
This dataset contains a time-series of key governance indicators for Egypt, Arab Rep., spanning from 1960 to 2024. The data has been aggregated from multiple sources, cleaned, and processed into a single, analysis-ready CSV file.
|
| 4 |
+
|
| 5 |
+
The raw data was sourced from **The World Bank** data portal. The original files were provided in Excel (.xls) format.
|
| 6 |
+
|
| 7 |
+
- **Temporal Coverage**: 1960-2024
|
| 8 |
+
- **Geographic Coverage**: Egypt, Arab Rep.
|
| 9 |
+
- **Format**: Comma-Separated Values (CSV)
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## Data Points (Features)
|
| 14 |
+
|
| 15 |
+
The dataset includes the following governance indicators, with 'Year' serving as the primary date column:
|
| 16 |
+
|
| 17 |
+
1. `central_government_debt_total_of_gdp_`: Central government debt, total (% of GDP)
|
| 18 |
+
2. `military_expenditure_of_gdp_`: Military expenditure (% of GDP)
|
| 19 |
+
3. `statistical_performance_indicators_spi_overall_score_scale_0_100_`: Statistical performance indicators (SPI): Overall score (scale 0-100)
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## Data Preparation & Missing Data Handling
|
| 24 |
+
|
| 25 |
+
The raw data was processed using a Python script to transform it into a clean, structured format. The key steps were:
|
| 26 |
+
|
| 27 |
+
1. **Filtering**: The data was filtered to include only records for 'Egypt, Arab Rep.'.
|
| 28 |
+
2. **Reshaping**: The original wide-format data (years as columns) was melted into a long format.
|
| 29 |
+
3. **Merging**: Data from all indicator files was merged into a single DataFrame on 'Year'.
|
| 30 |
+
4. **Handling Missing Data**: Missing values (`NaN`) were filled using a two-step strategy: linear interpolation followed by a back-fill to handle any remaining gaps at the start of the series.
|