electricsheepafrica/africa-kenya-subcounties
收藏Hugging Face2026-04-27 更新2026-05-03 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-kenya-subcounties
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-4.0
multilinguality:
- monolingual
size_categories:
- n<1K
source_datasets:
- original
task_categories:
- tabular-classification
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- kenya
- sub-counties
pretty_name: "Kenya Subcounties"
dataset_info:
splits:
- name: train
num_examples: 276
- name: test
num_examples: 69
---
# Kenya Subcounties
**Publisher:** Code for Africa · **Source:** [OpenAfrica](https://open.africa/dataset/kenya-subcounties) · **License:** `cc-by` · **Updated:** 2023-11-30
---
## Abstract
Sub counties within Counties in Kenya
Each row in this dataset represents subnational administrative unit observations. Data was last updated on OpenAfrica on 2023-11-30. Geographic scope: **Africa (multiple countries)**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Humanitarian and development data |
| **Unit of observation** | Subnational administrative unit observations |
| **Rows (total)** | 345 |
| **Columns** | 4 (0 numeric, 4 categorical, 0 datetime) |
| **Train split** | 276 rows |
| **Test split** | 69 rows |
| **Geographic scope** | Africa (multiple countries) |
| **Publisher** | Code for Africa |
| **OpenAfrica last updated** | 2023-11-30 |
---
## Variables
**Geographic** — `subcounty` (Mt Kenya Forest, Aberdare Forest, Changamwe).
**Identifier / Metadata** — `name` (Kitui, Meru, Kakamega), `esa_source` (HDX), `esa_processed` (2026-04-27).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-kenya-subcounties")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
```
---
## Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
| `name` | object | 0.0% | Kitui, Meru, Kakamega |
| `subcounty` | object | 0.0% | Mt Kenya Forest, Aberdare Forest, Changamwe |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-27 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
_No numeric columns._
---
## Curation
Raw data was downloaded from OpenAfrica 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 Code for Africa 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://open.africa/dataset/kenya-subcounties) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{openafrica_africa_kenya_subcounties,
title = {Kenya Subcounties},
author = {Code for Africa},
year = {2023},
url = {https://open.africa/dataset/kenya-subcounties},
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



