electricsheepafrica/africa-faostat-food-security-indicators-for-botswana
收藏Hugging Face2026-04-15 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-faostat-food-security-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
- food-security
- indicators
- nutrition
- bwa
pretty_name: "Botswana - Food Security and Nutrition Indicators"
dataset_info:
splits:
- name: train
num_examples: 831
- name: test
num_examples: 207
---
# Botswana - Food Security and Nutrition Indicators
**Publisher:** Food and Agriculture Organization (FAO) of the United Nations · **Source:** [HDX](https://data.humdata.org/dataset/faostat-food-security-indicators-for-botswana) · **License:** `cc-by-igo` · **Updated:** 2026-04-13
---
## Abstract
Food Security and Nutrition Indicators for Botswana.
Contains data from the FAOSTAT [bulk data service](https://fenixservices.fao.org/faostat/static/bulkdownloads/datasets_E.json).
Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `startdate`, `enddate` column(s). 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,039 |
| **Columns** | 18 (5 numeric, 10 categorical, 3 datetime) |
| **Train split** | 831 rows |
| **Test split** | 207 rows |
| **Geographic scope** | BWA |
| **Publisher** | Food and Agriculture Organization (FAO) of the United Nations |
| **HDX last updated** | 2026-04-13 |
---
## Variables
**Geographic** — `iso3` (BWA), `year_code` (range 2000.0–20222024.0), `year` (range 2000.0–2024.0).
**Temporal** — `startdate`, `enddate`.
**Outcome / Measurement** — `value` (range 0.0–18933.0).
**Identifier / Metadata** — `area_code` (range 20.0–20.0), `area_code_m49`, `item_code` (210081, 210081M, 210071F), `element_code` (range 6121.0–61322.0), `esa_source` (HDX) and 1 others.
**Other** — `area` (Botswana), `item` (Number of moderately or severely food insecure people (million) (3-year average), Number of moderately or severely food insecure male adults (million) (3-year average), Number of severely food insecure female adults (million) (3-year average)), `element` (Value, Confidence interval: Lower bound, Confidence interval: Upper bound), `unit` (%, million No, kcal/cap/d), `flag` (E, X, A) and 1 others.
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-faostat-food-security-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 |
|---|---|---|---|
| `iso3` | object | 0.0% | BWA |
| `startdate` | datetime64[ns] | 0.0% | |
| `enddate` | datetime64[ns] | 0.0% | |
| `area_code` | int64 | 0.0% | 20.0 – 20.0 (mean 20.0) |
| `area_code_m49` | datetime64[ns] | 0.0% | |
| `area` | object | 0.0% | Botswana |
| `item_code` | object | 0.0% | 210081, 210081M, 210071F |
| `item` | object | 0.0% | Number of moderately or severely food insecure people (million) (3-year average), Number of moderately or severely food insecure male adults (million) (3-year average), Number of severely food insecure female adults (million) (3-year average) |
| `element_code` | int64 | 0.0% | 6121.0 – 61322.0 (mean 17589.7103) |
| `element` | object | 0.0% | Value, Confidence interval: Lower bound, Confidence interval: Upper bound |
| `year_code` | int64 | 0.0% | 2000.0 – 20222024.0 (mean 10687981.7276) |
| `year` | int64 | 0.0% | 2000.0 – 2024.0 (mean 2014.4514) |
| `unit` | object | 2.1% | %, million No, kcal/cap/d |
| `value` | float64 | 7.1% | 0.0 – 18933.0 (mean 657.4704) |
| `flag` | object | 0.0% | E, X, A |
| `note` | object | 68.7% | Official estimate integrated with FAO data, Imputed value |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-15 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `area_code` | 20.0 | 20.0 | 20.0 | 20.0 |
| `element_code` | 6121.0 | 61322.0 | 17589.7103 | 6128.0 |
| `year_code` | 2000.0 | 20222024.0 | 10687981.7276 | 20032005.0 |
| `year` | 2000.0 | 2024.0 | 2014.4514 | 2016.0 |
| `value` | 0.0 | 18933.0 | 657.4704 | 23.5 |
---
## 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`. 4 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). 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 Food and Agriculture Organization (FAO) of the United Nations and has not been independently validated by ESA.
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
- The following columns have >20% missing values and should be treated with caution in modelling: `note`.
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/faostat-food-security-indicators-for-botswana) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_faostat_food_security_indicators_for_botswana,
title = {Botswana - Food Security and Nutrition Indicators},
author = {Food and Agriculture Organization (FAO) of the United Nations},
year = {2026},
url = {https://data.humdata.org/dataset/faostat-food-security-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



