{
  "name": "employment-by-sector",
  "title": "Employment by economic activity (agriculture, industry, services and ISIC sections) by country, sex and year, 1991-2025 (ILO modelled estimates)",
  "description": "Employed persons in thousands and as a share of total employment, by broad sector (agriculture, industry, services) and sex, and by 14 ISIC Rev.4 section groups (both sexes), for 189 countries and territories and 87 ILO regional, income-group and other aggregates, 1991-2025. Source: International Labour Organization, ILO Modelled Estimates (ILOEST), Nov. 2025 edition, indicator EMP_2EMP_SEX_ECO_NB_A from ILOSTAT. These are modelled estimates: ILO fills gaps in national data with statistical models to improve comparability, although some recent country-years remain absent; imputed values are uncertain and not suited to country rankings. ILO revises the whole series each edition; this dataset is refreshed to each new edition.",
  "status": "monitored",
  "version": "2025.11.0",
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "title": "Creative Commons Attribution 4.0 International (CC BY 4.0). ILO Rights and permissions: \"As of 3 May 2023, databases and datasets together with the accompanying referential metadata are covered by the Creative Commons CC BY 4.0 licence.\" Attribution: International Labour Organization, ILO Modelled Estimates (ILOEST), Nov. 2025 edition, ILOSTAT.",
      "path": "https://creativecommons.org/licenses/by/4.0/"
    }
  ],
  "sources": [
    {
      "title": "ILOSTAT bulk download: Employment by sex and economic activity -- ILO modelled estimates, Nov. 2025 (thousands), EMP_2EMP_SEX_ECO_NB_A (CSV)",
      "path": "https://rplumber.ilo.org/data/indicator?id=EMP_2EMP_SEX_ECO_NB_A&format=.csv.gz"
    },
    {
      "title": "ILOSTAT SDMX dataflow DF_EMP_2EMP_SEX_ECO_NB (definition and caveats)",
      "path": "https://sdmx.ilo.org/rest/dataflow/ILO/DF_EMP_2EMP_SEX_ECO_NB?detail=full"
    },
    {
      "title": "ILO Modelled Estimates (ILOEST) database description",
      "path": "https://ilostat.ilo.org/databases/iloest/description/"
    },
    {
      "title": "ILO Rights and permissions (licence)",
      "path": "https://www.ilo.org/rights-and-permissions"
    }
  ],
  "upkeep": {
    "mode": "living",
    "refresh": "annual",
    "workflow": ".github/workflows/update.yml"
  },
  "resources": [
    {
      "path": "data/employment-by-sector.csv",
      "name": "employment-by-sector-and-sex",
      "title": "Employment by broad sector and sex, by country or aggregate and year",
      "mediatype": "text/csv",
      "format": "csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "area_code",
            "type": "string",
            "description": "ILOSTAT area code: ISO 3166-1 alpha-3 for countries and territories; ILO codes X01-XA1 for aggregates (X01 = World)."
          },
          {
            "name": "area",
            "type": "string",
            "description": "Area name as ILOSTAT gives it, e.g. \"Korea, Republic of\" or \"Africa: Low income\"."
          },
          {
            "name": "area_type",
            "type": "string",
            "description": "country (country or territory); world; world_income_group (World Bank income groups as ILO uses them); region (ILO geographic region or subregion); region_income_group (a region split by income group); other_grouping (EU, G7, G20, BRICS, ASEAN, APEC, MENA, Arab League, CARICOM and 'World excluding ...' aggregates). Filter to country before counting or ranking countries; aggregates overlap.",
            "constraints": {
              "enum": [
                "country",
                "world",
                "world_income_group",
                "region",
                "region_income_group",
                "other_grouping"
              ]
            }
          },
          {
            "name": "year",
            "type": "integer",
            "description": "Reference year, 1991-2025."
          },
          {
            "name": "sex",
            "type": "string",
            "description": "total, female or male.",
            "constraints": {
              "enum": [
                "total",
                "female",
                "male"
              ]
            }
          },
          {
            "name": "sector",
            "type": "string",
            "description": "total (all employment), agriculture (ISIC A), industry (ISIC B-F: mining, manufacturing, utilities, construction) or services (ISIC G-U).",
            "constraints": {
              "enum": [
                "total",
                "agriculture",
                "industry",
                "services"
              ]
            }
          },
          {
            "name": "employment_thousands",
            "type": "number",
            "description": "Employed persons, thousands, as published by ILO (ILO modelled estimates, 13th ICLS definition, working age 15+)."
          },
          {
            "name": "share_of_total_pct",
            "type": "number",
            "description": "Percentage of total employment of the same area, year and sex; computed by DataHub from ILO's thousands, rounded to 3 decimals."
          },
          {
            "name": "obs_status",
            "type": "string",
            "description": "ILO observation status: A = Adjusted (ILO's code label); empty = no status flag. ILO notes that imputed observations are not based on national data, are highly uncertain and should not be used for country comparisons or rankings. Aggregates carry no flag.",
            "constraints": {
              "enum": [
                "",
                "A"
              ]
            }
          },
          {
            "name": "provisional",
            "type": "boolean",
            "description": "Publisher-derived flag: true for 2025 because it follows the last year containing any ILO A (Adjusted) observation in the archived source (2024). This is our inference, not an ILO provisional designation. A blank observation status does not establish whether a value is observed, imputed or forecast; false does not mean actual. All years belong to the ILO modelled estimates series."
          }
        ],
        "primaryKey": [
          "area_code",
          "year",
          "sex",
          "sector"
        ]
      }
    },
    {
      "path": "data/employment-by-activity.csv",
      "name": "employment-by-activity",
      "title": "Employment by ISIC Rev.4 section group (both sexes), by country or aggregate and year",
      "mediatype": "text/csv",
      "format": "csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "area_code",
            "type": "string",
            "description": "ILOSTAT area code: ISO 3166-1 alpha-3 for countries and territories; ILO codes X01-XA1 for aggregates (X01 = World)."
          },
          {
            "name": "area",
            "type": "string",
            "description": "Area name as ILOSTAT gives it, e.g. \"Korea, Republic of\" or \"Africa: Low income\"."
          },
          {
            "name": "area_type",
            "type": "string",
            "description": "country (country or territory); world; world_income_group (World Bank income groups as ILO uses them); region (ILO geographic region or subregion); region_income_group (a region split by income group); other_grouping (EU, G7, G20, BRICS, ASEAN, APEC, MENA, Arab League, CARICOM and 'World excluding ...' aggregates). Filter to country before counting or ranking countries; aggregates overlap.",
            "constraints": {
              "enum": [
                "country",
                "world",
                "world_income_group",
                "region",
                "region_income_group",
                "other_grouping"
              ]
            }
          },
          {
            "name": "year",
            "type": "integer",
            "description": "Reference year, 1991-2025."
          },
          {
            "name": "activity_code",
            "type": "string",
            "description": "ISIC Rev.4 section or section group as ILO publishes it in ILOEST: A, B, C, DE, F, G, HJ, I, K, LMN, O, P, Q, RSTU.",
            "constraints": {
              "enum": [
                "A",
                "B",
                "C",
                "DE",
                "F",
                "G",
                "HJ",
                "I",
                "K",
                "LMN",
                "O",
                "P",
                "Q",
                "RSTU"
              ]
            }
          },
          {
            "name": "activity",
            "type": "string",
            "description": "Name of the section group, following ILO's labels."
          },
          {
            "name": "sector",
            "type": "string",
            "description": "Broad sector the group belongs to: agriculture (A), industry (B, C, DE, F) or services (G to U).",
            "constraints": {
              "enum": [
                "agriculture",
                "industry",
                "services"
              ]
            }
          },
          {
            "name": "employment_thousands",
            "type": "number",
            "description": "Employed persons, thousands, as published by ILO (ILO modelled estimates, 13th ICLS definition, working age 15+)."
          },
          {
            "name": "share_of_total_pct",
            "type": "number",
            "description": "Percentage of total employment of the same area, year and sex; computed by DataHub from ILO's thousands, rounded to 3 decimals."
          },
          {
            "name": "obs_status",
            "type": "string",
            "description": "ILO observation status: A = Adjusted (ILO's code label); empty = no status flag. ILO notes that imputed observations are not based on national data, are highly uncertain and should not be used for country comparisons or rankings. Aggregates carry no flag.",
            "constraints": {
              "enum": [
                "",
                "A"
              ]
            }
          },
          {
            "name": "provisional",
            "type": "boolean",
            "description": "Publisher-derived flag: true for 2025 because it follows the last year containing any ILO A (Adjusted) observation in the archived source (2024). This is our inference, not an ILO provisional designation. A blank observation status does not establish whether a value is observed, imputed or forecast; false does not mean actual. All years belong to the ILO modelled estimates series."
          }
        ],
        "primaryKey": [
          "area_code",
          "year",
          "activity_code"
        ]
      }
    }
  ],
  "views": [
    {
      "name": "world-employment-by-sector-chart",
      "title": "Share of world employment by broad sector, 1991-2025 (ILO modelled estimates, Nov. 2025; 2025 provisional by publisher inference)",
      "resources": [
        "employment-by-sector-and-sex"
      ],
      "specType": "vega-lite",
      "spec": {
        "width": "container",
        "height": 340,
        "transform": [
          {
            "filter": "datum.area_code === 'X01' && datum.sex === 'total' && datum.sector !== 'total'"
          }
        ],
        "mark": {
          "type": "line",
          "point": false
        },
        "encoding": {
          "x": {
            "field": "year",
            "type": "quantitative",
            "title": "Year",
            "axis": {
              "format": "d"
            }
          },
          "y": {
            "field": "share_of_total_pct",
            "type": "quantitative",
            "title": "% of world employment",
            "scale": {
              "domain": [
                0,
                60
              ]
            }
          },
          "color": {
            "field": "sector",
            "type": "nominal",
            "title": "Sector",
            "sort": [
              "services",
              "agriculture",
              "industry"
            ]
          }
        }
      }
    }
  ]
}
