Public and publicly guaranteed debt service (% of exports of goods, services and primary income)
Real data: World Bank, World Development Indicators, indicator DT.TDS.DPPG.XP.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Public and publicly guaranteed debt service to exports of goods, services, and income. Public and publicly guaranteed debt service is the sum of principal repayments and interest actually paid in currency, goods, or services on long-term obligations of public debtors and long-term private obligations guaranteed by a public entity. Exports of goods, services and primary income is the sum of goods (merchandise) exports, exports of (nonfactor) services and income (factor) receipts.
The numbers in 2024
In 2024, 101 countries have a value. The highest is Haiti (57.2); the lowest is Algeria (0.186). The median country value is 6.45.
Top 10 countries, 2024
% of exports of goods, services and primary income
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Haiti | 57.2 |
| 2 | Egypt, Arab Rep. | 36.23 |
| 3 | Pakistan | 27.15 |
| 4 | Angola | 26.22 |
| 5 | El Salvador | 25.85 |
| 6 | Kenya | 25.7 |
| 7 | Tonga | 23.22 |
| 8 | Dominica | 22.58 |
| 9 | Cote d'Ivoire | 19.04 |
| 10 | Colombia | 18.92 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Algeria | 0.186 |
| 2 | Thailand | 0.913 |
| 3 | Kosovo | 0.946 |
| 4 | Solomon Islands | 0.973 |
| 5 | Zimbabwe | 1.08 |
| 6 | Congo, Dem. Rep. | 1.08 |
| 7 | Viet Nam | 1.34 |
| 8 | Cambodia | 1.68 |
| 9 | China | 1.88 |
| 10 | Sao Tome and Principe | 1.96 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 60 |
| 1980s | 79 |
| 1990s | 91 |
| 2000s | 111 |
| 2010s | 114 |
| 2020s | 111 |
By region, 2024
| World Bank region | Value |
|---|---|
| Sub-Saharan Africa | 8.88 |
| Latin America & Caribbean | 8.54 |
| South Asia | 3.72 |
First rows
public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 0.365762673635473 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 0.439138776175713 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 0.315844562326822 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 0.305435336210647 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 0.399703069859573 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2013 | 0.737092466695185 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2014 | 0.975823260530536 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2015 | 1.60867211188815 |
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 | Public and publicly guaranteed debt service (% of exports of goods, services and primary income), 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?
Haiti, with 57.2.
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("public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv
How many countries report a value for 2024?
101 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("public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv"))
(df.year == 2024).sum()File: public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv
What is the median across countries in 2024?
6.45 (median of the 101 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("public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv"))
df[df.year == 2024]["value"].median()File: public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv
Which country rose the most between 2014 and 2024?
Haiti: from 1.39 to 57.2, a rise of 55.81 (out of 100 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2024] - w[2014]).dropna().nlargest(1)File: public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv
Which year has the most countries reporting?
2015, with 114 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("public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: public-and-publicly-guaranteed-debt-service-percent-of-exports-of-goods-services-and-prima.csv