Kossisoroyce commited on
Commit
d3721cd
·
verified ·
1 Parent(s): 9426155

Upload Benin/datacard_Poverty_and_Inequality.md with huggingface_hub

Browse files
Benin/datacard_Poverty_and_Inequality.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Datacard for Benin Poverty_And_Inequality Indicators (1960-2024)
2
+
3
+ This dataset contains a time-series of key poverty_and_inequality indicators for Benin, 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**: Benin
9
+ - **Format**: Comma-Separated Values (CSV)
10
+
11
+ ---
12
+
13
+ ## Data Points (Features)
14
+
15
+ The dataset includes the following poverty_and_inequality indicators, with 'Year' serving as the primary date column:
16
+
17
+ 1. `gini_index`: Gini index
18
+ 2. `income_share_held_by_lowest_20_`: Income share held by lowest 20%
19
+ 3. `population_living_in_slums_of_urban_population_`: Population living in slums (% of urban population)
20
+ 4. `poverty_headcount_ratio_at_3_00_a_day_2021_ppp_of_population_`: Poverty headcount ratio at $3.00 a day (2021 PPP) (% of population)
21
+
22
+ ---
23
+
24
+ ## Data Preparation & Missing Data Handling
25
+
26
+ The raw data was processed using a Python script to transform it into a clean, structured format. The key steps were:
27
+
28
+ 1. **Filtering**: The data was filtered to include only records for 'Benin'.
29
+ 2. **Reshaping**: The original wide-format data (years as columns) was melted into a long format.
30
+ 3. **Merging**: Data from all indicator files was merged into a single DataFrame on 'Year'.
31
+ 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.