electricsheepafrica/africa-world-bank-agriculture-and-rural-development-indicators-for-botswana
收藏Hugging Face2026-04-15 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-world-bank-agriculture-and-rural-development-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-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- agriculture-livestock
- development
- indicators
- bwa
pretty_name: "Botswana - Agriculture and Rural Development"
dataset_info:
splits:
- name: train
num_examples: 1329
- name: test
num_examples: 332
---
# Botswana - Agriculture and Rural Development
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-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.
For the 70 percent of the world's poor who live in rural areas, agriculture is the main source of income and employment. But depletion and degradation of land and water pose serious challenges to producing enough food and other agricultural products to sustain livelihoods here and meet the needs of urban populations. Data presented here include measures of agricultural inputs, outputs, and productivity compiled by the UN's Food and Agriculture Organization.
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** | Food security and nutrition |
| **Unit of observation** | Country-level aggregates |
| **Rows (total)** | 1,662 |
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
| **Train split** | 1,329 rows |
| **Test split** | 332 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–2025.0).
**Outcome / Measurement** — `value` (range -2.8003–360619177.9882).
**Identifier / Metadata** — `indicator_name` (Rural population, Agriculture, forestry, and fishing, value added (% of GDP), Agriculture, forestry, and fishing, value added (current US$)), `indicator_code` (SP.RUR.TOTL, NV.AGR.TOTL.ZS, NV.AGR.TOTL.CD), `esa_source` (HDX), `esa_processed` (2026-04-15).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-agriculture-and-rural-development-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 – 2025.0 (mean 1994.8953) |
| `indicator_name` | object | 0.0% | Rural population, Agriculture, forestry, and fishing, value added (% of GDP), Agriculture, forestry, and fishing, value added (current US$) |
| `indicator_code` | object | 0.0% | SP.RUR.TOTL, NV.AGR.TOTL.ZS, NV.AGR.TOTL.CD |
| `value` | float64 | 0.0% | -2.8003 – 360619177.9882 (mean 6399568.1684) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-15 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `year` | 1960.0 | 2025.0 | 1994.8953 | 1997.0 |
| `value` | -2.8003 | 360619177.9882 | 6399568.1684 | 72.61 |
---
## 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-agriculture-and-rural-development-indicators-for-botswana) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_world_bank_agriculture_and_rural_development_indicators_for_botswana,
title = {Botswana - Agriculture and Rural Development},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-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:
- 无标注(no-annotation)
language_creators:
- 公开获取型(found)
language:
- 英语(en)
license:
- 知识共享署名4.0协议(CC-BY-4.0)
multilinguality:
- 单语言(monolingual)
size_categories:
- 1000~10000条(1K<n<10K)
source_datasets:
- 原生数据集(original)
task_categories:
- 表格回归(tabular-regression)
task_ids:
- 无
tags:
- 非洲(africa)
- 人道主义(humanitarian)
- HDX(Humanitarian Data Exchange)
- 农业与畜牧业(agriculture-livestock)
- 发展(development)
- 指标(indicators)
- 博茨瓦纳(BWA)
pretty_name: "博茨瓦纳——农业与农村发展"
dataset_info:
splits:
- name: train
num_examples: 1329
- name: test
num_examples: 332
# 博茨瓦纳——农业与农村发展
**发布方(Publisher):** 世界银行集团(World Bank Group) · **数据来源:** [HDX(Humanitarian Data Exchange)](https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-botswana) · **授权协议:** `CC-BY` · **最后更新:** 2026-03-27
---
## 摘要
本数据集收录来自世界银行(World Bank)[数据门户](http://data.worldbank.org/)的公开数据。HDX(Humanitarian Data Exchange)平台还提供了一份[整合型国家数据集](https://data.humdata.org/dataset/world-bank-combined-indicators-for-botswana)。
全球70%的贫困人口居住于农村地区,农业是其主要收入与就业来源。然而土地与水资源的枯竭与退化,对生产足够的粮食及其他农产品以维持当地生计、满足城市人口需求构成了严峻挑战。本数据集包含联合国粮食及农业组织(Food and Agriculture Organization of the United Nations,FAO)统计的农业投入、产出与生产率相关指标。
本数据集的每一行均代表国家层面的汇总统计值。该数据集最近一次在HDX平台的更新时间为2026年3月27日。地理覆盖范围:**博茨瓦纳(BWA)**。
*本数据集已由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)整理为适配机器学习的Parquet格式。*
---
## 数据集特征
| 项 | 详情 |
|---|---|
| **核心领域** | 粮食安全与营养 |
| **观测单元** | 国家层面汇总数据 |
| **总数据行数** | 1662 |
| **总列数** | 8列(2列数值型,6列分类型,0列日期型) |
| **训练集划分样本量** | 1329行 |
| **测试集划分样本量** | 332行 |
| **地理覆盖范围** | BWA |
| **发布方** | 世界银行集团(World Bank Group) |
| **HDX平台最后更新时间** | 2026-03-27 |
---
## 变量说明
**地理标识变量** — `country_name`(国家名称:博茨瓦纳)、`country_iso3`(国家ISO3代码:BWA)、`year`(年份范围:1960.0–2025.0)。
**结果与测量变量** — `value`(数值取值范围:-2.8003–360619177.9882)。
**标识符与元数据变量** — `indicator_name`(指标名称:农村人口、农业、林业与渔业增加值(占GDP百分比)、农业、林业与渔业增加值(当前美元计价))、`indicator_code`(指标代码:SP.RUR.TOTL、NV.AGR.TOTL.ZS、NV.AGR.TOTL.CD)、`esa_source`(数据来源:HDX)、`esa_processed`(数据处理时间:2026-04-15)。
---
## 快速上手
python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-agriculture-and-rural-development-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` | 64位整数型(int64) | 0.0% | 1960.0 – 2025.0(均值:1994.8953) |
| `indicator_name` | 字符串型(object) | 0.0% | 农村人口、农业、林业与渔业增加值(占GDP百分比)、农业、林业与渔业增加值(当前美元计价) |
| `indicator_code` | 字符串型(object) | 0.0% | SP.RUR.TOTL、NV.AGR.TOTL.ZS、NV.AGR.TOTL.CD |
| `value` | 64位浮点型(float64) | 0.0% | -2.8003 – 360619177.9882(均值:6399568.1684) |
| `esa_source` | 字符串型(object) | 0.0% | HDX |
| `esa_processed` | 字符串型(object) | 0.0% | 2026-04-15 |
---
## 数值型变量统计摘要
| 列名 | 最小值 | 最大值 | 均值 | 中位数 |
|---|---|---|---|
| `year` | 1960.0 | 2025.0 | 1994.8953 | 1997.0 |
| `value` | -2.8003 | 360619177.9882 | 6399568.1684 | 72.61 |
---
## 数据整理流程
原始数据通过CKAN API从HDX平台下载,并转换为Parquet格式。列名均转换为小写并标准化为蛇形命名法(snake_case)。将常见缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)统一替换为`NaN`。本数据集采用固定随机种子(42)按80/20的比例划分为训练集与测试集,并以Snappy压缩格式保存为Parquet文件。
---
## 数据集局限性
- 本数据集源自世界银行集团(World Bank Group),Electric Sheep Africa未对其进行独立验证。
- 自动化清洗流程无法修正原始数据收集阶段的错报值、定义不一致或抽样偏差问题。
- 如需查看发布方提供的官方方法论说明与免责声明,请参阅[原始HDX数据集页面](https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-botswana)。
---
## 引用格式
bibtex
@dataset{hdx_africa_world_bank_agriculture_and_rural_development_indicators_for_botswana,
title = {Botswana - Agriculture and Rural Development},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-botswana},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — 非洲机器学习数据集基础设施。尼日利亚拉各斯。*
提供机构:
electricsheepafrica



