electricsheepafrica/africa-ilo-pop-xwap-sex-edu-mts-nb-working-age-population-by-sex-education-and-marita
收藏资源简介:
该数据集包含了非洲49个国家从1982年至2025年期间的劳动年龄人口统计数据,具体按性别、教育程度和婚姻状况进行分列,计量单位为千。数据集共有105,207条观测记录,涵盖一个核心指标:Working-age population by sex, education and marital status (thousands)。数据来源于国际劳工组织(ILO)的官方统计数据库ILOSTAT,该数据库是全球劳动力统计数据的主要来源,通过协调各国劳动力调查、家庭收入调查、机构调查和行政记录等数据编制而成。数据集经过Electric Sheep Africa重新打包,以表格形式呈现,包含国家代码、年份、指标值、数据来源、性别分类、教育分类、婚姻状况分类以及各类数据质量注释列,便于机器学习研究和分析使用。
--- 许可证:cc-by-4.0 语言: - en 任务类别: - 表格分类任务(tabular-classification) - 表格回归任务(tabular-regression) - 时间序列预测任务(time-series-forecasting) 多语言属性:单语言(monolingual) 样本量范围: - 100K<n<1M 标签: - tabular(表格型数据) - africa(非洲) - ilostat - population(人口) - ilo(国际劳工组织) - labour(劳动) - employment(就业) 友好名称:"按性别、教育程度和婚姻状况划分的劳动年龄人口(千人)| 非洲(ILOSTAT)" --- # 按性别、教育程度和婚姻状况划分的劳动年龄人口(千人)| 非洲(ILOSTAT) 🌍 **105,207条观测数据** · **49个非洲国家** · **1982–2025年** · *由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)重新打包*      ## 简短摘要 本数据集包含**105,207条观测数据**的人口相关数据,覆盖**49个非洲国家**,时间跨度为**1982–2025年**,仅包含**1个独特指标**。 ## 关于数据源 **ILOSTAT(国际劳工组织统计数据库)**是国际劳工组织(International Labour Organization, ILO)的中央统计数据库,是全球领先的劳动统计权威来源。它整合了就业、失业、工资、工作时长、童工、非正规经济、社会保障、职业伤害以及可持续发展目标体面工作目标等各类指标,数据来源于全国劳动力调查、家庭收入调查、机构调查和行政记录,覆盖200多个经济体,由国际劳工组织统计司负责数据标准化整合。 - **数据源:** [ILOSTAT](https://www.ilo.org/shinyapps/bulkexplorer/?id=POP_XWAP_SEX_EDU_MTS_NB) - **发布方:** 国际劳工组织(International Labour Organization, ILO) - **许可证:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/) - **主题:** 人口 ## 数据处理方法 数据直接从ILOSTAT的REST API接口`https://rplumber.ilo.org/data/indicator?id=POP_XWAP_SEX_EDU_MTS_NB`拉取,并筛选出非洲地区的ISO3国家代码。ILOSTAT采用国际劳工统计学家会议(International Conference of Labour Statisticians, ICLS)的定义对原始调查微观数据进行标准化整合;数据来源会在`source.label`列中标记以保证可追溯性。 ## 地理覆盖范围 49个非洲国家 · 以下为按行数排序的前15个国家: | 国家代码 | 行数 | 首年份 | 末年份 | |---------|-----:|-----------:|----------:| | `ZAF` | 10,727 | 2000 | 2024 | | `MUS` | 7,686 | 2001 | 2024 | | `EGY` | 6,553 | 2008 | 2024 | | `GHA` | 4,966 | 1991 | 2024 | | `MLI` | 4,328 | 2009 | 2024 | | `AGO` | 3,764 | 2004 | 2025 | | `RWA` | 3,597 | 2014 | 2025 | | `ZMB` | 3,372 | 2015 | 2024 | | `BWA` | 2,954 | 2006 | 2024 | | `TUN` | 2,925 | 2005 | 2023 | | `TZA` | 2,876 | 2001 | 2024 | | `SEN` | 2,833 | 2011 | 2024 | | `TGO` | 2,823 | 2006 | 2022 | | `ZWE` | 2,747 | 2011 | 2024 | | `BFA` | 2,568 | 2006 | 2024 | | ... | _其余34个国家_ | | | ## 指标(示例) - `POP_XWAP_SEX_EDU_MTS_NB` — 按性别、教育程度和婚姻状况划分的劳动年龄人口(千人) ## 数据架构 | 列名 | 数据类型 | 描述 | 示例 | |--------|------|-------------|---------| | `ref_area` | `string` | ISO 3166-1 alpha-3国家代码 | `AGO` | | `ref_area.label` | `string` | 英文国家名称 | `Angola` | | `source` | `string` | ILOSTAT来源代码(如劳动力调查) | `BA:13951` | | `source.label` | `string` | 英文来源名称 | `LFS - 就业调查` | | `indicator` | `string` | ILOSTAT指标代码 | `POP_XWAP_SEX_EDU_MTS_NB` | | `indicator.label` | `string` | 英文指标名称 | `按性别、教育程度划分的劳动年龄人口……` | | `sex` | `string` | 性别细分维度(SEX_T=总计,SEX_M=男性,SEX_F=女性) | `SEX_T` | | `sex.label` | `string` | — | `Total` | | `classif1` | `string` | 第一个分类变量(年龄、教育程度、身份等) | `EDU_AGGREGATE_TOTAL` | | `classif1.label` | `string` | — | `Education (Aggregate levels): Total` | | `classif2` | `string` | 适用的第二个分类变量 | `MTS_AGGREGATE_TOTAL` | | `classif2.label` | `string` | — | `Marital status (Aggregate): Total` | | `time` | `int64` | 观测年份 | `2025` | | `obs_value` | `float64` | 观测指标值(单位详见指标定义) | `20993.124` | | `obs_status` | `string` | 观测状态标记(如临时、不可靠) | `U` | | `obs_status.label` | `string` | — | `Unreliable` | | `note_classif` | `string` | — | `C3:3710` | | `note_classif.label` | `string` | — | `Nonstandard education level: Includin…` | | `note_indicator` | `string` | — | `I11:264` | | `note_indicator.label` | `string` | — | `Break in series: Methodology revised` | | `note_source` | `string` | — | `R1:3513` | | `note_source.label` | `string` | — | `Repository: ILO-STATISTICS - Micro da…` | ## 细分维度 以下列提供数据细分维度: - **`sex`**(3个唯一取值):`SEX_T`、`SEX_M`、`SEX_F`,分别对应总计、男性、女性 ## 数据质量与注意事项 - 数据为年度频率,部分指标也发布月度或季度序列,本数据集未包含此类序列。 - 当同一国家×年份的同一指标存在多个来源时,采用国际劳工组织选定的"最佳来源"。 - 细分列(`sex`、`classif1`、`classif2`)仅在指标支持该细分维度时非空。 ## 使用方法 python from datasets import load_dataset # 加载数据集 ds = load_dataset("electricsheepafrica/africa-ilo-pop-xwap-sex-edu-mts-nb-working-age-population-by-sex-education-and-marita") # 将数据集转换为Pandas DataFrame df = ds["train"].to_pandas() # 打印前5行数据 print(df.head()) ### 筛选单个国家的数据 python # 筛选出肯尼亚的数据 kenya = df[df["ref_area"] == "KEN"] ### 单个指标的时间序列数据 python # 筛选指定指标并按年份排序 sample = (df[df["indicator"] == "POP_XWAP_SEX_EDU_MTS_NB"] .sort_values("time")) # 绘制时间序列折线图 sample.plot(x="time", y="obs_value", title="POP_XWAP_SEX_EDU_MTS_NB") ### 转换为国家×年份的透视矩阵 python # 将数据透视为「年份 × 国家」的矩阵 matrix = (df[df["indicator"] == "POP_XWAP_SEX_EDU_MTS_NB"] .pivot_table(index="time", columns="ref_area", values="obs_value")) # 打印最后5行数据 print(matrix.tail()) ## 引用格式 bibtex @misc{africa_ilo_pop_xwap_sex_edu_mts_nb_working_age_population_by_sex_education_and_marita_2025, title = {按性别、教育程度和婚姻状况划分的劳动年龄人口(千人)| 非洲(ILOSTAT)}, author = {国际劳工组织(International Labour Organization, ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=POP_XWAP_SEX_EDU_MTS_NB}, publisher = {HuggingFace Datasets, 由Electric Sheep Africa重新打包}, howpublished = {url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-pop-xwap-sex-edu-mts-nb-working-age-population-by-sex-education-and-marita}} } ## 许可证 本数据集采用[cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)协议发布。 原始数据版权归国际劳工组织(International Labour Organization, ILO)所有。使用本数据集时,请同时引用上述原始来源以及Electric Sheep Africa的重新打包版本。 ## 关于Electric Sheep Electric Sheep Africa是Electric Sheep使命的一部分:在HuggingFace平台上构建统一的、适用于机器学习的非洲数据层。我们从权威开源数据源获取数据,标准化数据架构,打包为Parquet格式,并发布格式统一的数据集卡片,以便研究人员和开发者仅需调用`load_dataset()`即可在数秒内启动工作。 浏览完整数据集集合:[huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica) --- _数据溯源:2026-05-26通过Electric Sheep管道摄取。源URL: https://www.ilo.org/shinyapps/bulkexplorer/?id=POP_XWAP_SEX_EDU_MTS_NB_




