Olaroti commited on
Commit
c029c20
·
verified ·
1 Parent(s): 8df801c

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +120 -39
README.md CHANGED
@@ -1,56 +1,137 @@
1
- # Africa Net ODA received (% of central government expense) Dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- ## Overview
4
- This dataset contains net oda received (% of central government expense) data for African countries from the World Bank Aid Effectiveness indicators.
5
 
6
- ## Data Details
7
- - **Indicator Code**: DT.ODA.ODAT.XP.ZS
8
- - **Description**: Net ODA received (% of central government expense)
9
- - **Geographic Coverage**: 42 African countries
10
- - **Time Period**: 1972-2022
11
- - **Data Points**: 773 observations
12
- - **Coverage**: 22.02% of possible country-year combinations
13
 
14
- ## File Formats
 
 
 
15
 
16
- ### Main Dataset (`Africa-Net-Oda-Received-Percentage-of-Central-Government-Expense.csv`)
17
- - **Rows**: 54 countries
18
- - **Columns**: 65 years (1960-2024)
19
- - **Structure**: Countries as rows, years as columns
20
- - **Missing Value Treatment**: Interpolation → Forward Fill → Backward Fill
21
- - **Use Case**: Cross-sectional analysis, heatmaps, correlation analysis
22
 
23
- ## Data Quality
24
 
25
- ### Coverage Statistics
26
- - **Total Observations**: 773
27
- - **Possible Observations**: 3,510
28
- - **Coverage Rate**: 22.02%
29
 
30
- ### Countries with No Data
31
- 12 countries have no observations:
32
- Benin, Comoros, Djibouti, Algeria, Eritrea, Libya, Mauritania, Nigeria, Sierra Leone, South Sudan, Sao Tome and Principe, Chad
33
 
34
- ## Usage Examples
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
- ### Python
37
  ```python
38
- import pandas as pd
 
 
 
39
 
40
- # Load main dataset
41
- df = pd.read_csv('Africa-Net-Oda-Received-Percentage-of-Central-Government-Expense.csv', index_col=[0, 1])
 
 
42
  ```
43
 
44
- ### R
45
- ```r
46
- # Load main dataset
47
- df <- read.csv('Africa-Net-Oda-Received-Percentage-of-Central-Government-Expense.csv', row.names=c(1,2))
 
 
 
 
 
48
  ```
49
 
50
- ## Source
51
- World Bank Open Data - Aid Effectiveness
52
- - **Original File**: API_DT.ODA.ODAT.XP.ZS_DS2_en_excel_v2_534646.xls
53
- - **Processed**: 2025-09-01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  ## License
56
- This dataset is derived from World Bank Open Data and is available under the Creative Commons Attribution 4.0 International License.
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "governance-security"
17
+ - "csv"
18
+ - "tabular"
19
+ - "text"
20
+ - "government"
21
+ pretty_name: "Africa Net Oda Received Percentage of Central Government Expense | Africa (World Bank)"
22
+ ---
23
 
24
+ # Africa Net Oda Received Percentage of Central Government Expense | Africa (World Bank)
 
25
 
26
+ **Size category:** `n<1K` - **Formats:** `csv` - **Sector:** governance_security - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
 
 
 
 
 
 
27
 
28
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
29
+ ![sector](https://img.shields.io/badge/sector-governance_security-green)
30
+ ![downloads](https://img.shields.io/badge/HF_downloads-10-orange)
31
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
32
 
33
+ ## TL;DR
 
 
 
 
 
34
 
35
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
36
 
37
+ ## What This Dataset Covers
 
 
 
38
 
39
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
 
 
40
 
41
+ Dataset context from the existing Hugging Face card: Africa Net ODA received (% of central government expense) Dataset Overview This dataset contains net oda received (% of central government expense) data for African countries from the World Bank Aid Effectiveness indicators. Data Details Indicator Code: DT.ODA.ODAT.XP.ZS Description: Net ODA received (% of central government expense) Geographic Coverage: 42 African countries Time Period: 1972-2022 Data Points: 773 observations Coverage: 22.02% of possible… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense.
42
+
43
+ ## Dataset Profile
44
+
45
+ | Field | Value |
46
+ |---|---|
47
+ | Hugging Face repo | [`electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense`](https://huggingface.co/datasets/electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense) |
48
+ | Sector | governance_security |
49
+ | Topic tags | governance_security |
50
+ | Modalities | `tabular`, `text` |
51
+ | Formats | `csv` |
52
+ | Size category | `n<1K` |
53
+ | Countries | Africa-wide or source-defined African coverage |
54
+ | ISO3 coverage | `not declared` |
55
+ | Last modified on HF | `2025-09-01 09:15:57+00:00` |
56
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
57
+
58
+ ## How To Read This Dataset
59
+
60
+ - Start from the repository files and the dataset viewer when available.
61
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
62
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
63
+ - Preserve missing values until you have a defensible imputation rule.
64
+
65
+ ## Usage
66
 
 
67
  ```python
68
+ from datasets import load_dataset
69
+
70
+ ds = load_dataset("electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense")
71
+ print(ds)
72
 
73
+ split_name = next(iter(ds))
74
+ table = ds[split_name]
75
+ print(table.features)
76
+ print(table[:3])
77
  ```
78
 
79
+ ### Convert To Pandas When Tabular
80
+
81
+ ```python
82
+ from datasets import Dataset
83
+
84
+ first_split = ds[next(iter(ds))]
85
+ if isinstance(first_split, Dataset):
86
+ df = first_split.to_pandas()
87
+ print(df.head())
88
  ```
89
 
90
+ ## Data Quality Notes
91
+
92
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
93
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
94
+ - Metadata gaps from the inventory: country, upstream_publisher, license, language.
95
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
96
+
97
+ ## Source And Provenance
98
+
99
+ - **Source context:** World Bank
100
+ - **Publisher/source attribution:** World Bank open data
101
+ - **License:** Source-specific or other license
102
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense](https://huggingface.co/datasets/electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense)
103
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
104
+
105
+ ## Suggested Analyses
106
+
107
+ - Inspect schema and missingness before modeling.
108
+ - Profile variables by geography, time, and subgroup columns where present.
109
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
110
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
111
+
112
+ ## Citation
113
+
114
+ ```bibtex
115
+ @misc{electric_sheep_africa_africa_net_oda_received_percentage_of_central_government_expense_2026,
116
+ title = {Africa Net Oda Received Percentage of Central Government Expense | Africa (World Bank)},
117
+ author = {World Bank open data},
118
+ year = {2026},
119
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense},
120
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
121
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-net-oda-received-percentage-of-central-government-expense}}
122
+ }
123
+ ```
124
 
125
  ## License
126
+
127
+ Released under Source-specific or other license.
128
+
129
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
130
+
131
+ ## About Electric Sheep Africa
132
+
133
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
134
+
135
+ ---
136
+
137
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.