Add README.md
Browse files
README.md
CHANGED
|
@@ -1,36 +1,146 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: country_name
|
| 5 |
-
dtype: string
|
| 6 |
-
- name: country_iso3
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: year
|
| 9 |
-
dtype: int64
|
| 10 |
-
- name: indicator_name
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: indicator_code
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: value
|
| 15 |
-
dtype: float64
|
| 16 |
-
- name: esa_source
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: esa_processed
|
| 19 |
-
dtype: string
|
| 20 |
splits:
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
num_bytes: 138550
|
| 26 |
-
num_examples: 1016
|
| 27 |
-
download_size: 98961
|
| 28 |
-
dataset_size: 691965
|
| 29 |
-
configs:
|
| 30 |
-
- config_name: default
|
| 31 |
-
data_files:
|
| 32 |
-
- split: train
|
| 33 |
-
path: data/train-*
|
| 34 |
-
- split: test
|
| 35 |
-
path: data/test-*
|
| 36 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1K<n<10K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-regression
|
| 17 |
+
task_ids: []
|
| 18 |
+
tags:
|
| 19 |
+
- africa
|
| 20 |
+
- humanitarian
|
| 21 |
+
- hdx
|
| 22 |
+
- electric-sheep-africa
|
| 23 |
+
- economics
|
| 24 |
+
- indicators
|
| 25 |
+
- stp
|
| 26 |
+
pretty_name: "Sao Tome and Principe - Economy and Growth"
|
| 27 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
splits:
|
| 29 |
+
- name: train
|
| 30 |
+
num_examples: 4062
|
| 31 |
+
- name: test
|
| 32 |
+
num_examples: 1015
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
---
|
| 34 |
+
|
| 35 |
+
# Sao Tome and Principe - Economy and Growth
|
| 36 |
+
|
| 37 |
+
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-economy-and-growth-indicators-for-sao-tome-and-principe) · **License:** `cc-by` · **Updated:** 2026-03-27
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## Abstract
|
| 42 |
+
|
| 43 |
+
Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-sao-tome-and-principe) on HDX.
|
| 44 |
+
|
| 45 |
+
Economic growth is central to economic development. When national income grows, real people benefit. While there is no known formula for stimulating economic growth, data can help policy-makers better understand their countries' economic situations and guide any work toward improvement. Data here covers measures of economic growth, such as gross domestic product (GDP) and gross national income (GNI). It also includes indicators representing factors known to be relevant to economic growth, such as capital stock, employment, investment, savings, consumption, government spending, imports, and exports.
|
| 46 |
+
|
| 47 |
+
Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **STP**.
|
| 48 |
+
|
| 49 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## Dataset Characteristics
|
| 54 |
+
|
| 55 |
+
| | |
|
| 56 |
+
|---|---|
|
| 57 |
+
| **Domain** | Humanitarian and development data |
|
| 58 |
+
| **Unit of observation** | Country-level aggregates |
|
| 59 |
+
| **Rows (total)** | 5,078 |
|
| 60 |
+
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
|
| 61 |
+
| **Train split** | 4,062 rows |
|
| 62 |
+
| **Test split** | 1,015 rows |
|
| 63 |
+
| **Geographic scope** | STP |
|
| 64 |
+
| **Publisher** | World Bank Group |
|
| 65 |
+
| **HDX last updated** | 2026-03-27 |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## Variables
|
| 70 |
+
|
| 71 |
+
**Geographic** — `country_name` (Sao Tome and Principe), `country_iso3` (STP), `year` (range 1960.0–2024.0).
|
| 72 |
+
|
| 73 |
+
**Outcome / Measurement** — `value` (range -231353595.9032–18756000000.0).
|
| 74 |
+
|
| 75 |
+
**Identifier / Metadata** — `indicator_name` (DEC alternative conversion factor (LCU per US$), GDP deflator (base year varies by country), GDP (constant LCU)), `indicator_code` (PA.NUS.ATLS, NY.GDP.DEFL.ZS, NY.GDP.MKTP.KN), `esa_source` (HDX), `esa_processed` (2026-04-13).
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## Quick Start
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
from datasets import load_dataset
|
| 83 |
+
|
| 84 |
+
ds = load_dataset("electricsheepafrica/africa-world-bank-economy-and-growth-indicators-for-sao-tome-and-principe")
|
| 85 |
+
train = ds["train"].to_pandas()
|
| 86 |
+
test = ds["test"].to_pandas()
|
| 87 |
+
|
| 88 |
+
print(train.shape)
|
| 89 |
+
train.head()
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## Schema
|
| 95 |
+
|
| 96 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 97 |
+
|---|---|---|---|
|
| 98 |
+
| `country_name` | object | 0.0% | Sao Tome and Principe |
|
| 99 |
+
| `country_iso3` | object | 0.0% | STP |
|
| 100 |
+
| `year` | int64 | 0.0% | 1960.0 – 2024.0 (mean 2002.999) |
|
| 101 |
+
| `indicator_name` | object | 0.0% | DEC alternative conversion factor (LCU per US$), GDP deflator (base year varies by country), GDP (constant LCU) |
|
| 102 |
+
| `indicator_code` | object | 0.0% | PA.NUS.ATLS, NY.GDP.DEFL.ZS, NY.GDP.MKTP.KN |
|
| 103 |
+
| `value` | float64 | 0.0% | -231353595.9032 – 18756000000.0 (mean 251318199.0517) |
|
| 104 |
+
| `esa_source` | object | 0.0% | HDX |
|
| 105 |
+
| `esa_processed` | object | 0.0% | 2026-04-13 |
|
| 106 |
+
|
| 107 |
+
---
|
| 108 |
+
|
| 109 |
+
## Numeric Summary
|
| 110 |
+
|
| 111 |
+
| Column | Min | Max | Mean | Median |
|
| 112 |
+
|---|---|---|---|---|
|
| 113 |
+
| `year` | 1960.0 | 2024.0 | 2002.999 | 2006.0 |
|
| 114 |
+
| `value` | -231353595.9032 | 18756000000.0 | 251318199.0517 | 11736.323 |
|
| 115 |
+
|
| 116 |
+
---
|
| 117 |
+
|
| 118 |
+
## Curation
|
| 119 |
+
|
| 120 |
+
Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## Limitations
|
| 125 |
+
|
| 126 |
+
- Data originates from World Bank Group and has not been independently validated by ESA.
|
| 127 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 128 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-economy-and-growth-indicators-for-sao-tome-and-principe) for the publisher's own methodology notes and caveats.
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## Citation
|
| 133 |
+
|
| 134 |
+
```bibtex
|
| 135 |
+
@dataset{hdx_africa_world_bank_economy_and_growth_indicators_for_sao_tome_and_principe,
|
| 136 |
+
title = {Sao Tome and Principe - Economy and Growth},
|
| 137 |
+
author = {World Bank Group},
|
| 138 |
+
year = {2026},
|
| 139 |
+
url = {https://data.humdata.org/dataset/world-bank-economy-and-growth-indicators-for-sao-tome-and-principe},
|
| 140 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 141 |
+
}
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|