DataBrighten

    Gross graduation ratio, primary, total (%)

    1,270 × 6rows × columns: 172 countries, 1999 to 2019

    Real data: World Bank, Gender Statistics, indicator SE.PRM.CMPL.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows1,270country-year values
    Countries172with at least one value
    Years1999 – 201921 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Primary completion rate is the percentage of students completing the last year of primary school. The rate based on completers is calculated by taking the total number of completers in the last grade of primary school divided by the total number of children of official graduation age.

    The numbers in 2017

    In 2017, 111 countries have a value. The highest is Grenada (121.2); the lowest is North Macedonia (0). The median country value is 95.88.

    Top 10 countries, 2017

    %

    Source: World Bank, SE.PRM.CMPL.ZS, retrieved 19 November 2026. Computed from gross-graduation-ratio-primary-total-percent.csv.

    Highest, 2017

    #CountryValue
    1Grenada121.2
    2Nepal117.6
    3Georgia113.9
    4Algeria112
    5Oman110.1
    6Maldives109.6
    7Poland109.1
    8Azerbaijan108.9
    9Samoa108.1
    10Argentina106.2

    Lowest, 2017

    #CountryValue
    1North Macedonia0
    2Niger29.9
    3Mauritania38.89
    4Benin39.82
    5Senegal40.71
    6Mozambique42.88
    7Cameroon45.64
    8Burundi47.78
    9Comoros48.9
    10Djibouti50.51
    How many countries report, by decade
    DecadeMost countries in one year
    1990s4
    2000s69
    2010s123

    First rows

    gross-graduation-ratio-primary-total-percent.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200859.79023
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200959.40029
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201147.4657
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201249.72015
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201356.51441
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201458.58343
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201556.5954
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201655.21343

    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
    valuenumberGross graduation ratio, primary, total (%), 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 2017?

    Grenada, with 121.2.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("gross-graduation-ratio-primary-total-percent.csv"))

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

    File: gross-graduation-ratio-primary-total-percent.csv

    How many countries report a value for 2017?

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

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

    =COUNTIF(E2:E100000,2017)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("gross-graduation-ratio-primary-total-percent.csv"))

    (df.year == 2017).sum()

    File: gross-graduation-ratio-primary-total-percent.csv

    What is the median across countries in 2017?

    95.88 (median of the 111 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("gross-graduation-ratio-primary-total-percent.csv"))

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

    File: gross-graduation-ratio-primary-total-percent.csv

    Which country rose the most between 2007 and 2017?

    Lao PDR: from 73.77 to 96.16, a rise of 22.4 (out of 42 countries with both years).

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

    Use the wide file (gross-graduation-ratio-primary-total-percent-wide.csv): add a column = [2017] - [2007], 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 = 2007 AND b.year = 2017 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("gross-graduation-ratio-primary-total-percent.csv"))

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

    File: gross-graduation-ratio-primary-total-percent.csv

    Which year has the most countries reporting?

    2015, with 123 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("gross-graduation-ratio-primary-total-percent.csv"))

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

    File: gross-graduation-ratio-primary-total-percent.csv