electricsheepafrica/africa-ilo-emp-pifl-sex-ins-mts-nb-employment-outside-the-formal-sector-by-sex-public
收藏资源简介:
该数据集包含10,834个观测值,涉及非正规经济数据,覆盖45个非洲国家,时间跨度为1999年至2025年,包含1个独立指标(EMP_PIFL_SEX_INS_MTS_NB),即按性别、公共/私营部门和婚姻状况划分的正式部门外就业人数(以千计)。数据来源于国际劳工组织(ILO)的ILOSTAT数据库,通过API获取并过滤为非洲国家,使用国际劳工统计学家会议(ICLS)定义进行标准化。数据集包含多列,如国家代码、指标、性别分类、时间年份、观测值等,并提供了数据质量说明,例如数据为年度频率,ILO选择“最佳来源”用于同一国家×年份的多个来源。数据集适用于表格分类、回归和时间序列预测任务,由Electric Sheep Africa重新打包发布,采用CC-BY-4.0许可证。
--- license: CC BY 4.0 language: - en task_categories: - 表格分类(tabular-classification) - 表格回归 - 时间序列预测 multilinguality: 单语言 size_categories: - 10,000 < 样本量 < 100,000 tags: - 表格数据 - 非洲 - ILOSTAT - 非正规经济(informal economy) - 国际劳工组织(ILO) - 劳动力 - 就业 pretty_name: "按性别、公共/私营部门及婚姻状况划分的非正规部门就业(千人 | 非洲(ILOSTAT))" --- # 按性别、公共/私营部门及婚姻状况划分的非正规部门就业(千人 | 非洲(ILOSTAT)) 🌍 **共10,834条观测样本** · **覆盖45个非洲国家** · **时间跨度为1999年至2025年** · *由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)重新封装*      ## 核心摘要 本数据集包含**覆盖45个非洲国家的非正规经济数据**,共**10,834条观测样本**,时间跨度为**1999年至2025年**,仅包含**1项核心指标**。 ## 数据源说明 **国际劳工组织统计数据库(ILOSTAT)**是国际劳工组织(ILO)的核心统计数据库,也是全球领先的劳动力统计数据来源。该库收录涵盖就业、失业、薪酬、工作时长、童工、非正规经济、社会保障、职业伤害以及可持续发展目标(SDGs)体面工作目标在内的各类指标,数据来源包括全国劳动力调查、家庭收入调查、机构调查及行政记录。其覆盖全球200余个经济体,由国际劳工组织统计司负责数据的标准化协调。 - **数据来源**:[ILOSTAT](https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_INS_MTS_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_INS_MTS_NB`拉取数据,并筛选出非洲国家的ISO 3166-1 alpha-3国家代码。国际劳工组织统计数据库采用国际劳工统计学家会议(ICLS)的定义对原始调查微观数据进行标准化协调;数据来源会在`source.label`列中标记,以保证可追溯性。 ## 地理覆盖范围 覆盖45个非洲国家,以下按样本量排序展示部分国家: | 国家代码 | 样本量 | 起始年份 | 结束年份 | |---------|-----:|-----------:|----------:| | `ZAF` | 1,330 | 2000 | 2024 | | `EGY` | 745 | 2008 | 2024 | | `MUS` | 620 | 2012 | 2024 | | `MLI` | 558 | 2013 | 2024 | | `RWA` | 513 | 2017 | 2025 | | `ZWE` | 506 | 2011 | 2024 | | `SEN` | 492 | 2011 | 2024 | | `BWA` | 482 | 2006 | 2024 | | `UGA` | 467 | 2010 | 2021 | | `AGO` | 446 | 2004 | 2025 | | `ZMB` | 426 | 2017 | 2024 | | `CIV` | 332 | 2012 | 2022 | | `NAM` | 312 | 2012 | 2018 | | `BFA` | 245 | 2018 | 2024 | | `SYC` | 241 | 2019 | 2024 | | ... | _其余30个国家_ | | | ## 指标示例 - `EMP_PIFL_SEX_INS_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 - Employment Survey` | | `indicator` | `string` | ILOSTAT 指标代码 | `EMP_PIFL_SEX_INS_MTS_NB` | | `indicator.label` | `string` | 指标英文名称 | `Employment outside the formal sector …` | | `sex` | `string` | 按性别划分的统计维度(`SEX_T`=总计,`SEX_M`=男性,`SEX_F`=女性) | `SEX_T` | | `sex.label` | `string` | 维度说明 | `Total` | | `classif1` | `string` | 第一分类变量(年龄、教育程度、就业身份等) | `INS_SECTOR_TOTAL` | | `classif1.label` | `string` | 分类变量说明 | `Institutional sector: Total` | | `classif2` | `string` | 可选第二分类变量 | `MTS_AGGREGATE_TOTAL` | | `classif2.label` | `string` | 第二分类变量说明 | `Marital status (Aggregate): Total` | | `time` | `int64` | 观测年份 | `2025` | | `obs_value` | `float64` | 观测指标值(单位请参考指标定义) | `11270.18` | | `obs_status` | `string` | 观测状态标记(如临时数据、不可靠数据) | `U` | | `obs_status.label` | `string` | 状态说明 | `Unreliable` | | `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-emp-pifl-sex-ins-mts-nb-employment-outside-the-formal-sector-by-sex-public") df = ds["train"].to_pandas() print(df.head()) ### 单国家数据筛选 python kenya = df[df["ref_area"] == "KEN"] ### 单指标时间序列可视化 python sample = (df[df["indicator"] == "EMP_PIFL_SEX_INS_MTS_NB"] .sort_values("time")) sample.plot(x="time", y="obs_value", title="EMP_PIFL_SEX_INS_MTS_NB") ### 转换为国家×年份矩阵 python matrix = (df[df["indicator"] == "EMP_PIFL_SEX_INS_MTS_NB"] .pivot_table(index="time", columns="ref_area", values="obs_value")) print(matrix.tail()) ## 引用格式 bibtex @misc{africa_ilo_emp_pifl_sex_ins_mts_nb_employment_outside_the_formal_sector_by_sex_public_2025, title = {Employment outside the formal sector by sex, public/private sector and marital status (tho | Africa (ILOSTAT)}, author = {International Labour Organization (ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_INS_MTS_NB}, publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, howpublished = {url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-emp-pifl-sex-ins-mts-nb-employment-outside-the-formal-sector-by-sex-public}} } ## 许可证 本数据集采用[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)许可证发布。原始数据版权归国际劳工组织(ILO)所有。使用本数据集时,请同时引用上述原始数据源及Electric Sheep Africa的重新封装版本。 ## 关于Electric Sheep Africa Electric Sheep Africa 是Electric Sheep项目的组成部分,该项目旨在HuggingFace平台上构建一套统一的、适配机器学习的非洲地区数据层。我们从权威开源数据源拉取数据,对数据 schema 进行标准化,封装为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_INS_MTS_NB_




