Dimension 2.2: Online access
Real data: World Bank, Statistical Performance Indicators, indicator SPI.DIM2.2.INDEX, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
ODIN Open Data Openness score. This is a well-established data source with good country coverage. In using this indicator, it is important to describe carefully what is captured since the purpose of ODIN is different to the purpose of the SPI.
The numbers in 2023
In 2023, 196 countries have a value. The highest is Singapore (1); the lowest is Turkmenistan (0.014). The median country value is 0.488.
Top 10 countries, 2023
value
Highest, 2023
| # | Country | Value |
|---|---|---|
| 1 | Singapore | 1 |
| 2 | Denmark | 0.954 |
| 3 | Slovenia | 0.926 |
| 4 | Poland | 0.919 |
| 5 | Norway | 0.917 |
| 6 | Mongolia | 0.915 |
| 7 | Latvia | 0.912 |
| 8 | Oman | 0.908 |
| 9 | Netherlands | 0.907 |
| 10 | Estonia | 0.906 |
Lowest, 2023
| # | Country | Value |
|---|---|---|
| 1 | Turkmenistan | 0.014 |
| 2 | Haiti | 0.04 |
| 3 | Naoero | 0.129 |
| 4 | South Sudan | 0.133 |
| 5 | Grenada | 0.162 |
| 6 | Eswatini | 0.17 |
| 7 | Venezuela, RB | 0.187 |
| 8 | Syrian Arab Republic | 0.192 |
| 9 | Guinea-Bissau | 0.21 |
| 10 | Barbados | 0.229 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2010s | 179 |
| 2020s | 196 |
First rows
dimension-2-2-online-access.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2015 | 0.202 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2016 | 0.202 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2017 | 0.221 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2018 | 0.297 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2019 | 0.297 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2020 | 0.283 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2021 | 0.283 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2022 | 0.3 |
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 | Dimension 2.2: Online access, 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 1.
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("dimension-2-2-online-access.csv"))
y = df[df.year == 2023]
y[y.value == y.value.max()][["country", "value"]]File: dimension-2-2-online-access.csv
How many countries report a value for 2023?
196 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("dimension-2-2-online-access.csv"))
(df.year == 2023).sum()File: dimension-2-2-online-access.csv
What is the median across countries in 2023?
0.488 (median of the 196 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("dimension-2-2-online-access.csv"))
df[df.year == 2023]["value"].median()File: dimension-2-2-online-access.csv
Which country rose the most between 2015 and 2023?
Uzbekistan: from 0.008 to 0.799, a rise of 0.791 (out of 124 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (dimension-2-2-online-access-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("dimension-2-2-online-access.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2023] - w[2015]).dropna().nlargest(1)File: dimension-2-2-online-access.csv
Which year has the most countries reporting?
2023, with 196 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("dimension-2-2-online-access.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: dimension-2-2-online-access.csv