DataBrighten

    Statistical performance indicators (SPI): Pillar 2 data services score (scale 0-100)

    1,626 × 6rows × columns: 190 countries, 2016 to 2024

    Real data: World Bank, World Development Indicators, indicator IQ.SPI.PIL2, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows1,626country-year values
    Countries190with at least one value
    Years2016 – 20249 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    The data services pillar overall score is a composite indicator based on four dimensions of data services: (i) the quality of data releases, (ii) the richness and openness of online access, (iii) the effectiveness of advisory and analytical services related to statistics, and (iv) the availability and use of data access services such as secure microdata access. Advisory and analytical services might incorporate elements related to data stewardship services including input to national data strategies, advice on data ethics and calling out misuse of data in accordance with the Fundamental Principles of Official Statistics.

    Limits and exceptions (World Bank note)

    Under the pillar of data services an area that needs improvement is the measurement of advisory and analytical services provided by NSOs, such as data stewardship services. By measuring this type of work done by NSOs that goes beyond producing data, the international community and the NSOs themselves can better assess whether this type of support is in place.

    The numbers in 2024

    In 2024, 190 countries have a value. The highest is Malaysia (99.67); the lowest is Turkmenistan (5.3). The median country value is 69.33.

    Top 10 countries, 2024

    scale 0-100

    Source: World Bank, IQ.SPI.PIL2, retrieved 19 November 2026. Computed from statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv.

    Highest, 2024

    #CountryValue
    1Malaysia99.67
    2Poland99
    3Norway98.57
    4Slovenia98.53
    5Singapore98.4
    6Finland98.2
    7Denmark97.83
    8Portugal97.63
    9Netherlands97.23
    10Ireland97.13

    Lowest, 2024

    #CountryValue
    1Turkmenistan5.3
    2South Sudan8.33
    3Venezuela, RB24.4
    4Haiti24.97
    5Syrian Arab Republic26.43
    6Bahamas, The27.3
    7Djibouti28.27
    8Yemen, Rep.28.3
    9Grenada28.83
    10Congo, Rep.29.17
    How many countries report, by decade
    DecadeMost countries in one year
    2010s175
    2020s190

    First rows

    statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20166.73333333333333
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201724.0333333333333
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201859.9
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201959.9
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202059.4333333333333
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202159.4333333333333
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202260
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202360

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberStatistical performance indicators (SPI): Pillar 2 data services score (scale 0-100), exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2024?

    Malaysia, with 99.67.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2024)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2024)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2024
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2024);

    pandas (df = pd.read_csv("statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv"))

    y = df[df.year == 2024]
    y[y.value == y.value.max()][["country", "value"]]

    File: statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv

    How many countries report a value for 2024?

    190 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2024;

    pandas (df = pd.read_csv("statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv"))

    (df.year == 2024).sum()

    File: statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv

    What is the median across countries in 2024?

    69.33 (median of the 190 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2024))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2024 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));

    pandas (df = pd.read_csv("statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv"))

    df[df.year == 2024]["value"].median()

    File: statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv

    Which country rose the most between 2016 and 2024?

    Saudi Arabia: from 7.63 to 93.2, a rise of 85.57 (out of 167 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100-wide.csv): add a column = [2024] - [2016], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2016 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2024] - w[2016]).dropna().nlargest(1)

    File: statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv

    Which year has the most countries reporting?

    2024, with 190 countries.

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: statistical-performance-indicators-spi-pillar-2-data-services-score-scale-0-100.csv