DataBrighten

    Dimension 2.4: Data services

    1,525 × 6rows × columns: 191 countries, 2016 to 2023

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

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

    What it measures

    NADA metadata. This indicator checks whether NADA microdata cataloging is available for surveys produced by NSO. NADA is an open source microdata cataloging system, compliant with the Data Documentation Initiative (DDI) and Dublin Cores RDF metadata standards. Source: NSO websites.

    The numbers in 2023

    In 2023, 191 countries have a value. At the top, 160 countries tie at 1 (e.g. Afghanistan, Albania, Algeria); at the bottom, 31 countries tie at 0 (e.g. Azerbaijan, Bahamas, The, Bahrain). The median country value is 1.

    Highest, 2023

    Ties are listed A to Z.

    #CountryValue
    1Afghanistan1
    2Albania1
    3Algeria1
    4Andorra1
    5Angola1
    6Antigua and Barbuda1
    7Argentina1
    8Armenia1
    9Australia1
    10Austria1

    Lowest, 2023

    Ties are listed A to Z.

    #CountryValue
    1Yemen, Rep.0
    2Venezuela, RB0
    3Ukraine0
    4Turkmenistan0
    5Tajikistan0
    6Syrian Arab Republic0
    7St. Kitts and Nevis0
    8South Sudan0
    9Seychelles0
    10Oman0
    How many countries report, by decade
    DecadeMost countries in one year
    2010s191
    2020s191

    First rows

    dimension-2-4-data-services.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20160
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20170
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20181
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20191
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20201
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20211
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20221
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20231

    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
    valuenumberDimension 2.4: Data services, 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: 160 countries share the highest value, 1 (for example Afghanistan, Albania, Algeria).

    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-4-data-services.csv"))

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

    File: dimension-2-4-data-services.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("dimension-2-4-data-services.csv"))

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

    File: dimension-2-4-data-services.csv

    What is the median across countries in 2023?

    1 (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("dimension-2-4-data-services.csv"))

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

    File: dimension-2-4-data-services.csv

    Which country rose the most between 2016 and 2023?

    Afghanistan: from 0 to 1, a rise of 1 (out of 190 countries with both years).

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

    Use the wide file (dimension-2-4-data-services-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("dimension-2-4-data-services.csv"))

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

    File: dimension-2-4-data-services.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("dimension-2-4-data-services.csv"))

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

    File: dimension-2-4-data-services.csv