five

electricsheepafrica/africa-trade-ghana

收藏
Hugging Face2026-04-27 更新2026-05-03 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-trade-ghana
下载链接
链接失效反馈
官方服务:
资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: cc-by-4.0 multilinguality: - monolingual size_categories: - 1K<n<10K source_datasets: - original task_categories: - tabular-classification - tabular-regression task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - indicators - trade - gha pretty_name: "Ghana - Trade" dataset_info: splits: - name: train num_examples: 4266 - name: test num_examples: 1066 --- # Ghana - Trade **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-trade-indicators-for-ghana) · **License:** `cc-by` · **Updated:** 2026-03-27 --- ## Abstract 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-ghana) on HDX. Trade is a key means to fight poverty and achieve the Millennium Development Goals, specifically by improving developing country access to markets, and supporting a rules based, predictable trading system. In cooperation with other international development partners, the World Bank launched the Transparency in Trade Initiative to provide free and easy access to data on country-specific trade policies. Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **GHA**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Poverty and economic vulnerability | | **Unit of observation** | Country-level aggregates | | **Rows (total)** | 5,333 | | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) | | **Train split** | 4,266 rows | | **Test split** | 1,066 rows | | **Geographic scope** | GHA | | **Publisher** | World Bank Group | | **HDX last updated** | 2026-03-27 | --- ## Variables **Geographic** — `country_name` (Ghana), `country_iso3` (GHA), `year` (range 1960.0–2024.0). **Outcome / Measurement** — `value` (range -6292080667.5828–57585871369.855). **Identifier / Metadata** — `indicator_name` (Trade (% of GDP), Merchandise exports (current US$), Exports of goods and services (current US$)), `indicator_code` (NE.TRD.GNFS.ZS, TX.VAL.MRCH.CD.WT, NE.EXP.GNFS.CD), `esa_source` (HDX), `esa_processed` (2026-04-27). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-trade-ghana") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `country_name` | object | 0.0% | Ghana | | `country_iso3` | object | 0.0% | GHA | | `year` | int64 | 0.0% | 1960.0 – 2024.0 (mean 1997.6795) | | `indicator_name` | object | 0.0% | Trade (% of GDP), Merchandise exports (current US$), Exports of goods and services (current US$) | | `indicator_code` | object | 0.0% | NE.TRD.GNFS.ZS, TX.VAL.MRCH.CD.WT, NE.EXP.GNFS.CD | | `value` | float64 | 0.0% | -6292080667.5828 – 57585871369.855 (mean 1112517652.4329) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-27 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `year` | 1960.0 | 2024.0 | 1997.6795 | 2000.0 | | `value` | -6292080667.5828 | 57585871369.855 | 1112517652.4329 | 17.1018 | --- ## Curation 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. --- ## Limitations - Data originates from World Bank Group and has not been independently validated by ESA. - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection. - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-trade-indicators-for-ghana) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_trade_ghana, title = {Ghana - Trade}, author = {World Bank Group}, year = {2026}, url = {https://data.humdata.org/dataset/world-bank-trade-indicators-for-ghana}, note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)} } ``` --- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
提供机构:
electricsheepafrica
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作