File size: 1,653 Bytes
6c3ad5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Datacard for Central African Republic Governance Indicators (1960-2024)

This dataset contains a time-series of key governance indicators for Central African Republic, spanning from 1960 to 2024. The data has been aggregated from multiple sources, cleaned, and processed into a single, analysis-ready CSV file.

The raw data was sourced from **The World Bank** data portal. The original files were provided in Excel (.xls) format.

- **Temporal Coverage**: 1960-2024
- **Geographic Coverage**: Central African Republic
- **Format**: Comma-Separated Values (CSV)

---

## Data Points (Features)

The dataset includes the following governance indicators, with 'Year' serving as the primary date column:

1. `central_government_debt_total_of_gdp_`: Central government debt, total (% of GDP)
2. `military_expenditure_of_gdp_`: Military expenditure (% of GDP)
3. `statistical_performance_indicators_spi_overall_score_scale_0_100_`: Statistical performance indicators (SPI): Overall score (scale 0-100)

---

## Data Preparation & Missing Data Handling

The raw data was processed using a Python script to transform it into a clean, structured format. The key steps were:

1.  **Filtering**: The data was filtered to include only records for 'Central African Republic'.
2.  **Reshaping**: The original wide-format data (years as columns) was melted into a long format.
3.  **Merging**: Data from all indicator files was merged into a single DataFrame on 'Year'.
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.