DataBrighten

    Received a public sector pension: in cash only (% age 15+)

    372 × 6rows × columns: 151 countries, 2017 to 2024

    Real data: World Bank, Global Findex Database, indicator fin38.39c, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows372country-year values
    Countries151with at least one value
    Years2017 – 20244 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    The percentage of respondents who report personally receiving a pension from the government, military, or public sector in the past year in cash only, (% age 15+)

    The numbers in 2024

    In 2024, 90 countries have a value. The highest is Albania (16.85); at the bottom, 13 countries tie at 0 (e.g. Bangladesh, Benin, Egypt, Arab Rep.). The median country value is 0.379.

    Top 10 countries, 2024

    % age 15+

    Source: World Bank, fin38.39c, retrieved 19 November 2026. Computed from received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv.

    Highest, 2024

    #CountryValue
    1Albania16.85
    2Moldova15.43
    3Romania14.99
    4Bulgaria7.65
    5Montenegro6.93
    6Philippines5.88
    7Uzbekistan5.75
    8Namibia3.87
    9Botswana3.09
    10Lesotho3.03

    Lowest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Zimbabwe0
    2West Bank and Gaza0
    3Turkiye0
    4Nigeria0
    5Mongolia0
    6Malaysia0
    7Liberia0
    8Ghana0
    9Gambia, The0
    10Ethiopia0
    How many countries report, by decade
    DecadeMost countries in one year
    2010s144
    2020s122

    By region, 2024

    World Bank regionValue
    South Asia0.476

    First rows

    received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20170.280520008762478
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20210.033571168489014
    AlbaniaALBEurope & Central AsiaUpper middle income201712.6497041055205
    AlbaniaALBEurope & Central AsiaUpper middle income202110.9348111926729
    AlbaniaALBEurope & Central AsiaUpper middle income202416.8477170484785
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income20171.55857170584734
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income20210.675080367944448
    ArgentinaARGLatin America & CaribbeanUpper middle income20170.893455191116182

    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
    valuenumberReceived a public sector pension: in cash only (% age 15+), 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 2024?

    Albania, with 16.85.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv"))

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

    File: received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv

    How many countries report a value for 2024?

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

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

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv"))

    (df.year == 2024).sum()

    File: received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv

    What is the median across countries in 2024?

    0.379 (median of the 90 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv"))

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

    File: received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv

    Which country rose the most between 2017 and 2024?

    Albania: from 12.65 to 16.85, a rise of 4.2 (out of 86 countries with both years).

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

    Use the wide file (received-a-public-sector-pension-in-cash-only-percent-age-15-plus-wide.csv): add a column = [2024] - [2017], 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 = 2017 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv"))

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

    File: received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv

    Which year has the most countries reporting?

    2017, with 144 countries. (Later years are still filling in as countries report.)

    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("received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv"))

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

    File: received-a-public-sector-pension-in-cash-only-percent-age-15-plus.csv