遇见数据集

electricsheepafrica/africa-ilo-emp-temp-sex-est-geo-nb-employment-by-sex-establishment-size-and-rural-urb

收藏
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 - employment - ilo - labour pretty_name: "Employment by sex, establishment size and rural / urban areas (thousands) | Africa (ILOSTAT)" --- # Employment by sex, establishment size and rural / urban areas (thousands) | Africa (ILOSTAT) 🌍 **14,571 observations** · **39 Africa countries** · **2004–2025** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)* ![rows](https://img.shields.io/badge/rows-14,571-blue) ![countries](https://img.shields.io/badge/countries-39-green) ![years](https://img.shields.io/badge/years-2004–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 **14,571 observations** of `Employment` data across **39 Africa countries**, spanning **2004–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_TEMP_SEX_EST_GEO_NB) - **Publisher:** International Labour Organization (ILO) - **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/) - **Topic:** Employment ## Methodology Data pulled directly from the ILOSTAT REST API at `https://rplumber.ilo.org/data/indicator?id=EMP_TEMP_SEX_EST_GEO_NB` 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,028 | 2008 | 2024 | | `MLI` | 1,154 | 2013 | 2024 | | `EGY` | 1,089 | 2008 | 2023 | | `AGO` | 1,040 | 2004 | 2025 | | `SEN` | 815 | 2015 | 2024 | | `RWA` | 565 | 2014 | 2020 | | `ZMB` | 522 | 2017 | 2024 | | `TZA` | 504 | 2008 | 2020 | | `BFA` | 439 | 2014 | 2024 | | `NAM` | 416 | 2012 | 2018 | | `CIV` | 414 | 2012 | 2019 | | `KEN` | 351 | 2019 | 2022 | | `NGA` | 351 | 2022 | 2024 | | `GMB` | 351 | 2012 | 2025 | | `GHA` | 351 | 2006 | 2015 | | ... | _24 more countries_ | | | ## Indicators (sample) - `EMP_TEMP_SEX_EST_GEO_NB` — Employment by sex, establishment size and rural / urban areas (thousands) ## 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_TEMP_SEX_EST_GEO_NB` | | `indicator.label` | `string` | Indicator name in English | `Employment by sex, establishment size…` | | `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.) | `EST_AGGREGATE_TOTAL` | | `classif1.label` | `string` | — | `Establishment size (Aggregate): 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) | `13984.984` | | `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-temp-sex-est-geo-nb-employment-by-sex-establishment-size-and-rural-urb") 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_TEMP_SEX_EST_GEO_NB"] .sort_values("time")) sample.plot(x="time", y="obs_value", title="EMP_TEMP_SEX_EST_GEO_NB") ``` ### Pivot to country × year matrix ```python matrix = (df[df["indicator"] == "EMP_TEMP_SEX_EST_GEO_NB"] .pivot_table(index="time", columns="ref_area", values="obs_value")) print(matrix.tail()) ``` ## Citation ```bibtex @misc{africa_ilo_emp_temp_sex_est_geo_nb_employment_by_sex_establishment_size_and_rural_urb_2025, title = {Employment by sex, establishment size and rural / urban areas (thousands) | Africa (ILOSTAT)}, author = {International Labour Organization (ILO)}, year = {2025}, url = {https://www.ilo.org/shinyapps/bulkexplorer/?id=EMP_TEMP_SEX_EST_GEO_NB}, publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ilo-emp-temp-sex-est-geo-nb-employment-by-sex-establishment-size-and-rural-urb}} } ``` ## 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_TEMP_SEX_EST_GEO_NB_

This dataset contains 14,571 observations of employment data across 39 African countries, spanning the years 2004–2025. It is sourced from the ILOSTAT database of the International Labour Organization (ILO), with the primary indicator being EMP_TEMP_SEX_EST_GEO_NB — Employment by sex, establishment size and rural/urban areas (in thousands). The dataset includes detailed columns such as country code, country name, data source, indicator code, sex disaggregation (total, male, female), establishment size classification, rural/urban classification, observation year, employment value, and data status flags. Data is disaggregated by sex dimensions and can be used for analyzing temporal trends and demographic characteristics of employment in African countries. Presented in tabular format, it is suitable for machine learning tasks like tabular classification, regression, and time-series forecasting.

提供机构:
electricsheepafrica
搜集汇总
数据集介绍
electricsheepafrica/africa-ilo-emp-temp-sex-est-geo-nb-employment-by-sex-establishment-size-and-rural-urb 数据集图片
构建方式
该数据集植根于国际劳工组织统计数据库的长期积累,经由Electric Sheep Africa对原始ILOSTAT记录进行系统化整理与重新封装而成。其构建过程以非洲39国2004至2025年间的官方劳动力调查数据为底本,围绕就业人口的性别、机构规模及城乡属性等维度进行结构化编排,最终形成涵盖14571条观测记录、以Parquet格式存储的表格型数据集,旨在为非洲劳动市场的实证研究提供可复现的数据基础。
特点
作为非洲劳动经济领域的数据资源,该数据集在时空覆盖与分类粒度上呈现出显著优势。其观测范围横跨二十余年,囊括39个非洲国家,并按性别、机构规模与城乡地域进行交叉划分,使得研究者得以从多重视角审视就业结构的演变。数据以表格与文本模态并存,配合标准化的元数据标注与来源说明,兼顾了分析灵活性与溯源可靠性,尤其适用于跨国比较与细分群体间的差异化分析。
使用方法
研究者可借助Hugging Face数据集库直接加载该数据集,通过load_dataset接口获取数据对象并检视其字段结构与样本内容。对于表格型分析任务,可将数据转换至Pandas数据框以开展描述统计、缺失值探查与建模前的变量剖析。使用过程中应依据仓库文件确认变量定义与计量单位,保留缺失值以待合理的插补策略,并可结合明确的国别、年份与指标字段与其他非洲数据集进行关联,从而构建具备可复现性的分析流程。
背景与挑战
背景概述
国际劳工组织(ILO)主导的劳动力统计数据库长期构成全球劳动市场分析的基石,然而撒哈拉以南非洲地区因非正规经济占比高、统计基础设施薄弱,其就业结构数据尤为稀缺。在此背景下,Electric Sheep Africa于2026年整合ILOSTAT公开数据,构建了覆盖39个非洲国家、2004至2025年间14571条观测的就业数据集,按性别、机构规模及城乡地域对就业人数进行系统分类。该数据集致力于填补非洲就业结构细分数据的空白,为劳动经济学、发展政策评估及区域比较研究提供可复现的统计基础,其细粒度特征在非洲数据生态中具有显著的补充价值。
当前挑战
该数据集面临的核心领域挑战在于准确刻画非洲非正规部门中按机构规模与城乡属性划分的就业分布,这一任务因各国统计口径差异及抽样偏差而极具复杂性。构建过程中,源数据跨越二十余年、涉及多国报送体系,统计标准与分类方法存在显著异质性,且部分国家与年份存在系统性缺失。此外,城乡地域的界定标准在各国间并不统一,机构规模的阈值划分亦缺乏一致性,致使跨国家与跨时间的可比性受到制约。元数据中若干关键字段的缺失进一步增加了数据溯源与变量解释的难度,对下游建模的稳健性构成潜在风险。
常用场景
经典使用场景
在劳动经济学与发展经济学领域,该数据集凭借其覆盖39个非洲国家、横跨2004至2025年的14,571条观测记录,成为剖析非洲非正规就业结构的基础性资源。典型使用场景聚焦于按性别、机构规模与城乡地域三重维度分解就业分布,研究者可据此构建面板数据模型,考察不同规模企业在城乡劳动力吸纳中的差异化角色,并借助性别分层视角揭示非洲劳动力市场中的结构性不平等。
解决学术问题
该数据集有效回应了非洲劳动统计长期碎片化、跨国可比性不足的学术困境。通过ILOSTAT标准化框架整合性别、机构规模与城乡变量,它为检验就业结构的性别差距假说、企业规模与就业弹性关系以及城乡劳动力配置效率等议题提供了统一观测口径,从而推动比较劳动制度分析与包容性增长理论的实证检验。
衍生相关工作
基于该数据集,Electric Sheep Africa目录衍生出一系列非洲劳动市场专题数据产品,涵盖就业、工资与非正规经济等关联指标。研究人员据此开展了跨国就业结构聚类分析、性别就业差距分解研究以及城乡劳动力迁移建模等经典工作,相关成果为非洲区域一体化劳动政策协调提供了实证支撑。
以上内容由遇见数据集搜集并总结生成
二维码
社区交流群
二维码
科研交流群
商业服务