Pillar 5 - Data Infrastructure - Score
Real data: World Bank, Statistical Performance Indicators, indicator SPI.INDEX.PIL5, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Standards and methodology used in classification
The numbers in 2023
In 2023, 191 countries have a value. At the top, 28 countries tie at 100 (e.g. Australia, Austria, Belgium); the lowest is Eritrea (10). The median country value is 60.
Highest, 2023
Ties are listed A to Z.
| # | Country | Value |
|---|---|---|
| 1 | Australia | 100 |
| 2 | Austria | 100 |
| 3 | Belgium | 100 |
| 4 | Canada | 100 |
| 5 | Denmark | 100 |
| 6 | Estonia | 100 |
| 7 | Finland | 100 |
| 8 | France | 100 |
| 9 | Greece | 100 |
| 10 | Hungary | 100 |
Lowest, 2023
| # | Country | Value |
|---|---|---|
| 1 | Eritrea | 10 |
| 2 | Tuvalu | 15 |
| 3 | Turkmenistan | 15 |
| 4 | Naoero | 20 |
| 5 | Marshall Islands | 20 |
| 6 | Yemen, Rep. | 25 |
| 7 | Venezuela, RB | 25 |
| 8 | Micronesia, Fed. Sts. | 25 |
| 9 | Libya | 25 |
| 10 | Andorra | 25 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2010s | 190 |
| 2020s | 191 |
First rows
pillar-5-data-infrastructure-score.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2016 | 40 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2017 | 40 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2018 | 40 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2019 | 40 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2020 | 45 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2021 | 55 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2022 | 55 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2023 | 55 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | Pillar 5 - Data Infrastructure - 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?
There is a tie: 28 countries share the highest value, 100 (for example Australia, Austria, Belgium).
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-5-data-infrastructure-score.csv"))
y = df[df.year == 2023]
y[y.value == y.value.max()][["country", "value"]]File: pillar-5-data-infrastructure-score.csv
How many countries report a value for 2023?
191 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-5-data-infrastructure-score.csv"))
(df.year == 2023).sum()File: pillar-5-data-infrastructure-score.csv
What is the median across countries in 2023?
60 (median of the 191 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-5-data-infrastructure-score.csv"))
df[df.year == 2023]["value"].median()File: pillar-5-data-infrastructure-score.csv
Which country rose the most between 2016 and 2023?
Saudi Arabia: from 30 to 95, a rise of 65 (out of 185 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (pillar-5-data-infrastructure-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("pillar-5-data-infrastructure-score.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2023] - w[2016]).dropna().nlargest(1)File: pillar-5-data-infrastructure-score.csv
Which year has the most countries reporting?
2023, with 191 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-5-data-infrastructure-score.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: pillar-5-data-infrastructure-score.csv