{
  "name": "gdp-by-industry",
  "title": "GDP by industry: value added by economic activity by country, 1970-2024 (UN National Accounts Main Aggregates)",
  "description": "Gross value added by ISIC activity group (agriculture; mining, manufacturing and utilities; manufacturing; construction; trade, restaurants and hotels; transport, storage and communication; other activities), total value added and GDP, for 212 countries and areas, 8 former states and 30 UN M49 regions, with annual observations spanning 1970-2024 (coverage varies by area and activity), in current US dollars with each activity's share of total value added (computed by DataHub), and at constant 2020 prices in US dollars, plus UNSD's footnotes. Source: United Nations Statistics Division, National Accounts Main Aggregates Database, January 2026 upload, containing data through 2024. Combines official national accounts with UNSD estimates where countries do not report a full set; values are converted generally at market exchange rates, with official, UN operational or price-adjusted rates used where appropriate.",
  "status": "structured",
  "version": "2026.01.0",
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "title": "Creative Commons Attribution 4.0 International: our closest standard-label approximation to the source terms, not a licence expressly named by UNSD. Our reading is that UNdata's data-specific permission to copy and redistribute with attribution applies to this database; the general UN website terms are more restrictive (see archive/PROVENANCE.md). UNdata Terms and Conditions of Use: \"All data and metadata provided on UNdata's website are available free of charge and may be copied freely, duplicated and further distributed provided that UNdata is cited as the reference.\" Credit: United Nations Statistics Division, National Accounts Main Aggregates Database, via UNdata.",
      "path": "https://creativecommons.org/licenses/by/4.0/"
    }
  ],
  "sources": [
    {
      "title": "UNSD National Accounts Main Aggregates Database: downloads (GDP and its breakdown at current and constant 2020 prices in US Dollars)",
      "path": "https://unstats.un.org/unsd/snaama/Downloads"
    },
    {
      "title": "UNSD SNAAMA: GDP and its breakdown at current prices in US Dollars, all countries (XLSX)",
      "path": "https://unstats.un.org/unsd/amaapi/api/file/2"
    },
    {
      "title": "UNSD SNAAMA: GDP and its breakdown at current prices in US Dollars, all regions/subregions (XLSX)",
      "path": "https://unstats.un.org/unsd/amaapi/api/file/3"
    },
    {
      "title": "UNSD SNAAMA: GDP and its breakdown at constant 2020 prices in US Dollars, all countries (XLSX)",
      "path": "https://unstats.un.org/unsd/amaapi/api/file/6"
    },
    {
      "title": "UNSD SNAAMA: GDP and its breakdown at constant 2020 prices in US Dollars, all regions/subregions (XLSX)",
      "path": "https://unstats.un.org/unsd/amaapi/api/file/7"
    },
    {
      "title": "UNSD SNAAMA methodology for data estimation",
      "path": "https://unstats.un.org/unsd/snaama/assets/pdf/methodology.pdf"
    },
    {
      "title": "UNdata Terms and Conditions of Use (licence)",
      "path": "https://data.un.org/Host.aspx?Content=UNdataUse"
    }
  ],
  "upkeep": {
    "mode": "frozen",
    "snapshot": "2026-11-29"
  },
  "resources": [
    {
      "path": "data/gdp-by-industry.csv",
      "name": "gdp-by-industry-current-usd",
      "title": "Value added by activity and GDP, current US dollars, with shares of total value added",
      "mediatype": "text/csv",
      "format": "csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "area_code",
            "type": "integer",
            "description": "UN M49 numeric code as UNSD uses it (1 = World, 156 = China, 840 = United States)."
          },
          {
            "name": "area",
            "type": "string",
            "description": "Area name as UNSD gives it, e.g. \"China, Hong Kong SAR\" or \"USSR (Former)\"."
          },
          {
            "name": "area_type",
            "type": "string",
            "description": "country (country or area); former_country (a state that no longer exists, e.g. USSR (Former)); world; region (Africa, Americas, Asia, Europe, Oceania); subregion (M49 subregion, e.g. Eastern Asia, Sub-Saharan Africa); intermediate_region (e.g. Eastern Africa, Caribbean). Regions overlap and nest; former states overlap their successors in transition years.",
            "constraints": {
              "enum": [
                "country",
                "former_country",
                "world",
                "region",
                "subregion",
                "intermediate_region"
              ]
            }
          },
          {
            "name": "year",
            "type": "integer",
            "description": "Year, 1970-2024 (calendar year unless UNSD's fiscal-year notes say otherwise)."
          },
          {
            "name": "activity",
            "type": "string",
            "description": "agriculture (ISIC Rev.3 A-B); mining_manufacturing_utilities (C-E); manufacturing (D, part of C-E); construction (F); trade_restaurants_hotels (G-H); transport_storage_communication (I); other_activities (J-P); total_value_added; gdp.",
            "constraints": {
              "enum": [
                "agriculture",
                "mining_manufacturing_utilities",
                "manufacturing",
                "construction",
                "trade_restaurants_hotels",
                "transport_storage_communication",
                "other_activities",
                "total_value_added",
                "gdp"
              ]
            }
          },
          {
            "name": "isic_rev3",
            "type": "string",
            "description": "ISIC Rev.3 sections of the activity as UNSD labels them; empty for total value added and GDP."
          },
          {
            "name": "activity_label",
            "type": "string",
            "description": "Readable activity label."
          },
          {
            "name": "value_usd",
            "type": "integer",
            "description": "Gross value added (or GDP) in current US dollars, rounded to the dollar, as published by UNSD (converted from national currency at annual average market exchange rates, or other rates UNSD chooses where those distort)."
          },
          {
            "name": "share_of_value_added_pct",
            "type": "number",
            "description": "Computed by DataHub, not UNSD: value divided by total value added for the same area and year, times 100, 3 decimals. 100 for total_value_added; empty for gdp."
          }
        ],
        "primaryKey": [
          "area_code",
          "year",
          "activity"
        ]
      }
    },
    {
      "path": "data/gdp-by-industry-constant.csv",
      "name": "gdp-by-industry-constant-2020-usd",
      "title": "Value added by activity and GDP, constant 2020 prices in US dollars",
      "mediatype": "text/csv",
      "format": "csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "area_code",
            "type": "integer",
            "description": "UN M49 numeric code as UNSD uses it (1 = World, 156 = China, 840 = United States)."
          },
          {
            "name": "area",
            "type": "string",
            "description": "Area name as UNSD gives it, e.g. \"China, Hong Kong SAR\" or \"USSR (Former)\"."
          },
          {
            "name": "area_type",
            "type": "string",
            "description": "country (country or area); former_country (a state that no longer exists, e.g. USSR (Former)); world; region (Africa, Americas, Asia, Europe, Oceania); subregion (M49 subregion, e.g. Eastern Asia, Sub-Saharan Africa); intermediate_region (e.g. Eastern Africa, Caribbean). Regions overlap and nest; former states overlap their successors in transition years.",
            "constraints": {
              "enum": [
                "country",
                "former_country",
                "world",
                "region",
                "subregion",
                "intermediate_region"
              ]
            }
          },
          {
            "name": "year",
            "type": "integer",
            "description": "Year, 1970-2024 (calendar year unless UNSD's fiscal-year notes say otherwise)."
          },
          {
            "name": "activity",
            "type": "string",
            "description": "agriculture (ISIC Rev.3 A-B); mining_manufacturing_utilities (C-E); manufacturing (D, part of C-E); construction (F); trade_restaurants_hotels (G-H); transport_storage_communication (I); other_activities (J-P); total_value_added; gdp.",
            "constraints": {
              "enum": [
                "agriculture",
                "mining_manufacturing_utilities",
                "manufacturing",
                "construction",
                "trade_restaurants_hotels",
                "transport_storage_communication",
                "other_activities",
                "total_value_added",
                "gdp"
              ]
            }
          },
          {
            "name": "isic_rev3",
            "type": "string",
            "description": "ISIC Rev.3 sections of the activity as UNSD labels them; empty for total value added and GDP."
          },
          {
            "name": "activity_label",
            "type": "string",
            "description": "Readable activity label."
          },
          {
            "name": "value_usd_2020_prices",
            "type": "integer",
            "description": "Gross value added (or GDP) at constant 2020 prices in US dollars (national constant-price series converted at the 2020 exchange rate), rounded to the dollar, as published by UNSD. Activities need not add up to the total."
          }
        ],
        "primaryKey": [
          "area_code",
          "year",
          "activity"
        ]
      }
    },
    {
      "path": "data/notes.csv",
      "name": "notes",
      "title": "UNSD footnotes on coverage and valuation, by area, activity and series",
      "mediatype": "text/csv",
      "format": "csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "area_code",
            "type": "integer",
            "description": "UN M49 numeric code."
          },
          {
            "name": "area",
            "type": "string",
            "description": "Area name as UNSD gives it."
          },
          {
            "name": "activity",
            "type": "string",
            "description": "Activity the note applies to (same codes as the value tables).",
            "constraints": {
              "enum": [
                "agriculture",
                "mining_manufacturing_utilities",
                "manufacturing",
                "construction",
                "trade_restaurants_hotels",
                "transport_storage_communication",
                "other_activities",
                "total_value_added",
                "gdp"
              ]
            }
          },
          {
            "name": "series",
            "type": "string",
            "description": "current (current-price workbook) or constant (constant 2020 prices workbook).",
            "constraints": {
              "enum": [
                "current",
                "constant"
              ]
            }
          },
          {
            "name": "years",
            "type": "string",
            "description": "Years the note applies to, as comma-separated ranges, e.g. \"1970-2014\" or \"2006-2015,2020\"."
          },
          {
            "name": "note",
            "type": "string",
            "description": "UNSD's footnote text, whitespace normalised."
          }
        ],
        "primaryKey": [
          "area_code",
          "activity",
          "series",
          "note"
        ]
      }
    }
  ],
  "views": [
    {
      "name": "world-manufacturing-share",
      "title": "Manufacturing's share of world value added, 1970-2024 (current US dollars; China's manufacturing included only from 2004)",
      "resources": [
        "gdp-by-industry-current-usd"
      ],
      "specType": "vega-lite",
      "spec": {
        "width": "container",
        "height": 320,
        "transform": [
          {
            "filter": "datum.area_code === 1 && datum.activity === 'manufacturing'"
          }
        ],
        "mark": {
          "type": "line",
          "point": false
        },
        "encoding": {
          "x": {
            "field": "year",
            "type": "quantitative",
            "title": "Year",
            "axis": {
              "format": "d"
            }
          },
          "y": {
            "field": "share_of_value_added_pct",
            "type": "quantitative",
            "title": "% of world value added",
            "scale": {
              "zero": true
            }
          }
        }
      }
    }
  ]
}
