DataBrighten

    Pillar 4 - Data Sources - Score

    1,560 × 6rows × columns: 188 countries, 2015 to 2023

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

    textnumberdateyes/no
    Rows1,560country-year values
    Countries188with at least one value
    Years2015 – 20239 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Censuses and surveys, admin data, geospatial

    The numbers in 2023

    In 2023, 188 countries have a value. The highest is Singapore (94.17); the lowest is South Sudan (5.82). The median country value is 58.06.

    Top 10 countries, 2023

    value

    Source: World Bank, SPI.INDEX.PIL4, retrieved 19 November 2026. Computed from pillar-4-data-sources-score.csv.

    Highest, 2023

    #CountryValue
    1Singapore94.17
    2Poland91.42
    3Canada89.83
    4Finland88.17
    5Spain87.8
    6Denmark87.1
    7Mexico86.9
    8Germany86.67
    9Czechia86.08
    10United States85.62

    Lowest, 2023

    #CountryValue
    1South Sudan5.82
    2Somalia, Fed. Rep.6.05
    3Libya7.62
    4Turkmenistan11.68
    5Papua New Guinea11.77
    6Syrian Arab Republic13.32
    7Central African Republic13.99
    8Guinea-Bissau14.62
    9Djibouti15.57
    10Solomon Islands16.96
    How many countries report, by decade
    DecadeMost countries in one year
    2010s175
    2020s188

    First rows

    pillar-4-data-sources-score.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201525.4416666666667
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201625.4416666666667
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201719.2916666666667
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201821.4416666666667
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201921.4416666666667
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202021.2166666666667
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202122.8166666666667
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202227.4916666666667

    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
    valuenumberPillar 4 - Data Sources - 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?

    Singapore, with 94.17.

    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("pillar-4-data-sources-score.csv"))

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

    File: pillar-4-data-sources-score.csv

    How many countries report a value for 2023?

    188 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("pillar-4-data-sources-score.csv"))

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

    File: pillar-4-data-sources-score.csv

    What is the median across countries in 2023?

    58.06 (median of the 188 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("pillar-4-data-sources-score.csv"))

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

    File: pillar-4-data-sources-score.csv

    Which country rose the most between 2015 and 2023?

    Saudi Arabia: from 34.84 to 79.08, a rise of 44.23 (out of 123 countries with both years).

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

    Use the wide file (pillar-4-data-sources-score-wide.csv): add a column = [2023] - [2015], 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 = 2015 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("pillar-4-data-sources-score.csv"))

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

    File: pillar-4-data-sources-score.csv

    Which year has the most countries reporting?

    2023, with 188 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("pillar-4-data-sources-score.csv"))

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

    File: pillar-4-data-sources-score.csv