electricsheepafrica/africa-ilo-emp-pifl-sex-ocu-geo-nb-employment-outside-the-formal-sector-by-sex-occupa
收藏资源简介:
该数据集包含来自国际劳工组织(ILO)ILOSTAT数据库的非洲非正规经济就业数据,具体指标为按性别、职业和城乡地区划分的非正规部门外就业(千人数)。数据集涵盖39个非洲国家,时间跨度为1999年至2025年,包含19,042条观测记录。数据通过ILOSTAT REST API获取,并经过ILO使用国际劳工统计学家会议(ICLS)定义进行标准化处理。数据集提供了按性别、职业和城乡地区等多个维度分解的就业数据,适用于表格分类、回归和时间序列预测等任务。
许可证:CC BY 4.0 语言:英语 任务类别:表格分类、表格回归、时间序列预测 多语言属性:单语言 样本量范围:10000 < 样本量 < 100000 标签:表格数据、非洲、ILOSTAT、非正规经济、国际劳工组织(ILO)、劳动力、就业 美观名称:"按性别、职业及城乡区域划分的非正规部门就业人数(单位:千人 | 非洲(ILOSTAT))" # 按性别、职业及城乡区域划分的非正规部门就业人数(单位:千人 | 非洲(ILOSTAT)) 🌍 本数据集包含19,042条观测值,覆盖39个非洲国家,时间跨度为1999–2025年,数据来源于ILOSTAT,由Electric Sheep Africa重新整理发布于Hugging Face平台 ## 数据源说明 - 原始数据源:[ILOSTAT](https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OCU_GEO_NB) - 重新整理方:Electric Sheep Africa - 发布平台:Hugging Face Datasets ## 数据处理方法 数据直接从ILOSTAT的REST API接口拉取,筛选非洲国家ISO 3166-1 alpha-3代码子集,采用国际劳工统计学家会议(ICLS)标准进行数据标准化,数据源信息可通过`source.label`字段追溯 ## 地理覆盖范围 覆盖39个非洲国家,以下为按数据行数排序的前15个国家及其余24个国家: | 国家代码 | 数据行数 | 起始年份 | 结束年份 | |---------|---------:|---------:|---------:| | `ZAF` | 2,489 | 2008 | 2024 | | `EGY` | 1,500 | 2009 | 2024 | | `AGO` | 1,247 | 2004 | 2025 | | `MLI` | 1,212 | 2013 | 2024 | | `RWA` | 1,039 | 2017 | 2025 | | `ZMB` | 1,029 | 2017 | 2024 | | `ZWE` | 912 | 2011 | 2024 | | `UGA` | 870 | 2010 | 2021 | | `SEN` | 785 | 2015 | 2024 | | `NAM` | 707 | 2012 | 2018 | | `BFA` | 545 | 2018 | 2024 | | `CIV` | 539 | 2016 | 2022 | | `GMB` | 508 | 2012 | 2025 | | `COD` | 429 | 2005 | 2020 | | `MDG` | 394 | 2012 | 2022 | | ... | 其余24个国家 | | | ## 指标说明 本数据集仅包含1项指标:`EMP_PIFL_SEX_OCU_GEO_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 指标代码 | `EMP_PIFL_SEX_OCU_GEO_NB` | | `indicator.label` | 字符串(string) | 指标名称 | `按性别、职业及城乡区域划分的非正规部门就业人数` | | `sex` | 字符串(string) | 性别细分维度:`SEX_T`=总计、`SEX_M`=男性、`SEX_F`=女性 | `SEX_T` | | `sex.label` | 字符串(string) | 细分维度标签 | `总计` | | `classif1` | 字符串(string) | 第一分类变量(职业、技能水平等) | `OCU_SKILL_TOTAL` | | `classif1.label` | 字符串(string) | 第一分类变量标签 | `职业(技能水平):总计`| | `classif2` | 字符串(string) | 可选第二分类变量 | `GEO_COV_NAT` | | `classif2.label` | 字符串(string) | 第二分类变量标签 | `区域类型:全国范围` | | `time` | 64位整数(int64) | 观测年份 | `2025` | | `obs_value` | 64位浮点数(float64) | 观测指标值(单位见指标定义) | `11270.18` | | `obs_status` | 字符串(string) | 观测状态标记(如`U`=不可靠) | `U` | | `obs_status.label` | 字符串(string) | 观测状态标签 | `不可靠` | | `note_indicator` | 字符串(string) | 指标注释代码 | `I11:264` | | `note_indicator.label` | 字符串(string) | 指标注释详情 | `序列中断:方法学修订` | | `note_source` | 字符串(string) | 数据源注释代码 | `R1:3513` | | `note_source.label` | 字符串(string) | 数据源注释详情 | `存储库:ILO统计-微观数据` | ## 细分维度 本数据集的细分维度包括: - **`sex`**:共3个唯一值,分别为`SEX_T`、`SEX_M`、`SEX_F`,对应总计、男性、女性 ## 数据质量提示 1. 本数据集采用年度频率,未包含月度或季度序列 2. 当同一国家×年份的同一指标存在多个数据源时,将采用国际劳工组织选定的最优数据源 3. 细分维度字段(`sex`、`classif1`、`classif2`)仅在指标支持对应细分时非空 ## 使用示例 python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ilo-emp-pifl-sex-ocu-geo-nb-employment-outside-the-formal-sector-by-sex-occupa") df = ds["train"].to_pandas() print(df.head()) ### 筛选单个国家数据 python kenya = df[df["ref_area"] == "KEN"] ### 生成时间序列图表 python import matplotlib.pyplot as plt sample = df[df["indicator"] == "EMP_PIFL_SEX_OCU_GEO_NB"].sort_values("time") sample.plot(x="time", y="obs_value", title="EMP_PIFL_SEX_OCU_GEO_NB") plt.show() ### 转换为国家×年份矩阵 python matrix = df[df["indicator"] == "EMP_PIFL_SEX_OCU_GEO_NB"].pivot_table(index="time", columns="ref_area", values="obs_value") print(matrix.tail()) ## 引用格式 bibtex @misc{africa_ilo_emp_pifl_sex_ocu_geo_nb_2025, title = {Employment outside the formal sector by sex, occupation and rural / urban areas (thousands | Africa (ILOSTAT)}, author = {International Labour Organization (ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OCU_GEO_NB}, publisher = {Hugging Face Datasets, repackaged by Electric Sheep Africa}, howpublished = {url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-emp-pifl-sex-ocu-geo-nb-employment-outside-the-formal-sector-by-sex-occupa}} } ## 许可证 本数据集采用CC BY 4.0许可证发布,原始数据版权归国际劳工组织(ILO)所有,使用时请同时引用原始数据源及重新整理方 ## 数据溯源 本数据集于2026年5月26日通过Electric Sheep Africa流水线获取,源URL:https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OCU_GEO_NB




