Datasets:
Tasks:
Tabular Regression
Formats:
parquet
Languages:
English
Size:
< 1K
Tags:
africa
humanitarian
hdx
electric-sheep-africa
anti-corruption
economic-and-corporate-governance
License:
Datacard for Morocco Governance Indicators (1960-2024)
This dataset contains a time-series of key governance indicators for Morocco, 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: Morocco
- Format: Comma-Separated Values (CSV)
Data Points (Features)
The dataset includes the following governance indicators, with 'Year' serving as the primary date column:
central_government_debt_total_of_gdp_: Central government debt, total (% of GDP)military_expenditure_of_gdp_: Military expenditure (% of GDP)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:
- Filtering: The data was filtered to include only records for 'Morocco'.
- Reshaping: The original wide-format data (years as columns) was melted into a long format.
- Merging: Data from all indicator files was merged into a single DataFrame on 'Year'.
- 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.