electricsheepafrica/africa-world-bank-social-protection-and-labor-indicators-for-botswana
收藏Hugging Face2026-04-20 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-world-bank-social-protection-and-labor-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:
- other
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- indicators
- socioeconomics
- bwa
pretty_name: "Botswana - Social Protection and Labor"
dataset_info:
splits:
- name: train
num_examples: 3472
- name: test
num_examples: 868
---
# Botswana - Social Protection and Labor
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-social-protection-and-labor-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.
The supply of labor available in an economy includes people who are employed, those who are unemployed but seeking work, and first-time job-seekers. Not everyone who works is included: unpaid workers, family workers, and students are often omitted, while some countries do not count members of the armed forces. Data on labor and employment are compiled by the International Labour Organization (ILO) from labor force surveys, censuses, establishment censuses and surveys, and administrative records such as employment exchange registers and unemployment insurance schemes.
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** | Humanitarian and development data |
| **Unit of observation** | Country-level aggregates |
| **Rows (total)** | 4,340 |
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
| **Train split** | 3,472 rows |
| **Test split** | 868 rows |
| **Geographic scope** | BWA |
| **Publisher** | World Bank Group |
| **HDX last updated** | 2026-03-27 |
---
## Variables
**Geographic** — `country_name` (Botswana), `country_iso3` (BWA), `year` (range 1964.0–2025.0).
**Outcome / Measurement** — `value` (range 0.0–1215788.0).
**Identifier / Metadata** — `indicator_name` (Ratio of female to male labor force participation rate (%) (modeled ILO estimate), Labor force participation rate for ages 15-24, total (%) (modeled ILO estimate), Labor force, total), `indicator_code` (SL.TLF.CACT.FM.ZS, SL.TLF.ACTI.1524.ZS, SL.TLF.TOTL.IN), `esa_source` (HDX), `esa_processed` (2026-04-15).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-social-protection-and-labor-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% | 1964.0 – 2025.0 (mean 2010.3085) |
| `indicator_name` | object | 0.0% | Ratio of female to male labor force participation rate (%) (modeled ILO estimate), Labor force participation rate for ages 15-24, total (%) (modeled ILO estimate), Labor force, total |
| `indicator_code` | object | 0.0% | SL.TLF.CACT.FM.ZS, SL.TLF.ACTI.1524.ZS, SL.TLF.TOTL.IN |
| `value` | float64 | 0.0% | 0.0 – 1215788.0 (mean 15755.5589) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-15 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `year` | 1964.0 | 2025.0 | 2010.3085 | 2012.0 |
| `value` | 0.0 | 1215788.0 | 15755.5589 | 24.4793 |
---
## 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-social-protection-and-labor-indicators-for-botswana) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_world_bank_social_protection_and_labor_indicators_for_botswana,
title = {Botswana - Social Protection and Labor},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-social-protection-and-labor-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:
- 英语
license: cc-by-4.0
multilinguality:
- 单语言
size_categories:
- 1K<n<10K
source_datasets:
- 原创数据集
task_categories:
- 其他
task_ids: []
tags:
- 非洲
- 人道主义
- HDX(Humanitarian Data Exchange)
- Electric Sheep Africa
- 指标
- 社会经济学
- BWA
pretty_name: "博茨瓦纳——社会保护与劳动"
dataset_info:
splits:
- name: train
num_examples: 3472
- name: test
num_examples: 868
# 博茨瓦纳——社会保护与劳动
**发布方:** 世界银行集团 · **数据源:** [HDX(Humanitarian Data Exchange)](https://data.humdata.org/dataset/world-bank-social-protection-and-labor-indicators-for-botswana) · **许可协议:** `cc-by` · **更新时间:** 2026-03-27
---
## 摘要
本数据集包含来自世界银行[数据门户](http://data.worldbank.org/)的相关数据。HDX平台上另有一份[整合型国家数据集](https://data.humdata.org/dataset/world-bank-combined-indicators-for-botswana)。
经济体中的可用劳动力供给涵盖已就业人员、失业但正在求职的人员以及首次求职者。并非所有劳动者均被纳入统计范围:无报酬劳动者、家庭帮工与学生常被排除在外,部分国家还未将军人纳入统计范畴。劳动力与就业数据由国际劳工组织(International Labour Organization,简称ILO)通过劳动力调查、人口普查、企业普查与调查,以及就业登记册、失业保险计划等行政记录汇编而成。
本数据集的每一行均代表国家级汇总数据。HDX平台上的该数据集最后更新于2026-03-27。地理覆盖范围:**BWA**。
*本数据集由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)整理为机器学习可用的Parquet格式。*
---
## 数据集特征
| | |
|---|---|
| **领域** | 人道主义与发展数据 |
| **观测单元** | 国家级汇总数据 |
| **总数据行数** | 4,340 |
| **列数** | 8(2个数值型,6个分类型,0个日期时间型) |
| **训练集拆分** | 3,472行 |
| **测试集拆分** | 868行 |
| **地理覆盖范围** | BWA |
| **发布方** | 世界银行集团 |
| **HDX最后更新时间** | 2026-03-27 |
---
## 变量
**地理类** — `country_name`(国家名称:博茨瓦纳)、`country_iso3`(国家ISO3代码:BWA)、`year`(年份:取值范围1964.0–2025.0)。
**结果/测量类** — `value`(数值:取值范围0.0–1215788.0)。
**标识符/元数据类** — `indicator_name`(女性与男性劳动力参与率之比(%,ILO估算模型)、15-24岁年龄组劳动力总参与率(%,ILO估算模型)、劳动力总量)、`indicator_code`(SL.TLF.CACT.FM.ZS、SL.TLF.ACTI.1524.ZS、SL.TLF.TOTL.IN)、`esa_source`(HDX)、`esa_processed`(2026-04-15)。
---
## 快速上手
python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-social-protection-and-labor-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% | 1964.0 – 2025.0(均值2010.3085) |
| `indicator_name` | object | 0.0% | 女性与男性劳动力参与率之比(%,ILO估算模型)、15-24岁年龄组劳动力总参与率(%,ILO估算模型)、劳动力总量 |
| `indicator_code` | object | 0.0% | SL.TLF.CACT.FM.ZS、SL.TLF.ACTI.1524.ZS、SL.TLF.TOTL.IN |
| `value` | float64 | 0.0% | 0.0 – 1215788.0(均值15755.5589) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-15 |
---
## 数值型统计摘要
| 列名 | 最小值 | 最大值 | 均值 | 中位数 |
|---|---|---|---|---|
| `year` | 1964.0 | 2025.0 | 2010.3085 | 2012.0 |
| `value` | 0.0 | 1215788.0 | 15755.5589 | 24.4793 |
---
## 数据整理流程
原始数据通过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-social-protection-and-labor-indicators-for-botswana)。
---
## 引用格式
bibtex
@dataset{hdx_africa_world_bank_social_protection_and_labor_indicators_for_botswana,
title = {Botswana - Social Protection and Labor},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-social-protection-and-labor-indicators-for-botswana},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — 非洲的机器学习数据集基础设施。尼日利亚拉各斯。*
提供机构:
electricsheepafrica



