electricsheepafrica/africa-world-bank-environment-indicators-for-botswana
收藏Hugging Face2026-04-15 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-world-bank-environment-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
- environment
- indicators
- bwa
pretty_name: "Botswana - Environment"
dataset_info:
splits:
- name: train
num_examples: 3883
- name: test
num_examples: 970
---
# Botswana - Environment
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-environment-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.
Natural and man-made environmental resources – fresh water, clean air, forests, grasslands, marine resources, and agro-ecosystems – provide sustenance and a foundation for social and economic development. The need to safeguard these resources crosses all borders. Today, the World Bank is one of the key promoters and financiers of environmental upgrading in the developing world. Data here cover forests, biodiversity, emissions, and pollution. Other indicators relevant to the environment are found under data pages for Agriculture & Rural Development, Energy & Mining, Infrastructure, and Urban Development.
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** | Water, sanitation and hygiene (wash) |
| **Unit of observation** | Country-level aggregates |
| **Rows (total)** | 4,854 |
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
| **Train split** | 3,883 rows |
| **Test split** | 970 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 -31.5889–4192167353.5047).
**Identifier / Metadata** — `indicator_name` (Total fisheries production (metric tons), Capture fisheries production (metric tons), Aquaculture production (metric tons)), `indicator_code` (ER.FSH.PROD.MT, ER.FSH.CAPT.MT, ER.FSH.AQUA.MT), `esa_source` (HDX), `esa_processed` (2026-04-15).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-environment-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 1999.9829) |
| `indicator_name` | object | 0.0% | Total fisheries production (metric tons), Capture fisheries production (metric tons), Aquaculture production (metric tons) |
| `indicator_code` | object | 0.0% | ER.FSH.PROD.MT, ER.FSH.CAPT.MT, ER.FSH.AQUA.MT |
| `value` | float64 | 0.0% | -31.5889 – 4192167353.5047 (mean 57442974.3335) |
| `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 | 1999.9829 | 2002.0 |
| `value` | -31.5889 | 4192167353.5047 | 57442974.3335 | 2.4 |
---
## 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-environment-indicators-for-botswana) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_world_bank_environment_indicators_for_botswana,
title = {Botswana - Environment},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-environment-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.*
---
annotations_creators:
- 无标注
language_creators:
- 从现有公开资源采集
language:
- 英语(en)
license: cc-by-4.0
multilinguality:
- 单语言
size_categories:
- 1000 < 样本数 < 10000
source_datasets:
- 原创
task_categories:
- 表格分类
- 表格回归
task_ids: []
tags:
- 非洲
- 人道主义
- HDX(人道主义数据交换平台)
- Electric Sheep Africa
- 环境
- 指标
- BWA(博茨瓦纳ISO 3166-1 alpha-3代码)
pretty_name: "博茨瓦纳——环境"
dataset_info:
splits:
- name: 训练集
num_examples: 3883
- name: 测试集
num_examples: 970
---
# 博茨瓦纳——环境
**发布方:世界银行集团(World Bank Group)** · **来源:[HDX(人道主义数据交换平台)](https://data.humdata.org/dataset/world-bank-environment-indicators-for-botswana)** · **许可协议:`cc-by`** · **最后更新:2026-03-27**
---
## 摘要
本数据集包含来自世界银行[数据门户](http://data.worldbank.org/)的相关数据。HDX平台上另有一份[博茨瓦纳综合国家指标数据集](https://data.humdata.org/dataset/world-bank-combined-indicators-for-botswana)可供获取。
自然与人工环境资源——包括淡水、洁净空气、森林、草原、海洋资源以及农业生态系统——为社会与经济发展提供支撑与基础。保护此类资源的需求无国界之分。如今,世界银行是发展中国家环境升级改造的核心推动者与融资方之一。本数据集涵盖森林、生物多样性、碳排放与污染相关数据,其他与环境相关的指标可在农业与农村发展、能源与矿业、基础设施以及城市发展的数据页面中查询获取。
本数据集的每一行均代表国家级汇总数据。本数据集于HDX平台的最后更新时间为2026-03-27,地理覆盖范围:**BWA(博茨瓦纳)**。
*本数据集已由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)整理为适用于机器学习的Parquet格式。*
---
## 数据集特征
| | |
|---|---|
| **领域** | 水、环境卫生与个人卫生(WASH) |
| **观测单元** | 国家级汇总数据 |
| **总数据行数** | 4854 |
| **列数** | 8列(2个数值型列、6个分类型列、0个日期时间型列) |
| **训练集样本数** | 3883行 |
| **测试集样本数** | 970行 |
| **地理覆盖范围** | BWA(博茨瓦纳) |
| **发布方** | 世界银行集团 |
| **HDX平台最后更新时间** | 2026-03-27 |
---
## 变量说明
**地理类变量** —— `country_name`(国家名称:博茨瓦纳)、`country_iso3`(国家ISO3代码:BWA)、`year`(年份范围:1960.0–2024.0)。
**结果/测量变量** —— `value`(取值范围:-31.5889–4192167353.5047)。
**标识符/元数据变量** —— `indicator_name`(指标名称:渔业总产量(公吨)、捕捞渔业产量(公吨)、水产养殖产量(公吨))、`indicator_code`(指标代码:ER.FSH.PROD.MT、ER.FSH.CAPT.MT、ER.FSH.AQUA.MT)、`esa_source`(数据来源:HDX)、`esa_processed`(数据处理时间:2026-04-15)。
---
## 快速上手
python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-environment-indicators-for-botswana")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
---
## 数据结构
| 列名 | 数据类型 | 空值占比 | 取值范围/示例值 |
|---|---|---|---|
| `country_name` | 对象类型(object) | 0.0% | 博茨瓦纳 |
| `country_iso3` | 对象类型(object) | 0.0% | BWA |
| `year` | 整数型(int64) | 0.0% | 1960.0 – 2024.0(均值:1999.9829) |
| `indicator_name` | 对象类型(object) | 0.0% | 渔业总产量(公吨)、捕捞渔业产量(公吨)、水产养殖产量(公吨) |
| `indicator_code` | 对象类型(object) | 0.0% | ER.FSH.PROD.MT、ER.FSH.CAPT.MT、ER.FSH.AQUA.MT |
| `value` | 浮点型(float64) | 0.0% | -31.5889 – 4192167353.5047(均值:57442974.3335) |
| `esa_source` | 对象类型(object) | 0.0% | HDX |
| `esa_processed` | 对象类型(object) | 0.0% | 2026-04-15 |
---
## 数值型变量统计摘要
| 列名 | 最小值 | 最大值 | 均值 | 中位数 |
|---|---|---|---|---|
| `year` | 1960.0 | 2024.0 | 1999.9829 | 2002.0 |
| `value` | -31.5889 | 4192167353.5047 | 57442974.3335 | 2.4 |
---
## 数据整理流程
原始数据通过CKAN API从HDX平台下载,并转换为Parquet格式。列名均转换为小写并标准化为蛇形命名法(snake_case)。常见的缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)被统一替换为`NaN`。本数据集采用固定随机种子(42)按照80/20的比例划分为训练集与测试集,并以Snappy压缩的Parquet格式存储。
---
## 局限性说明
- 数据源自世界银行集团,未经过Electric Sheep Africa的独立验证。
- 自动化清洗流程无法修正原始数据收集中的错报值、定义不一致或采样偏差问题。
- 如需查看发布方的方法论说明与注意事项,请参阅[原始HDX数据集页面](https://data.humdata.org/dataset/world-bank-environment-indicators-for-botswana)。
---
## 引用格式
bibtex
@dataset{hdx_africa_world_bank_environment_indicators_for_botswana,
title = {Botswana - Environment},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-environment-indicators-for-botswana},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — 非洲机器学习数据集基础设施。尼日利亚拉各斯。*
提供机构:
electricsheepafrica



