{
  "name": "eu-convergence-gdp-population",
  "title": "EU Member States: GDP per Head in PPS vs the EU Average, and Population Change, 2000-2026",
  "description": "For each of the 27 EU member states and the EU-27 aggregate, year by year from 2000: GDP per head in purchasing power standards (PPS) as a percentage of the EU-27 average (EU27_2020 = 100) and in PPS, population on 1 January, natural change (births minus deaths) and net migration plus statistical adjustment, with Eurostat's provisional, estimated and break-in-series flags and each country's EU accession year. Built for comparing convergence since accession, for example Romania and Bulgaria since they joined on 1 January 2007. Source: Eurostat (nama_10_pc, demo_gind).",
  "status": "monitored",
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "title": "Creative Commons Attribution 4.0. Eurostat copyright notice: \"Reuse of statistical data, metadata, publications, and other dissemination tools published on this website for commercial or non-commercial purposes is authorised provided the source is acknowledged.\" Editorial content is licensed under CC BY 4.0. Source: Eurostat. This dataset is a modified extract; Eurostat bears no responsibility for it.",
      "path": "https://ec.europa.eu/eurostat/help/copyright-notice"
    }
  ],
  "sources": [
    {
      "title": "Eurostat, Main GDP aggregates per capita (nama_10_pc): gross domestic product at market prices, current prices, PPS (EU27 from 2020) per capita, and percentage of EU27 (from 2020) total per capita",
      "path": "https://ec.europa.eu/eurostat/databrowser/view/nama_10_pc/default/table?lang=en"
    },
    {
      "title": "Eurostat, Population change - demographic balance and crude rates at national level (demo_gind): population on 1 January, natural change of population, net migration plus statistical adjustment",
      "path": "https://ec.europa.eu/eurostat/databrowser/view/demo_gind/default/table?lang=en"
    },
    {
      "title": "Eurostat dissemination API (JSON-stat 2.0), how the data were retrieved",
      "path": "https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/"
    }
  ],
  "upkeep": { "mode": "living", "refresh": "annual", "workflow": ".github/workflows/update.yml" },
  "resources": [
    {
      "path": "data/eu-gdp-population.csv",
      "name": "eu-gdp-population",
      "title": "GDP per head in PPS (EU-27 = 100) and population components, EU member states and EU-27, annual",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          { "name": "geo", "type": "string", "description": "Eurostat geography code: EU27_2020 for the EU-27 aggregate (the 27 members from 2020, for every year), else the country code (Eurostat uses EL for Greece)." },
          { "name": "country", "type": "string", "description": "Country name in English, or European Union (27 countries from 2020)." },
          { "name": "eu_accession_year", "type": "integer", "description": "Year the country joined the EU or its predecessor, the European Economic Community (1958 for the six founders). Bulgaria and Romania: 2007 (1 January). Empty for the EU-27 aggregate. Added for this dataset; not from Eurostat." },
          { "name": "year", "type": "integer", "description": "Calendar year. GDP, natural change and net migration cover the whole year; population is on 1 January of the year." },
          { "name": "gdp_per_capita_pps_index", "type": "number", "description": "GDP at market prices per head in PPS, as a percentage of the EU-27 (from 2020) figure for the same year (EU27_2020 = 100). Eurostat nama_10_pc, unit PC_EU27_2020_HAB_MPPS_CP. One decimal as published." },
          { "name": "gdp_per_capita_pps_index_flag", "type": "string", "description": "Eurostat flag for gdp_per_capita_pps_index: p provisional, b break in time series, e estimated (letters combine); empty if none." },
          { "name": "gdp_per_capita_pps", "type": "number", "description": "GDP at market prices per head, current prices, in purchasing power standards (PPS, EU27 from 2020). Eurostat nama_10_pc, unit CP_PPS_EU27_2020_HAB." },
          { "name": "gdp_per_capita_pps_flag", "type": "string", "description": "Eurostat flag for gdp_per_capita_pps (as above)." },
          { "name": "population_1jan", "type": "integer", "description": "Population on 1 January of the year, persons. Eurostat demo_gind, JAN." },
          { "name": "population_1jan_flag", "type": "string", "description": "Eurostat flag for population_1jan (as above)." },
          { "name": "natural_change", "type": "integer", "description": "Natural change of population during the year: live births minus deaths, persons. Eurostat demo_gind, NATGROW." },
          { "name": "natural_change_flag", "type": "string", "description": "Eurostat flag for natural_change (as above)." },
          { "name": "net_migration_plus_adjustment", "type": "integer", "description": "Net migration plus statistical adjustment during the year, persons. Eurostat demo_gind, CNMIGRAT. Eurostat derives it as total population change minus natural change, so it includes statistical adjustments (for example census revisions) as well as migration. It is not a count of emigrants or immigrants." },
          { "name": "net_migration_plus_adjustment_flag", "type": "string", "description": "Eurostat flag for net_migration_plus_adjustment (as above)." }
        ],
        "primaryKey": ["geo", "year"]
      }
    }
  ],
  "views": [
    {
      "name": "gdp-index-chart",
      "title": "GDP per head in PPS, % of EU-27 average: Romania and Bulgaria with Poland, Hungary and Greece, 2000-2025",
      "resources": ["eu-gdp-population"],
      "specType": "vega-lite",
      "spec": {
        "width": "container",
        "height": 340,
        "transform": [
          { "filter": "indexof(['RO','BG','PL','HU','EL'], datum.geo) >= 0 && datum.year <= 2025" }
        ],
        "mark": { "type": "line", "strokeWidth": 1.75, "point": false },
        "encoding": {
          "x": { "field": "year", "type": "ordinal", "axis": { "title": null, "labelAngle": 0, "values": [2000, 2005, 2007, 2010, 2015, 2020, 2025] } },
          "y": { "field": "gdp_per_capita_pps_index", "type": "quantitative", "axis": { "title": "% of EU-27 average (EU-27 = 100)" } },
          "color": { "field": "country", "type": "nominal", "title": null, "sort": ["Romania", "Bulgaria", "Poland", "Hungary", "Greece"] },
          "tooltip": [
            { "field": "country", "type": "nominal" },
            { "field": "year", "type": "ordinal" },
            { "field": "gdp_per_capita_pps_index", "type": "quantitative", "title": "% of EU-27", "format": ".1f" },
            { "field": "gdp_per_capita_pps_index_flag", "type": "nominal", "title": "flag" }
          ]
        }
      }
    }
  ]
}
