electricsheepafrica/africa-ilo-emp-pifl-sex-oc2-nb-employment-outside-the-formal-sector-by-sex-and-oc
收藏资源简介:
该数据集包含12,689个观测值,覆盖37个非洲国家,时间跨度为1999年至2025年,专注于非正规经济指标。数据来源于国际劳工组织(ILO)的ILOSTAT数据库,涉及按性别和职业(ISCO 2级分类)统计的非正规部门就业情况(以千计)。数据集经过Electric Sheep Africa重新打包,提供结构化表格格式,适用于表格分类、回归和时间序列预测等任务。它包括国家代码、年份、性别分类、观测值等字段,并附带数据来源和质量说明,旨在支持非洲劳动力市场的研究和机器学习应用。
--- license: CC BY 4.0 language: - 英语 task_categories: - 表格分类 - 表格回归 - 时间序列预测 multilinguality: 单语种 size_categories: - 10000 < 样本量 < 100000 tags: - 表格数据 - 非洲 - ILOSTAT - 非正规经济 - 国际劳工组织(ILO) - 劳工 - 就业 pretty_name: "按性别和职业划分的非正规部门就业——ISCO第二级(单位:千人)| 非洲(ILOSTAT)" --- # 按性别和职业划分的非正规部门就业——ISCO第二级(单位:千人)| 非洲(ILOSTAT) 🌍 **12,689 条观测** · **37个非洲国家** · **1999–2025年** · *由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)重新整理*      ## 核心摘要 本数据集包含覆盖37个非洲国家、时间跨度为1999年至2025年的**12,689条非正规经济相关观测数据**,仅包含**1项独立指标**。 ## 数据源概况 **ILOSTAT(国际劳工组织统计数据库)**是国际劳工组织(ILO)的核心统计数据库,是全球领先的劳工统计权威来源。其收录的指标涵盖就业、失业、工资、工作时长、童工、非正规经济、社会保障、职业伤害以及可持续发展目标(SDG)的体面工作目标等,数据来源于全国劳动力调查、家庭收入调查、机构调查以及行政记录。该数据库覆盖全球200余个经济体,由国际劳工组织统计司负责数据的标准化整合。 - **数据源**:[ILOSTAT](https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OC2_NB) - **发布方**:国际劳工组织(ILO) - **许可证**:[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) - **主题**:非正规经济 ## 数据处理方法 本数据集直接从ILOSTAT的REST API接口`https://rplumber.ilo.org/data/indicator?id=EMP_PIFL_SEX_OC2_NB`拉取原始数据,并筛选出非洲地区的ISO 3166-1 alpha-3国家代码对应的样本。ILOSTAT采用国际劳工统计学家会议(ICLS)制定的定义对原始调查微观数据进行标准化整合;数据溯源信息将通过`source.label`列进行标记。 ## 地理覆盖范围 37个非洲国家,以下按数据行数排序展示前10个国家的信息: | 国家代码 | 数据行数 | 起始年份 | 结束年份 | |---------|-----:|-----------:|----------:| | `ZAF` | 1,998 | 2000 | 2024 | | `MUS` | 1,155 | 2012 | 2024 | | `EGY` | 902 | 2009 | 2024 | | `RWA` | 694 | 2017 | 2025 | | `AGO` | 687 | 2019 | 2025 | | `ZMB` | 644 | 2017 | 2024 | | `ZWE` | 587 | 2011 | 2024 | | `UGA` | 500 | 2010 | 2021 | | `SEN` | 446 | 2015 | 2024 | | `BFA` | 396 | 2018 | 2024 | | `NAM` | 383 | 2012 | 2018 | | `BWA` | 367 | 2019 | 2024 | | `ETH` | 265 | 1999 | 2021 | | `CIV` | 255 | 2016 | 2019 | | `GMB` | 244 | 2012 | 2025 | | ... | 另有22个国家 | | | ## 指标示例 - `EMP_PIFL_SEX_OC2_NB` — 按性别和职业划分的非正规部门就业——ISCO第二级(单位:千人) ## 数据结构 | 列名 | 数据类型 | 字段说明 | 示例值 | |--------|------|-------------|---------| | `ref_area` | `string` | ISO 3166-1 alpha-3 国家代码 | `AGO` | | `ref_area.label` | `string` | 英文国家名称 | `安哥拉` | | `source` | `string` | ILOSTAT数据源代码(如劳动力调查) | `BA:13951` | | `source.label` | `string` | 英文数据源名称 | `劳动力就业调查(LFS)` | | `indicator` | `string` | ILOSTAT指标代码 | `EMP_PIFL_SEX_OC2_NB` | | `indicator.label` | `string` | 英文指标名称 | `按性别和职业划分的非正规部门就业……` | | `sex` | `string` | 性别细分维度(SEX_T=总计,SEX_M=男性,SEX_F=女性) | `SEX_T` | | `sex.label` | `string` | 维度说明 | `总计` | | `classif1` | `string` | 第一分类变量(年龄、教育程度、身份等) | `OC2_ISCO08_TOTAL` | | `classif1.label` | `string` | 分类变量说明 | `职业(ISCO-08),2位分级:……` | | `time` | `int64` | 观测年份 | `2025` | | `obs_value` | `float64` | 观测指标值(单位见指标定义) | `11270.18` | | `obs_status` | `string` | 观测状态标记(如暂定、不可靠) | `U` | | `obs_status.label` | `string` | 状态说明 | `不可靠` | | `note_indicator` | `string` | 指标相关注释 | `I11:264` | | `note_indicator.label` | `string` | 注释说明 | `序列中断:方法学已修订` | | `note_source` | `string` | 数据源相关注释 | `R1:3513` | | `note_source.label` | `string` | 注释说明 | `存储库:国际劳工组织统计数据库-微观数据……` | ## 细分维度 以下列提供数据细分维度: - **`sex`**(共3种唯一取值):`SEX_T`、`SEX_M`、`SEX_F` ## 数据质量与注意事项 - 本数据集为年度频率数据,部分指标同时发布月度或季度序列,此类数据未纳入本数据集。 - 当同一国家×年份存在多个数据源时,将采用国际劳工组织选定的“最优数据源”。 - 细分维度列(`sex`、`classif1`、`classif2`)仅在指标支持对应细分时才会非空。 ## 使用示例 python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ilo-emp-pifl-sex-oc2-nb-employment-outside-the-formal-sector-by-sex-and-oc") df = ds["train"].to_pandas() print(df.head()) ### 筛选单一国家数据 python kenya = df[df["ref_area"] == "KEN"] ### 单个指标的时间序列可视化 python sample = (df[df["indicator"] == "EMP_PIFL_SEX_OC2_NB"] .sort_values("time")) sample.plot(x="time", y="obs_value", title="EMP_PIFL_SEX_OC2_NB") ### 转换为国家×年份矩阵 python matrix = (df[df["indicator"] == "EMP_PIFL_SEX_OC2_NB"] .pivot_table(index="time", columns="ref_area", values="obs_value")) print(matrix.tail()) ## 引用格式 bibtex @misc{africa_ilo_emp_pifl_sex_oc2_nb_employment_outside_the_formal_sector_by_sex_and_oc_2025, title = "按性别和职业划分的非正规部门就业——ISCO第二级(单位:千人)| 非洲(ILOSTAT)", author = {国际劳工组织(ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OC2_NB}, publisher = {HuggingFace数据集平台,由Electric Sheep Africa重新整理发布}, howpublished = {url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-emp-pifl-sex-oc2-nb-employment-outside-the-formal-sector-by-sex-and-oc}} } ## 许可证 本数据集采用[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)许可证发布。 原始数据版权归国际劳工组织(ILO)所有。使用本数据集时,请同时引用上述原始数据源与Electric Sheep Africa的重新整理版本。 ## 关于Electric Sheep Electric Sheep Africa是Electric Sheep使命的一部分:在HuggingFace平台上构建统一的、适配机器学习的非洲数据层。我们从权威开源数据源拉取数据,对数据结构进行标准化处理,打包为Parquet格式,并发布为格式统一的数据集卡片,以便研究人员与开发者仅需通过`load_dataset()`即可在数秒内启动数据使用工作。 浏览完整数据集集合:[huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica) --- _数据溯源:2026年5月26日通过Electric Sheep管道摄入。源URL:https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OC2_NB_




