five

electricsheepafrica/africa-world-bank-trade-indicators-for-botswana

收藏
Hugging Face2026-04-20 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-world-bank-trade-indicators-for-botswana
下载链接
链接失效反馈
官方服务:
资源简介:
--- 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 - bwa pretty_name: "Botswana - Trade" dataset_info: splits: - name: train num_examples: 3480 - name: test num_examples: 870 --- # Botswana - Trade **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-trade-indicators-for-botswana) · **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-botswana) 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: **BWA**. *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)** | 4,350 | | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) | | **Train split** | 3,480 rows | | **Test split** | 870 rows | | **Geographic scope** | BWA | | **Publisher** | World Bank Group | | **HDX last updated** | 2026-03-27 | --- ## Variables **Geographic** — `country_name` (Botswana), `country_iso3` (BWA), `year` (range 1960.0–2024.0). **Outcome / Measurement** — `value` (range -3165773682.2311–94828177439.1364). **Identifier / Metadata** — `indicator_name` (Merchandise trade (% of GDP), Exports of goods and services (% of GDP), Imports of goods and services (current US$)), `indicator_code` (TG.VAL.TOTL.GD.ZS, NE.EXP.GNFS.ZS, NE.IMP.GNFS.CD), `esa_source` (HDX), `esa_processed` (2026-04-15). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-world-bank-trade-indicators-for-botswana") 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% | Botswana | | `country_iso3` | object | 0.0% | BWA | | `year` | int64 | 0.0% | 1960.0 – 2024.0 (mean 2002.8418) | | `indicator_name` | object | 0.0% | Merchandise trade (% of GDP), Exports of goods and services (% of GDP), Imports of goods and services (current US$) | | `indicator_code` | object | 0.0% | TG.VAL.TOTL.GD.ZS, NE.EXP.GNFS.ZS, NE.IMP.GNFS.CD | | `value` | float64 | 0.0% | -3165773682.2311 – 94828177439.1364 (mean 1037680052.0953) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-15 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `year` | 1960.0 | 2024.0 | 2002.8418 | 2006.0 | | `value` | -3165773682.2311 | 94828177439.1364 | 1037680052.0953 | 38.7244 | --- ## 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-botswana) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_world_bank_trade_indicators_for_botswana, title = {Botswana - Trade}, author = {World Bank Group}, year = {2026}, url = {https://data.humdata.org/dataset/world-bank-trade-indicators-for-botswana}, 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
二维码
社区交流群
二维码
科研交流群
商业服务