遇见数据集

electricsheepafrica/africa-ilo-emp-pifl-sex-ocu-geo-rt-share-of-employment-outside-the-formal-sector-by-s

收藏
Hugging Face2026-05-26 更新2026-05-31 收录
官方服务:

资源简介:

--- license: cc-by-4.0 language: - en task_categories: - tabular-classification - tabular-regression - time-series-forecasting multilinguality: monolingual size_categories: - 10K<n<100K tags: - tabular - africa - ilostat - informal-economy - ilo - labour - employment pretty_name: "Share of employment outside the formal sector by sex, occupation and rural / urban areas ( | Africa (ILOSTAT)" --- # Share of employment outside the formal sector by sex, occupation and rural / urban areas ( | Africa (ILOSTAT) 🌍 **19,025 observations** · **39 Africa countries** · **1999–2025** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)* ![rows](https://img.shields.io/badge/rows-19,025-blue) ![countries](https://img.shields.io/badge/countries-39-green) ![years](https://img.shields.io/badge/years-1999–2025-orange) ![indicators](https://img.shields.io/badge/indicators-1-purple) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey) ## TL;DR This dataset contains **19,025 observations** of `Informal economy` data across **39 Africa countries**, spanning **1999–2025**, covering **1 distinct indicators**. ## About the source **ILOSTAT** is the ILO's central statistics database, the leading global source for labour statistics. It compiles indicators across employment, unemployment, wages, working time, child labour, informal economy, social protection, occupational injuries, and SDG decent work targets — drawing on national labour force surveys, household income surveys, establishment surveys, and administrative records. Coverage spans 200+ economies, with the ILO's Department of Statistics responsible for harmonisation. - **Source:** [ILOSTAT](https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OCU_GEO_RT) - **Publisher:** International Labour Organization (ILO) - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/) - **Topic:** Informal economy ## Methodology Data pulled directly from the ILOSTAT REST API at `https://rplumber.ilo.org/data/indicator?id=EMP_PIFL_SEX_OCU_GEO_RT` and filtered to Africa ISO3 country codes. ILOSTAT harmonises raw survey microdata using ICLS (International Conference of Labour Statisticians) definitions; sources are flagged in the `source.label` column for traceability. ## Geographic coverage 39 Africa countries · top rows shown below, sorted by row count: | Country | Rows | First year | Last year | |---------|-----:|-----------:|----------:| | `ZAF` | 2,489 | 2008 | 2024 | | `EGY` | 1,500 | 2009 | 2024 | | `AGO` | 1,247 | 2004 | 2025 | | `MLI` | 1,210 | 2013 | 2024 | | `RWA` | 1,038 | 2017 | 2025 | | `ZMB` | 1,028 | 2017 | 2024 | | `ZWE` | 912 | 2011 | 2024 | | `UGA` | 867 | 2010 | 2021 | | `SEN` | 784 | 2015 | 2024 | | `NAM` | 707 | 2012 | 2018 | | `BFA` | 544 | 2018 | 2024 | | `CIV` | 536 | 2016 | 2022 | | `GMB` | 508 | 2012 | 2025 | | `COD` | 429 | 2005 | 2020 | | `MDG` | 393 | 2012 | 2022 | | ... | _24 more countries_ | | | ## Indicators (sample) - `EMP_PIFL_SEX_OCU_GEO_RT` — Share of employment outside the formal sector by sex, occupation and rural / urban areas (%) ## Schema | Column | Type | Description | Example | |--------|------|-------------|---------| | `ref_area` | `string` | ISO 3166-1 alpha-3 country code | `AGO` | | `ref_area.label` | `string` | Country name in English | `Angola` | | `source` | `string` | ILOSTAT source code (e.g. labour force survey) | `BA:13951` | | `source.label` | `string` | Source name in English | `LFS - Employment Survey` | | `indicator` | `string` | ILOSTAT indicator code | `EMP_PIFL_SEX_OCU_GEO_RT` | | `indicator.label` | `string` | Indicator name in English | `Share of employment outside the forma…` | | `sex` | `string` | Disaggregation by sex (SEX_T = total, SEX_M = male, SEX_F = female) | `SEX_T` | | `sex.label` | `string` | — | `Total` | | `classif1` | `string` | First classification variable (age, education, status, etc.) | `OCU_SKILL_TOTAL` | | `classif1.label` | `string` | — | `Occupation (Skill level): Total` | | `classif2` | `string` | Second classification variable where applicable | `GEO_COV_NAT` | | `classif2.label` | `string` | — | `Area type: National` | | `time` | `int64` | Observation year | `2025` | | `obs_value` | `float64` | Observed indicator value (unit varies — see indicator definition) | `80.588` | | `obs_status` | `string` | Observation status flag (e.g. provisional, unreliable) | `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…` | ## Disaggregation dimensions The following columns provide disaggregation dimensions: - **`sex`** (3 unique values): `SEX_T`, `SEX_M`, `SEX_F` ## Data quality & caveats - Data is annual frequency. Some indicators also publish monthly or quarterly series — those are not included here. - When an indicator has multiple sources for the same country×year, the ILO-selected 'best source' is used. - Disaggregation columns (`sex`, `classif1`, `classif2`) are non-null only when the indicator publishes that breakdown. ## Usage ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ilo-emp-pifl-sex-ocu-geo-rt-share-of-employment-outside-the-formal-sector-by-s") df = ds["train"].to_pandas() print(df.head()) ``` ### Filter to one country ```python kenya = df[df["ref_area"] == "KEN"] ``` ### Time-series for a single indicator ```python sample = (df[df["indicator"] == "EMP_PIFL_SEX_OCU_GEO_RT"] .sort_values("time")) sample.plot(x="time", y="obs_value", title="EMP_PIFL_SEX_OCU_GEO_RT") ``` ### Pivot to country × year matrix ```python matrix = (df[df["indicator"] == "EMP_PIFL_SEX_OCU_GEO_RT"] .pivot_table(index="time", columns="ref_area", values="obs_value")) print(matrix.tail()) ``` ## Citation ```bibtex @misc{africa_ilo_emp_pifl_sex_ocu_geo_rt_share_of_employment_outside_the_formal_sector_by_s_2025, title = {Share of employment outside the formal sector by sex, occupation and rural / urban areas ( | Africa (ILOSTAT)}, author = {International Labour Organization (ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OCU_GEO_RT}, publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-emp-pifl-sex-ocu-geo-rt-share-of-employment-outside-the-formal-sector-by-s}} } ``` ## License Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/). Original data © International Labour Organization (ILO). When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging. ## About Electric Sheep Electric Sheep Africa is part of the Electric Sheep mission: a unified, ML-ready data layer for Africa on HuggingFace. We pull data from authoritative open sources, normalize the schemas, package as Parquet, and publish with consistent dataset cards so researchers and developers can use `load_dataset()` to start working in seconds. Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica) --- _Provenance: ingested 2026-05-26 via the Electric Sheep pipeline. Source URL: https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_PIFL_SEX_OCU_GEO_RT_

This dataset contains 19,025 observations on the share of employment outside the formal sector across 39 African countries from 1999 to 2025. The data is disaggregated by sex, occupation, and rural/urban areas, with the key indicator being EMP_PIFL_SEX_OCU_GEO_RT, representing the percentage of employment in the informal sector. Sourced from the International Labour Organizations (ILO) ILOSTAT database via its REST API, the data has been harmonized for consistency. Organized in tabular format, it includes columns such as country code, indicator, classification variables (e.g., sex), year, observed value, and data quality flags, making it suitable for tasks like tabular classification, regression, and time-series forecasting. The dataset is repackaged by Electric Sheep Africa as part of a unified, ML-ready data layer for Africa.

提供机构:
electricsheepafrica
搜集汇总
数据集介绍
electricsheepafrica/africa-ilo-emp-pifl-sex-ocu-geo-rt-share-of-employment-outside-the-formal-sector-by-s 数据集图片
构建方式
该数据集脱胎于国际劳工组织旗舰统计数据库ILOSTAT,由Electric Sheep Africa团队对原始就业统计资料执行系统性元数据标准化与格式重封装。构建过程以非洲39国为地理单元,系统采集1999年至2025年间非正规部门就业占比的观测记录,累积形成一万九千零二十五条结构化条目,覆盖性别、职业类别及城乡地域等多维分类变量。原始统计口径的指标定义、单位说明与抽样方法均被保留于元数据层,数据经清洗后以Parquet列式格式存储,兼顾压缩效率与读取性能,并配以标准化README文书予以说明。
特点
数据集聚焦非洲非正规经济这一劳动经济学核心议题,在时空双维度上呈现出显著的覆盖广度与观测密度。其变量架构交织性别、职业与城乡三重分层维度,为解析非正规就业的结构性差异提供了细粒度截面。数据规模处于万级区间,以表格与文本混合模态呈现,兼顾定量建模与定性解读的双重需求。元数据虽存在国别标识与上游出版方等字段的留存缺口,但整体遵循开放数据规范,以CC BY 4.0许可发布,确保学术复现与二次开发的合规性。
使用方法
研究者可借助Hugging Face datasets库以单行指令加载数据,检索所得对象包含完整特征架构与分片信息,便于快速检视数据结构。针对表格型任务,可将分片转换为Pandas数据框以衔接后续统计分析流程。使用之前宜先行核查变量定义、计量单位与缺失值分布,审慎处理地理标识未显式声明的情形并在分析中记录相应假设。数据集支持与Electric Sheep Africa目录下其他非洲数据集依国别、年份及指标字段进行横向关联,亦可服务于非正规就业的时序演化与跨国比较研究。
背景与挑战
背景概述
非正规经济就业的测度长期以来构成劳动经济学与发展经济学交汇处的核心议题,其规模与结构直接映射出劳动力市场的制度成熟度与社会保障覆盖率。国际劳工组织(ILO)依托ILOSTAT统计数据库构建的该指标,经Electric Sheep Africa于2026年标准化编目,覆盖39个非洲国家、1999至2025年间共计19,025条观测记录,按性别、职业类别与城乡地域三个维度系统刻画正规部门以外就业人口的分布格局。该数据集为比较非洲各国非正规就业的性别差异与空间异质性提供了跨国、跨时的高粒度经验基础,亦为追踪非正规部门演化趋势、评估体面劳动议程进展与设计靶向性就业政策提供了可复现的量化依据。
当前挑战
非正规就业统计所涉领域问题在于其概念边界本身具有模糊性:各国对非正规部门的操作化定义、抽样口径与调查周期不尽一致,跨国可比性因而面临结构性制约。就构建过程而言,ILOSTAT原始数据的元数据在编目环节存在国别标识与上游发布者字段缺失之情形,迫使下游分析在缺乏明确地理编码时须依赖标题或来源元数据进行推证并留存假设记录。观测数据中的缺失值处理亦需谨慎,不宜轻率插补,以免扭曲非正规就业比例的真实分布。变量定义、单位与统计方法的确认须回溯至原始来源材料,不能仅凭标签推断其政策内涵。城乡与职业维度的细分数据在部分国家存在覆盖不均的问题,跨年比较时尤须警惕统计口径变迁所致的人为断点。上述限制共同构成该数据集在跨国面板分析与因果推断应用中的方法学挑战。
常用场景
经典使用场景
在劳动经济学与非洲发展研究的交叉领域中,该数据集最为经典的用途在于刻画非正规部门就业的性别分化与城乡异质性。研究者依托覆盖三十九个非洲国家、逾一万九千条观测的跨国面板结构,按性别、职业类别与城乡区位对正规部门之外的就业份额进行分层比较,进而揭示女性与农村劳动者在非正规经济中的结构性集中现象。此类分析通常结合纵向时序数据,考察非正规就业比重的演变轨迹及其与宏观经济波动的关联。
解决学术问题
该数据集有效回应了非洲非正规经济研究中长期存在的度量难题,即缺乏跨国可比、按性别与城乡维度细分的标准化就业统计。既往研究多依赖国别调查或局部抽样,难以支撑跨区域比较与稳健推断。此数据集以国际劳工组织统计标准为基准,统一了指标口径与地理编码,使学者得以检验非正规就业与贫困、性别不平等及城市化进程之间的理论假设,为包容性增长与体面劳动议题提供了可复现的实证基础。
衍生相关工作
围绕该数据集,已衍生出一系列聚焦非洲劳动力市场结构的衍生研究。部分工作将其与国际劳工组织其他指标库进行跨源链接,构建多维就业脆弱性指数;另有研究以该数据为基准,训练用于缺失值插补与短期预测的统计学习模型。在区域比较层面,若干文献将其纳入撒哈拉以南非洲非正规经济长期演变的综合分析框架,推动了关于正规化路径与结构转型关系的持续讨论。
以上内容由遇见数据集搜集并总结生成
二维码
社区交流群
二维码
科研交流群
商业服务