Gross graduation ratio, primary, total (%)
Real data: World Bank, Gender Statistics, indicator SE.PRM.CMPL.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
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
%
Highest, 2017
| # | Country | Value |
|---|---|---|
| 1 | Grenada | 121.2 |
| 2 | Nepal | 117.6 |
| 3 | Georgia | 113.9 |
| 4 | Algeria | 112 |
| 5 | Oman | 110.1 |
| 6 | Maldives | 109.6 |
| 7 | Poland | 109.1 |
| 8 | Azerbaijan | 108.9 |
| 9 | Samoa | 108.1 |
| 10 | Argentina | 106.2 |
Lowest, 2017
| # | Country | Value |
|---|---|---|
| 1 | North Macedonia | 0 |
| 2 | Niger | 29.9 |
| 3 | Mauritania | 38.89 |
| 4 | Benin | 39.82 |
| 5 | Senegal | 40.71 |
| 6 | Mozambique | 42.88 |
| 7 | Cameroon | 45.64 |
| 8 | Burundi | 47.78 |
| 9 | Comoros | 48.9 |
| 10 | Djibouti | 50.51 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1990s | 4 |
| 2000s | 69 |
| 2010s | 123 |
First rows
gross-graduation-ratio-primary-total-percent.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 59.79023 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 59.40029 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 47.4657 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 49.72015 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2013 | 56.51441 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2014 | 58.58343 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2015 | 56.5954 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2016 | 55.21343 |
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 | Gross 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