ledger: extract GDP per capita (nominal USD) table from Wikipedia (222 rows)
This commit is contained in:
1 parent
b54fc0f344
commit
13beb50c14
2 files changed
+234
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# GDP per capita (nominal, USD) — extraction provenance
|
||||
|
||||
- **Source**: Wikipedia, "List of countries by GDP (nominal) per capita"
|
||||
- URL: https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)_per_capita
|
||||
- **Extraction date**: 2026-10-21
|
||||
- **Table**: the single `wikitable` on the page; rows 6..227 = data (222 rows); row 228 = the Notes row.
|
||||
- **Columns**: country, imf (2026), world_bank (2025), un (2023-24)
|
||||
- **Cleaning**: stripped HTML tags, footnote references, the `.mw-parser-output .sr-only` CSS leak, trailing year in parentheses, commas and spaces; a leading "—" is rendered as "N/A" (unavailable).
|
||||
- **Notes**: "—" in the IMF column = not available (e.g. Monaco, Bermuda). Values are nominal US$ per capita, latest available year per source (column headers carry the year). The source table is sorted by IMF value descending.
|
||||
|
||||
Tables produced: `gdp_per_capita_usd.csv`.
|
||||
@@ -0,0 +1,223 @@
|
||||
country,imf_gdp_per_capita_usd,world_bank_gdp_per_capita_usd,un_gdp_per_capita_usd
|
||||
Monaco,N/a,288002,288002
|
||||
Liechtenstein,230417,220167,216392
|
||||
Luxembourg,155733,147252,138596
|
||||
Bermuda,N/a,142250,136766
|
||||
Ireland,127837,131593,109874
|
||||
Switzerland,124478,114769,104973
|
||||
Norway,115188,94594,86717
|
||||
Singapore,109117,98814,93853
|
||||
Iceland,107464,98324,84450
|
||||
CaymanIslands,N/a,104293,102833
|
||||
UnitedStates,95212,90027,84817
|
||||
IsleofMan,N/a,90015,N/a
|
||||
Denmark,82713,76970,71021
|
||||
Netherlands,78535,73684,66649
|
||||
Macau,77049,75902,68680
|
||||
Australia,75172,65130,68528
|
||||
ChannelIslands,N/a,74586,N/a
|
||||
FaroeIslands,N/a,74175,N/a
|
||||
Israel,72441,60337,57770
|
||||
SanMarino,70662,59871,58917
|
||||
Sweden,69244,63133,57028
|
||||
Austria,67020,62930,58634
|
||||
Germany,65699,60496,55113
|
||||
Belgium,64773,60750,56613
|
||||
Qatar,63634,72525,71894
|
||||
Greenland,N/a,58499,62078
|
||||
UnitedKingdom,61108,57602,53313
|
||||
HongKong,60322,56983,54871
|
||||
Finland,60156,56149,53174
|
||||
Canada,60105,55698,57120
|
||||
UnitedArabEmirates,57109,50274,50088
|
||||
Andorra,53988,54292,49304
|
||||
Malta,52149,47907,46386
|
||||
France,51448,48986,45950
|
||||
NewZealand,51043,49591,49889
|
||||
Italy,45886,43309,40112
|
||||
"""]}'>Cyprus",44477,41783,40476
|
||||
U.S.VirginIslands,N/a,44321,N/a
|
||||
"""]}'>Taiwan",43951,N/a,N/a
|
||||
Bahamas,43858,39455,39455
|
||||
SouthKorea,43512,36227,36262
|
||||
SintMaarten(Dutchpart),N/a,42978,38515
|
||||
Aruba,42934,38591,38791
|
||||
PuertoRico,41851,40620,38814
|
||||
Guam,N/a,41833,N/a
|
||||
Spain,41756,38627,35958
|
||||
Slovenia,41631,37376,34212
|
||||
Brunei,40613,32235,33418
|
||||
CzechRepublic,39614,35917,32139
|
||||
BritishVirginIslands,N/a,N/a,38627
|
||||
Guyana,38572,32414,29670
|
||||
TurksandCaicosIslands,N/a,37507,37760
|
||||
Estonia,37310,34418,31434
|
||||
SaudiArabia,36577,34537,36927
|
||||
Lithuania,36135,32959,29684
|
||||
Japan,35399,35951,32534
|
||||
Portugal,34815,32082,30049
|
||||
Anguilla,N/a,N/a,31269
|
||||
Poland,31186,28420,23734
|
||||
Slovakia,30884,28544,25746
|
||||
CookIslands,N/a,N/a,30161
|
||||
Croatia,29860,27104,23911
|
||||
Greece,29413,26948,25592
|
||||
NewCaledonia,N/a,29213,34981
|
||||
Kuwait,28928,32312,32471
|
||||
Latvia,28630,26312,23337
|
||||
Barbados,28245,28365,26897
|
||||
Bahrain,28147,30597,29314
|
||||
Hungary,27884,25908,23037
|
||||
Uruguay,27339,25216,23907
|
||||
Romania,24742,22538,20130
|
||||
NorthernMarianaIslands,N/a,23786,N/a
|
||||
Cuba,N/a,9605,22957
|
||||
Curaçao,N/a,22833,19200
|
||||
AntiguaandBarbuda,22504,24819,23060
|
||||
FrenchPolynesia,N/a,22440,22438
|
||||
Oman,22425,19947,20825
|
||||
Bulgaria,22300,20328,16773
|
||||
SaintKittsandNevis,22237,22771,23916
|
||||
SaintMartin(Frenchpart),N/a,21668,N/a
|
||||
Palau,21308,19532,17513
|
||||
CostaRica,21282,19970,18587
|
||||
Turkey,21079,18599,15127
|
||||
Panama,20877,19790,19103
|
||||
Chile,19962,17995,16710
|
||||
Russia,19953,17547,15007
|
||||
Maldives,19507,14615,13379
|
||||
Kazakhstan,19311,14692,14155
|
||||
Seychelles,19157,19449,16576
|
||||
TrinidadandTobago,18603,18967,17001
|
||||
Montserrat,N/a,N/a,18451
|
||||
AmericanSamoa,N/a,18018,N/a
|
||||
Serbia,17126,15262,13223
|
||||
Montenegro,16211,14817,12959
|
||||
Mexico,16191,13889,14158
|
||||
Nauru,16076,14640,15645
|
||||
Argentina,16021,14898,13970
|
||||
Malaysia,15981,13125,11867
|
||||
"""]}'>China",15371,13862,13206
|
||||
SaintLucia,15091,14746,14323
|
||||
World,14217,14406,13097
|
||||
Albania,13968,12998,9685
|
||||
Mauritius,13671,12991,11763
|
||||
Grenada,13298,12107,11705
|
||||
DominicanRepublic,13245,11059,10876
|
||||
Brazil,12397,10713,10311
|
||||
Turkmenistan,12291,6540,9161
|
||||
Belarus,11962,10279,8387
|
||||
NorthMacedonia,11762,10490,9299
|
||||
Peru,11498,9684,8456
|
||||
SaintVincentandtheGrenadines,11405,12562,11294
|
||||
"""]}'>Georgia",11234,9692,8980
|
||||
Gabon,11034,8263,8219
|
||||
BosniaandHerzegovina,10845,10382,9632
|
||||
Colombia,10726,8562,7914
|
||||
Armenia,10663,9474,8728
|
||||
Dominica,10428,10989,10405
|
||||
Paraguay,9907,7027,6457
|
||||
"""]}'>Moldova",9497,8622,5997
|
||||
MarshallIslands,9085,8489,7491
|
||||
Suriname,8965,7070,6990
|
||||
Kosovo,8902,7899,6621
|
||||
Jamaica,8674,8003,7754
|
||||
Mongolia,8570,7108,6786
|
||||
Botswana,8563,7778,7695
|
||||
Azerbaijan,8497,7411,7190
|
||||
EquatorialGuinea,8484,6615,6493
|
||||
Thailand,8372,8057,7347
|
||||
Tuvalu,8367,6345,5851
|
||||
Belize,8078,7866,7681
|
||||
SouthAfrica,7659,6598,6267
|
||||
Ecuador,7575,7125,6875
|
||||
Libya,7557,6449,6569
|
||||
Tonga,7343,6547,6218
|
||||
"""]}'>Ukraine",7075,5866,5038
|
||||
Fiji,7034,6642,6426
|
||||
FederatedStatesofMicronesia,7010,4414,5058
|
||||
Guatemala,6980,6598,6150
|
||||
Algeria,6910,6051,5703
|
||||
CapeVerde,6556,5797,5273
|
||||
Lebanon,6443,4473,6543
|
||||
Samoa,6303,5873,5749
|
||||
ElSalvador,6124,5767,5580
|
||||
Namibia,5742,4876,4413
|
||||
Jordan,5598,5348,4618
|
||||
Vietnam,5260,5066,4717
|
||||
Iraq,5258,5410,6074
|
||||
Indonesia,5153,5060,4925
|
||||
Morocco,5141,4673,4217
|
||||
SriLanka,5062,5002,4273
|
||||
Tunisia,5053,4657,4357
|
||||
Bhutan,4933,4493,4228
|
||||
Eswatini,4775,4108,3981
|
||||
SãoToméandPríncipe,4582,4084,3517
|
||||
Uzbekistan,4575,3968,3162
|
||||
Djibouti,4556,3906,3553
|
||||
Philippines,4360,4171,3985
|
||||
Venezuela,4355,3495,5298
|
||||
Vanuatu,4052,4039,3332
|
||||
Bolivia,4051,5148,3756
|
||||
Egypt,4024,3086,2634
|
||||
Angola,3876,3130,3092
|
||||
Nicaragua,3732,3173,2848
|
||||
Zimbabwe,3718,3021,2748
|
||||
Honduras,3663,3598,3426
|
||||
Kyrgyzstan,3620,3081,2432
|
||||
Ghana,3604,3257,2409
|
||||
Iran,3548,3924,4894
|
||||
PapuaNewGuinea,3419,3020,2986
|
||||
IvoryCoast,3264,3050,2690
|
||||
"""]}'>Palestine",2853,3171,3640
|
||||
Haiti,3095,2694,1705
|
||||
Kiribati,3058,2559,2178
|
||||
Mauritania,3015,2198,2121
|
||||
Cambodia,3001,2872,2603
|
||||
Bangladesh,2887,2597,2464
|
||||
Congo,2867,2515,2291
|
||||
Guinea,2785,1877,1597
|
||||
Kenya,2785,2363,1952
|
||||
India,2749,2703,2724
|
||||
Laos,2331,2325,1958
|
||||
SolomonIslands,2295,2086,2042
|
||||
Cameroon,2115,1972,1737
|
||||
Senegal,2054,1955,1682
|
||||
Tajikistan,2005,1637,1161
|
||||
Zambia,1882,1318,1331
|
||||
Comoros,1859,2056,1703
|
||||
Pakistan,1836,1596,1212
|
||||
Benin,1800,1658,1394
|
||||
Nigeria,1594,1224,1646
|
||||
Nepal,1540,1536,1363
|
||||
Timor-Leste,1520,1341,1503
|
||||
Myanmar,1507,1489,1147
|
||||
Togo,1480,1384,997
|
||||
Uganda,1453,1206,1049
|
||||
Guinea-Bissau,1429,1124,855
|
||||
Zanzibar,N/a,N/a,1374
|
||||
Mali,1343,1193,833
|
||||
"""]}'>Tanzania",1325,1319,1209
|
||||
BurkinaFaso,1316,1148,883
|
||||
Lesotho,1298,1089,916
|
||||
Chad,1295,1022,913
|
||||
Rwanda,1291,1124,1010
|
||||
Syria,N/a,1057,1230
|
||||
Ethiopia,1111,933,1241
|
||||
DRCongo,1111,807,655
|
||||
Gambia,1030,919,890
|
||||
Liberia,976,915,917
|
||||
SierraLeone,947,846,758
|
||||
CentralAfricanRepublic,891,556,496
|
||||
Somalia,850,661,597
|
||||
Niger,740,775,643
|
||||
Malawi,740,672,509
|
||||
Mozambique,673,627,623
|
||||
Eritrea,N/a,688,656
|
||||
Madagascar,649,599,598
|
||||
SouthSudan,642,1080,403
|
||||
NorthKorea,N/a,N/a,640
|
||||
Sudan,597,1165,680
|
||||
Yemen,567,634,222
|
||||
Burundi,510,234,289
|
||||
Afghanistan,448,417,396
|
||||
|
Reference in new issue
Block a user