DataBrighten

    SPI Overall Score

    1,425 × 6rows × columns: 187 countries, 2016 to 2023

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

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

    What it measures

    Overall Statistical Performance Indicators Index Score

    The numbers in 2023

    In 2023, 187 countries have a value. The highest is Denmark (95.26); the lowest is South Sudan (27.51). The median country value is 69.45.

    Top 10 countries, 2023

    value

    Source: World Bank, SPI.INDEX, retrieved 19 November 2026. Computed from spi-overall-score.csv.

    Highest, 2023

    #CountryValue
    1Denmark95.26
    2Finland95.12
    3Poland94.65
    4Sweden94.41
    5Spain94.33
    6Netherlands94.32
    7Slovenia94.22
    8Portugal93.78
    9Italy93.64
    10Norway93.56

    Lowest, 2023

    #CountryValue
    1South Sudan27.51
    2Turkmenistan30.72
    3Libya33.06
    4Equatorial Guinea35.06
    5Yemen, Rep.35.69
    6Syrian Arab Republic36.18
    7Micronesia, Fed. Sts.36.51
    8Venezuela, RB39.39
    9Haiti39.61
    10Marshall Islands40.98
    How many countries report, by decade
    DecadeMost countries in one year
    2010s174
    2020s187

    First rows

    spi-overall-score.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201639.39625
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201744.75125
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201852.0183333333333
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201951.9295833333333
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202055.56
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202159.1775
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202259.3283333333333
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202357.0895833333333

    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
    valuenumberSPI Overall Score, 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 2023?

    Denmark, with 95.26.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("spi-overall-score.csv"))

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

    File: spi-overall-score.csv

    How many countries report a value for 2023?

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

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

    =COUNTIF(E2:E100000,2023)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("spi-overall-score.csv"))

    (df.year == 2023).sum()

    File: spi-overall-score.csv

    What is the median across countries in 2023?

    69.45 (median of the 187 country values; not a World Bank aggregate).

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

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

    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 = 2023 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2023) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2023));

    pandas (df = pd.read_csv("spi-overall-score.csv"))

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

    File: spi-overall-score.csv

    Which country rose the most between 2016 and 2023?

    Uzbekistan: from 36.73 to 80.33, a rise of 43.6 (out of 167 countries with both years).

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

    Use the wide file (spi-overall-score-wide.csv): add a column = [2023] - [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 = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("spi-overall-score.csv"))

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

    File: spi-overall-score.csv

    Which year has the most countries reporting?

    2023, with 187 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("spi-overall-score.csv"))

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

    File: spi-overall-score.csv