This commit is contained in:
Win 2024-10-03 09:51:17 +07:00
parent aa40792404
commit 9424de9ebd
7 changed files with 3489 additions and 0 deletions

249
mat-203/00010/UnM49.csv Normal file
View File

@ -0,0 +1,249 @@
Global Code;Global Name;Region Code;Region Name;Sub-region Code;Sub-region Name;Intermediate Region Code;Intermediate Region Name;Country or Area;M49 Code;ISO-alpha2 Code;ISO-alpha3 Code;Least Developed Countries (LDC);Land Locked Developing Countries (LLDC);Small Island Developing States (SIDS)
001;World;002;Africa;015;Northern Africa;;;Algeria;012;DZ;DZA;;;
001;World;002;Africa;015;Northern Africa;;;Egypt;818;EG;EGY;;;
001;World;002;Africa;015;Northern Africa;;;Libya;434;LY;LBY;;;
001;World;002;Africa;015;Northern Africa;;;Morocco;504;MA;MAR;;;
001;World;002;Africa;015;Northern Africa;;;Sudan;729;SD;SDN;x;;
001;World;002;Africa;015;Northern Africa;;;Tunisia;788;TN;TUN;;;
001;World;002;Africa;015;Northern Africa;;;Western Sahara;732;EH;ESH;;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;British Indian Ocean Territory;086;IO;IOT;;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Burundi;108;BI;BDI;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Comoros;174;KM;COM;x;;x
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Djibouti;262;DJ;DJI;x;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Eritrea;232;ER;ERI;x;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Ethiopia;231;ET;ETH;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;French Southern Territories;260;TF;ATF;;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Kenya;404;KE;KEN;;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Madagascar;450;MG;MDG;x;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Malawi;454;MW;MWI;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Mauritius;480;MU;MUS;;;x
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Mayotte;175;YT;MYT;;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Mozambique;508;MZ;MOZ;x;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Réunion;638;RE;REU;;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Rwanda;646;RW;RWA;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Seychelles;690;SC;SYC;;;x
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Somalia;706;SO;SOM;x;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;South Sudan;728;SS;SSD;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Uganda;800;UG;UGA;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;United Republic of Tanzania;834;TZ;TZA;x;;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Zambia;894;ZM;ZMB;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;014;Eastern Africa;Zimbabwe;716;ZW;ZWE;;x;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Angola;024;AO;AGO;x;;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Cameroon;120;CM;CMR;;;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Central African Republic;140;CF;CAF;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Chad;148;TD;TCD;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Congo;178;CG;COG;;;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Democratic Republic of the Congo;180;CD;COD;x;;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Equatorial Guinea;226;GQ;GNQ;;;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Gabon;266;GA;GAB;;;
001;World;002;Africa;202;Sub-Saharan Africa;017;Middle Africa;Sao Tome and Principe;678;ST;STP;x;;x
001;World;002;Africa;202;Sub-Saharan Africa;018;Southern Africa;Botswana;072;BW;BWA;;x;
001;World;002;Africa;202;Sub-Saharan Africa;018;Southern Africa;Eswatini;748;SZ;SWZ;;x;
001;World;002;Africa;202;Sub-Saharan Africa;018;Southern Africa;Lesotho;426;LS;LSO;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;018;Southern Africa;Namibia;516;NA;NAM;;;
001;World;002;Africa;202;Sub-Saharan Africa;018;Southern Africa;South Africa;710;ZA;ZAF;;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Benin;204;BJ;BEN;x;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Burkina Faso;854;BF;BFA;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Cabo Verde;132;CV;CPV;;;x
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Côte dIvoire;384;CI;CIV;;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Gambia;270;GM;GMB;x;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Ghana;288;GH;GHA;;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Guinea;324;GN;GIN;x;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Guinea-Bissau;624;GW;GNB;x;;x
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Liberia;430;LR;LBR;x;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Mali;466;ML;MLI;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Mauritania;478;MR;MRT;x;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Niger;562;NE;NER;x;x;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Nigeria;566;NG;NGA;;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Saint Helena;654;SH;SHN;;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Senegal;686;SN;SEN;x;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Sierra Leone;694;SL;SLE;x;;
001;World;002;Africa;202;Sub-Saharan Africa;011;Western Africa;Togo;768;TG;TGO;x;;
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Anguilla;660;AI;AIA;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Antigua and Barbuda;028;AG;ATG;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Aruba;533;AW;ABW;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Bahamas;044;BS;BHS;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Barbados;052;BB;BRB;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Bonaire, Sint Eustatius and Saba;535;BQ;BES;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;British Virgin Islands;092;VG;VGB;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Cayman Islands;136;KY;CYM;;;
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Cuba;192;CU;CUB;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Curaçao;531;CW;CUW;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Dominica;212;DM;DMA;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Dominican Republic;214;DO;DOM;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Grenada;308;GD;GRD;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Guadeloupe;312;GP;GLP;;;
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Haiti;332;HT;HTI;x;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Jamaica;388;JM;JAM;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Martinique;474;MQ;MTQ;;;
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Montserrat;500;MS;MSR;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Puerto Rico;630;PR;PRI;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Saint Barthélemy;652;BL;BLM;;;
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Saint Kitts and Nevis;659;KN;KNA;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Saint Lucia;662;LC;LCA;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Saint Martin (French Part);663;MF;MAF;;;
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Saint Vincent and the Grenadines;670;VC;VCT;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Sint Maarten (Dutch part);534;SX;SXM;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Trinidad and Tobago;780;TT;TTO;;;x
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;Turks and Caicos Islands;796;TC;TCA;;;
001;World;019;Americas;419;Latin America and the Caribbean;029;Caribbean;United States Virgin Islands;850;VI;VIR;;;x
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;Belize;084;BZ;BLZ;;;x
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;Costa Rica;188;CR;CRI;;;
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;El Salvador;222;SV;SLV;;;
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;Guatemala;320;GT;GTM;;;
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;Honduras;340;HN;HND;;;
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;Mexico;484;MX;MEX;;;
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;Nicaragua;558;NI;NIC;;;
001;World;019;Americas;419;Latin America and the Caribbean;013;Central America;Panama;591;PA;PAN;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Argentina;032;AR;ARG;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Bolivia (Plurinational State of);068;BO;BOL;;x;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Bouvet Island;074;BV;BVT;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Brazil;076;BR;BRA;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Chile;152;CL;CHL;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Colombia;170;CO;COL;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Ecuador;218;EC;ECU;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Falkland Islands (Malvinas);238;FK;FLK;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;French Guiana;254;GF;GUF;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Guyana;328;GY;GUY;;;x
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Paraguay;600;PY;PRY;;x;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Peru;604;PE;PER;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;South Georgia and the South Sandwich Islands;239;GS;SGS;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Suriname;740;SR;SUR;;;x
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Uruguay;858;UY;URY;;;
001;World;019;Americas;419;Latin America and the Caribbean;005;South America;Venezuela (Bolivarian Republic of);862;VE;VEN;;;
001;World;019;Americas;021;Northern America;;;Bermuda;060;BM;BMU;;;
001;World;019;Americas;021;Northern America;;;Canada;124;CA;CAN;;;
001;World;019;Americas;021;Northern America;;;Greenland;304;GL;GRL;;;
001;World;019;Americas;021;Northern America;;;Saint Pierre and Miquelon;666;PM;SPM;;;
001;World;019;Americas;021;Northern America;;;United States of America;840;US;USA;;;
001;World;;;;;;;Antarctica;010;AQ;ATA;;;
001;World;142;Asia;143;Central Asia;;;Kazakhstan;398;KZ;KAZ;;x;
001;World;142;Asia;143;Central Asia;;;Kyrgyzstan;417;KG;KGZ;;x;
001;World;142;Asia;143;Central Asia;;;Tajikistan;762;TJ;TJK;;x;
001;World;142;Asia;143;Central Asia;;;Turkmenistan;795;TM;TKM;;x;
001;World;142;Asia;143;Central Asia;;;Uzbekistan;860;UZ;UZB;;x;
001;World;142;Asia;030;Eastern Asia;;;China;156;CN;CHN;;;
001;World;142;Asia;030;Eastern Asia;;;China, Hong Kong Special Administrative Region;344;HK;HKG;;;
001;World;142;Asia;030;Eastern Asia;;;China, Macao Special Administrative Region;446;MO;MAC;;;
001;World;142;Asia;030;Eastern Asia;;;Democratic People's Republic of Korea;408;KP;PRK;;;
001;World;142;Asia;030;Eastern Asia;;;Japan;392;JP;JPN;;;
001;World;142;Asia;030;Eastern Asia;;;Mongolia;496;MN;MNG;;x;
001;World;142;Asia;030;Eastern Asia;;;Republic of Korea;410;KR;KOR;;;
001;World;142;Asia;035;South-eastern Asia;;;Brunei Darussalam;096;BN;BRN;;;
001;World;142;Asia;035;South-eastern Asia;;;Cambodia;116;KH;KHM;x;;
001;World;142;Asia;035;South-eastern Asia;;;Indonesia;360;ID;IDN;;;
001;World;142;Asia;035;South-eastern Asia;;;Lao People's Democratic Republic;418;LA;LAO;x;x;
001;World;142;Asia;035;South-eastern Asia;;;Malaysia;458;MY;MYS;;;
001;World;142;Asia;035;South-eastern Asia;;;Myanmar;104;MM;MMR;x;;
001;World;142;Asia;035;South-eastern Asia;;;Philippines;608;PH;PHL;;;
001;World;142;Asia;035;South-eastern Asia;;;Singapore;702;SG;SGP;;;x
001;World;142;Asia;035;South-eastern Asia;;;Thailand;764;TH;THA;;;
001;World;142;Asia;035;South-eastern Asia;;;Timor-Leste;626;TL;TLS;x;;x
001;World;142;Asia;035;South-eastern Asia;;;Viet Nam;704;VN;VNM;;;
001;World;142;Asia;034;Southern Asia;;;Afghanistan;004;AF;AFG;x;x;
001;World;142;Asia;034;Southern Asia;;;Bangladesh;050;BD;BGD;x;;
001;World;142;Asia;034;Southern Asia;;;Bhutan;064;BT;BTN;;x;
001;World;142;Asia;034;Southern Asia;;;India;356;IN;IND;;;
001;World;142;Asia;034;Southern Asia;;;Iran (Islamic Republic of);364;IR;IRN;;;
001;World;142;Asia;034;Southern Asia;;;Maldives;462;MV;MDV;;;x
001;World;142;Asia;034;Southern Asia;;;Nepal;524;NP;NPL;x;x;
001;World;142;Asia;034;Southern Asia;;;Pakistan;586;PK;PAK;;;
001;World;142;Asia;034;Southern Asia;;;Sri Lanka;144;LK;LKA;;;
001;World;142;Asia;145;Western Asia;;;Armenia;051;AM;ARM;;x;
001;World;142;Asia;145;Western Asia;;;Azerbaijan;031;AZ;AZE;;x;
001;World;142;Asia;145;Western Asia;;;Bahrain;048;BH;BHR;;;
001;World;142;Asia;145;Western Asia;;;Cyprus;196;CY;CYP;;;
001;World;142;Asia;145;Western Asia;;;Georgia;268;GE;GEO;;;
001;World;142;Asia;145;Western Asia;;;Iraq;368;IQ;IRQ;;;
001;World;142;Asia;145;Western Asia;;;Israel;376;IL;ISR;;;
001;World;142;Asia;145;Western Asia;;;Jordan;400;JO;JOR;;;
001;World;142;Asia;145;Western Asia;;;Kuwait;414;KW;KWT;;;
001;World;142;Asia;145;Western Asia;;;Lebanon;422;LB;LBN;;;
001;World;142;Asia;145;Western Asia;;;Oman;512;OM;OMN;;;
001;World;142;Asia;145;Western Asia;;;Qatar;634;QA;QAT;;;
001;World;142;Asia;145;Western Asia;;;Saudi Arabia;682;SA;SAU;;;
001;World;142;Asia;145;Western Asia;;;State of Palestine;275;PS;PSE;;;
001;World;142;Asia;145;Western Asia;;;Syrian Arab Republic;760;SY;SYR;;;
001;World;142;Asia;145;Western Asia;;;Türkiye;792;TR;TUR;;;
001;World;142;Asia;145;Western Asia;;;United Arab Emirates;784;AE;ARE;;;
001;World;142;Asia;145;Western Asia;;;Yemen;887;YE;YEM;x;;
001;World;150;Europe;151;Eastern Europe;;;Belarus;112;BY;BLR;;;
001;World;150;Europe;151;Eastern Europe;;;Bulgaria;100;BG;BGR;;;
001;World;150;Europe;151;Eastern Europe;;;Czechia;203;CZ;CZE;;;
001;World;150;Europe;151;Eastern Europe;;;Hungary;348;HU;HUN;;;
001;World;150;Europe;151;Eastern Europe;;;Poland;616;PL;POL;;;
001;World;150;Europe;151;Eastern Europe;;;Republic of Moldova;498;MD;MDA;;x;
001;World;150;Europe;151;Eastern Europe;;;Romania;642;RO;ROU;;;
001;World;150;Europe;151;Eastern Europe;;;Russian Federation;643;RU;RUS;;;
001;World;150;Europe;151;Eastern Europe;;;Slovakia;703;SK;SVK;;;
001;World;150;Europe;151;Eastern Europe;;;Ukraine;804;UA;UKR;;;
001;World;150;Europe;154;Northern Europe;;;Åland Islands;248;AX;ALA;;;
001;World;150;Europe;154;Northern Europe;;;Denmark;208;DK;DNK;;;
001;World;150;Europe;154;Northern Europe;;;Estonia;233;EE;EST;;;
001;World;150;Europe;154;Northern Europe;;;Faroe Islands;234;FO;FRO;;;
001;World;150;Europe;154;Northern Europe;;;Finland;246;FI;FIN;;;
001;World;150;Europe;154;Northern Europe;;;Guernsey;831;GG;GGY;;;
001;World;150;Europe;154;Northern Europe;;;Iceland;352;IS;ISL;;;
001;World;150;Europe;154;Northern Europe;;;Ireland;372;IE;IRL;;;
001;World;150;Europe;154;Northern Europe;;;Isle of Man;833;IM;IMN;;;
001;World;150;Europe;154;Northern Europe;;;Jersey;832;JE;JEY;;;
001;World;150;Europe;154;Northern Europe;;;Latvia;428;LV;LVA;;;
001;World;150;Europe;154;Northern Europe;;;Lithuania;440;LT;LTU;;;
001;World;150;Europe;154;Northern Europe;;;Norway;578;NO;NOR;;;
001;World;150;Europe;154;Northern Europe;;;Svalbard and Jan Mayen Islands;744;SJ;SJM;;;
001;World;150;Europe;154;Northern Europe;;;Sweden;752;SE;SWE;;;
001;World;150;Europe;154;Northern Europe;;;United Kingdom of Great Britain and Northern Ireland;826;GB;GBR;;;
001;World;150;Europe;039;Southern Europe;;;Albania;008;AL;ALB;;;
001;World;150;Europe;039;Southern Europe;;;Andorra;020;AD;AND;;;
001;World;150;Europe;039;Southern Europe;;;Bosnia and Herzegovina;070;BA;BIH;;;
001;World;150;Europe;039;Southern Europe;;;Croatia;191;HR;HRV;;;
001;World;150;Europe;039;Southern Europe;;;Gibraltar;292;GI;GIB;;;
001;World;150;Europe;039;Southern Europe;;;Greece;300;GR;GRC;;;
001;World;150;Europe;039;Southern Europe;;;Holy See;336;VA;VAT;;;
001;World;150;Europe;039;Southern Europe;;;Italy;380;IT;ITA;;;
001;World;150;Europe;039;Southern Europe;;;Malta;470;MT;MLT;;;
001;World;150;Europe;039;Southern Europe;;;Montenegro;499;ME;MNE;;;
001;World;150;Europe;039;Southern Europe;;;North Macedonia;807;MK;MKD;;x;
001;World;150;Europe;039;Southern Europe;;;Portugal;620;PT;PRT;;;
001;World;150;Europe;039;Southern Europe;;;San Marino;674;SM;SMR;;;
001;World;150;Europe;039;Southern Europe;;;Serbia;688;RS;SRB;;;
001;World;150;Europe;039;Southern Europe;;;Slovenia;705;SI;SVN;;;
001;World;150;Europe;039;Southern Europe;;;Spain;724;ES;ESP;;;
001;World;150;Europe;155;Western Europe;;;Austria;040;AT;AUT;;;
001;World;150;Europe;155;Western Europe;;;Belgium;056;BE;BEL;;;
001;World;150;Europe;155;Western Europe;;;France;250;FR;FRA;;;
001;World;150;Europe;155;Western Europe;;;Germany;276;DE;DEU;;;
001;World;150;Europe;155;Western Europe;;;Liechtenstein;438;LI;LIE;;;
001;World;150;Europe;155;Western Europe;;;Luxembourg;442;LU;LUX;;;
001;World;150;Europe;155;Western Europe;;;Monaco;492;MC;MCO;;;
001;World;150;Europe;155;Western Europe;;;Netherlands (Kingdom of the);528;NL;NLD;;;
001;World;150;Europe;155;Western Europe;;;Switzerland;756;CH;CHE;;;
001;World;009;Oceania;053;Australia and New Zealand;;;Australia;036;AU;AUS;;;
001;World;009;Oceania;053;Australia and New Zealand;;;Christmas Island;162;CX;CXR;;;
001;World;009;Oceania;053;Australia and New Zealand;;;Cocos (Keeling) Islands;166;CC;CCK;;;
001;World;009;Oceania;053;Australia and New Zealand;;;Heard Island and McDonald Islands;334;HM;HMD;;;
001;World;009;Oceania;053;Australia and New Zealand;;;New Zealand;554;NZ;NZL;;;
001;World;009;Oceania;053;Australia and New Zealand;;;Norfolk Island;574;NF;NFK;;;
001;World;009;Oceania;054;Melanesia;;;Fiji;242;FJ;FJI;;;x
001;World;009;Oceania;054;Melanesia;;;New Caledonia;540;NC;NCL;;;x
001;World;009;Oceania;054;Melanesia;;;Papua New Guinea;598;PG;PNG;;;x
001;World;009;Oceania;054;Melanesia;;;Solomon Islands;090;SB;SLB;x;;x
001;World;009;Oceania;054;Melanesia;;;Vanuatu;548;VU;VUT;;;x
001;World;009;Oceania;057;Micronesia;;;Guam;316;GU;GUM;;;x
001;World;009;Oceania;057;Micronesia;;;Kiribati;296;KI;KIR;x;;x
001;World;009;Oceania;057;Micronesia;;;Marshall Islands;584;MH;MHL;;;x
001;World;009;Oceania;057;Micronesia;;;Micronesia (Federated States of);583;FM;FSM;;;x
001;World;009;Oceania;057;Micronesia;;;Nauru;520;NR;NRU;;;x
001;World;009;Oceania;057;Micronesia;;;Northern Mariana Islands;580;MP;MNP;;;x
001;World;009;Oceania;057;Micronesia;;;Palau;585;PW;PLW;;;x
001;World;009;Oceania;057;Micronesia;;;United States Minor Outlying Islands;581;UM;UMI;;;
001;World;009;Oceania;061;Polynesia;;;American Samoa;016;AS;ASM;;;x
001;World;009;Oceania;061;Polynesia;;;Cook Islands;184;CK;COK;;;x
001;World;009;Oceania;061;Polynesia;;;French Polynesia;258;PF;PYF;;;x
001;World;009;Oceania;061;Polynesia;;;Niue;570;NU;NIU;;;x
001;World;009;Oceania;061;Polynesia;;;Pitcairn;612;PN;PCN;;;
001;World;009;Oceania;061;Polynesia;;;Samoa;882;WS;WSM;;;x
001;World;009;Oceania;061;Polynesia;;;Tokelau;772;TK;TKL;;;
001;World;009;Oceania;061;Polynesia;;;Tonga;776;TO;TON;;;x
001;World;009;Oceania;061;Polynesia;;;Tuvalu;798;TV;TUV;x;;x
001;World;009;Oceania;061;Polynesia;;;Wallis and Futuna Islands;876;WF;WLF;;;
1 Global Code Global Name Region Code Region Name Sub-region Code Sub-region Name Intermediate Region Code Intermediate Region Name Country or Area M49 Code ISO-alpha2 Code ISO-alpha3 Code Least Developed Countries (LDC) Land Locked Developing Countries (LLDC) Small Island Developing States (SIDS)
2 001 World 002 Africa 015 Northern Africa Algeria 012 DZ DZA
3 001 World 002 Africa 015 Northern Africa Egypt 818 EG EGY
4 001 World 002 Africa 015 Northern Africa Libya 434 LY LBY
5 001 World 002 Africa 015 Northern Africa Morocco 504 MA MAR
6 001 World 002 Africa 015 Northern Africa Sudan 729 SD SDN x
7 001 World 002 Africa 015 Northern Africa Tunisia 788 TN TUN
8 001 World 002 Africa 015 Northern Africa Western Sahara 732 EH ESH
9 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa British Indian Ocean Territory 086 IO IOT
10 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Burundi 108 BI BDI x x
11 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Comoros 174 KM COM x x
12 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Djibouti 262 DJ DJI x
13 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Eritrea 232 ER ERI x
14 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Ethiopia 231 ET ETH x x
15 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa French Southern Territories 260 TF ATF
16 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Kenya 404 KE KEN
17 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Madagascar 450 MG MDG x
18 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Malawi 454 MW MWI x x
19 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Mauritius 480 MU MUS x
20 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Mayotte 175 YT MYT
21 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Mozambique 508 MZ MOZ x
22 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Réunion 638 RE REU
23 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Rwanda 646 RW RWA x x
24 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Seychelles 690 SC SYC x
25 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Somalia 706 SO SOM x
26 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa South Sudan 728 SS SSD x x
27 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Uganda 800 UG UGA x x
28 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa United Republic of Tanzania 834 TZ TZA x
29 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Zambia 894 ZM ZMB x x
30 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Zimbabwe 716 ZW ZWE x
31 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Angola 024 AO AGO x
32 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Cameroon 120 CM CMR
33 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Central African Republic 140 CF CAF x x
34 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Chad 148 TD TCD x x
35 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Congo 178 CG COG
36 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Democratic Republic of the Congo 180 CD COD x
37 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Equatorial Guinea 226 GQ GNQ
38 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Gabon 266 GA GAB
39 001 World 002 Africa 202 Sub-Saharan Africa 017 Middle Africa Sao Tome and Principe 678 ST STP x x
40 001 World 002 Africa 202 Sub-Saharan Africa 018 Southern Africa Botswana 072 BW BWA x
41 001 World 002 Africa 202 Sub-Saharan Africa 018 Southern Africa Eswatini 748 SZ SWZ x
42 001 World 002 Africa 202 Sub-Saharan Africa 018 Southern Africa Lesotho 426 LS LSO x x
43 001 World 002 Africa 202 Sub-Saharan Africa 018 Southern Africa Namibia 516 NA NAM
44 001 World 002 Africa 202 Sub-Saharan Africa 018 Southern Africa South Africa 710 ZA ZAF
45 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Benin 204 BJ BEN x
46 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Burkina Faso 854 BF BFA x x
47 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Cabo Verde 132 CV CPV x
48 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Côte d’Ivoire 384 CI CIV
49 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Gambia 270 GM GMB x
50 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Ghana 288 GH GHA
51 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Guinea 324 GN GIN x
52 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Guinea-Bissau 624 GW GNB x x
53 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Liberia 430 LR LBR x
54 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Mali 466 ML MLI x x
55 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Mauritania 478 MR MRT x
56 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Niger 562 NE NER x x
57 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Nigeria 566 NG NGA
58 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Saint Helena 654 SH SHN
59 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Senegal 686 SN SEN x
60 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Sierra Leone 694 SL SLE x
61 001 World 002 Africa 202 Sub-Saharan Africa 011 Western Africa Togo 768 TG TGO x
62 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Anguilla 660 AI AIA x
63 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Antigua and Barbuda 028 AG ATG x
64 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Aruba 533 AW ABW x
65 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Bahamas 044 BS BHS x
66 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Barbados 052 BB BRB x
67 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Bonaire, Sint Eustatius and Saba 535 BQ BES x
68 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean British Virgin Islands 092 VG VGB x
69 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Cayman Islands 136 KY CYM
70 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Cuba 192 CU CUB x
71 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Curaçao 531 CW CUW x
72 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Dominica 212 DM DMA x
73 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Dominican Republic 214 DO DOM x
74 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Grenada 308 GD GRD x
75 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Guadeloupe 312 GP GLP
76 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Haiti 332 HT HTI x x
77 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Jamaica 388 JM JAM x
78 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Martinique 474 MQ MTQ
79 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Montserrat 500 MS MSR x
80 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Puerto Rico 630 PR PRI x
81 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Saint Barthélemy 652 BL BLM
82 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Saint Kitts and Nevis 659 KN KNA x
83 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Saint Lucia 662 LC LCA x
84 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Saint Martin (French Part) 663 MF MAF
85 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Saint Vincent and the Grenadines 670 VC VCT x
86 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Sint Maarten (Dutch part) 534 SX SXM x
87 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Trinidad and Tobago 780 TT TTO x
88 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean Turks and Caicos Islands 796 TC TCA
89 001 World 019 Americas 419 Latin America and the Caribbean 029 Caribbean United States Virgin Islands 850 VI VIR x
90 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America Belize 084 BZ BLZ x
91 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America Costa Rica 188 CR CRI
92 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America El Salvador 222 SV SLV
93 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America Guatemala 320 GT GTM
94 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America Honduras 340 HN HND
95 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America Mexico 484 MX MEX
96 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America Nicaragua 558 NI NIC
97 001 World 019 Americas 419 Latin America and the Caribbean 013 Central America Panama 591 PA PAN
98 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Argentina 032 AR ARG
99 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Bolivia (Plurinational State of) 068 BO BOL x
100 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Bouvet Island 074 BV BVT
101 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Brazil 076 BR BRA
102 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Chile 152 CL CHL
103 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Colombia 170 CO COL
104 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Ecuador 218 EC ECU
105 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Falkland Islands (Malvinas) 238 FK FLK
106 001 World 019 Americas 419 Latin America and the Caribbean 005 South America French Guiana 254 GF GUF
107 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Guyana 328 GY GUY x
108 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Paraguay 600 PY PRY x
109 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Peru 604 PE PER
110 001 World 019 Americas 419 Latin America and the Caribbean 005 South America South Georgia and the South Sandwich Islands 239 GS SGS
111 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Suriname 740 SR SUR x
112 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Uruguay 858 UY URY
113 001 World 019 Americas 419 Latin America and the Caribbean 005 South America Venezuela (Bolivarian Republic of) 862 VE VEN
114 001 World 019 Americas 021 Northern America Bermuda 060 BM BMU
115 001 World 019 Americas 021 Northern America Canada 124 CA CAN
116 001 World 019 Americas 021 Northern America Greenland 304 GL GRL
117 001 World 019 Americas 021 Northern America Saint Pierre and Miquelon 666 PM SPM
118 001 World 019 Americas 021 Northern America United States of America 840 US USA
119 001 World Antarctica 010 AQ ATA
120 001 World 142 Asia 143 Central Asia Kazakhstan 398 KZ KAZ x
121 001 World 142 Asia 143 Central Asia Kyrgyzstan 417 KG KGZ x
122 001 World 142 Asia 143 Central Asia Tajikistan 762 TJ TJK x
123 001 World 142 Asia 143 Central Asia Turkmenistan 795 TM TKM x
124 001 World 142 Asia 143 Central Asia Uzbekistan 860 UZ UZB x
125 001 World 142 Asia 030 Eastern Asia China 156 CN CHN
126 001 World 142 Asia 030 Eastern Asia China, Hong Kong Special Administrative Region 344 HK HKG
127 001 World 142 Asia 030 Eastern Asia China, Macao Special Administrative Region 446 MO MAC
128 001 World 142 Asia 030 Eastern Asia Democratic People's Republic of Korea 408 KP PRK
129 001 World 142 Asia 030 Eastern Asia Japan 392 JP JPN
130 001 World 142 Asia 030 Eastern Asia Mongolia 496 MN MNG x
131 001 World 142 Asia 030 Eastern Asia Republic of Korea 410 KR KOR
132 001 World 142 Asia 035 South-eastern Asia Brunei Darussalam 096 BN BRN
133 001 World 142 Asia 035 South-eastern Asia Cambodia 116 KH KHM x
134 001 World 142 Asia 035 South-eastern Asia Indonesia 360 ID IDN
135 001 World 142 Asia 035 South-eastern Asia Lao People's Democratic Republic 418 LA LAO x x
136 001 World 142 Asia 035 South-eastern Asia Malaysia 458 MY MYS
137 001 World 142 Asia 035 South-eastern Asia Myanmar 104 MM MMR x
138 001 World 142 Asia 035 South-eastern Asia Philippines 608 PH PHL
139 001 World 142 Asia 035 South-eastern Asia Singapore 702 SG SGP x
140 001 World 142 Asia 035 South-eastern Asia Thailand 764 TH THA
141 001 World 142 Asia 035 South-eastern Asia Timor-Leste 626 TL TLS x x
142 001 World 142 Asia 035 South-eastern Asia Viet Nam 704 VN VNM
143 001 World 142 Asia 034 Southern Asia Afghanistan 004 AF AFG x x
144 001 World 142 Asia 034 Southern Asia Bangladesh 050 BD BGD x
145 001 World 142 Asia 034 Southern Asia Bhutan 064 BT BTN x
146 001 World 142 Asia 034 Southern Asia India 356 IN IND
147 001 World 142 Asia 034 Southern Asia Iran (Islamic Republic of) 364 IR IRN
148 001 World 142 Asia 034 Southern Asia Maldives 462 MV MDV x
149 001 World 142 Asia 034 Southern Asia Nepal 524 NP NPL x x
150 001 World 142 Asia 034 Southern Asia Pakistan 586 PK PAK
151 001 World 142 Asia 034 Southern Asia Sri Lanka 144 LK LKA
152 001 World 142 Asia 145 Western Asia Armenia 051 AM ARM x
153 001 World 142 Asia 145 Western Asia Azerbaijan 031 AZ AZE x
154 001 World 142 Asia 145 Western Asia Bahrain 048 BH BHR
155 001 World 142 Asia 145 Western Asia Cyprus 196 CY CYP
156 001 World 142 Asia 145 Western Asia Georgia 268 GE GEO
157 001 World 142 Asia 145 Western Asia Iraq 368 IQ IRQ
158 001 World 142 Asia 145 Western Asia Israel 376 IL ISR
159 001 World 142 Asia 145 Western Asia Jordan 400 JO JOR
160 001 World 142 Asia 145 Western Asia Kuwait 414 KW KWT
161 001 World 142 Asia 145 Western Asia Lebanon 422 LB LBN
162 001 World 142 Asia 145 Western Asia Oman 512 OM OMN
163 001 World 142 Asia 145 Western Asia Qatar 634 QA QAT
164 001 World 142 Asia 145 Western Asia Saudi Arabia 682 SA SAU
165 001 World 142 Asia 145 Western Asia State of Palestine 275 PS PSE
166 001 World 142 Asia 145 Western Asia Syrian Arab Republic 760 SY SYR
167 001 World 142 Asia 145 Western Asia Türkiye 792 TR TUR
168 001 World 142 Asia 145 Western Asia United Arab Emirates 784 AE ARE
169 001 World 142 Asia 145 Western Asia Yemen 887 YE YEM x
170 001 World 150 Europe 151 Eastern Europe Belarus 112 BY BLR
171 001 World 150 Europe 151 Eastern Europe Bulgaria 100 BG BGR
172 001 World 150 Europe 151 Eastern Europe Czechia 203 CZ CZE
173 001 World 150 Europe 151 Eastern Europe Hungary 348 HU HUN
174 001 World 150 Europe 151 Eastern Europe Poland 616 PL POL
175 001 World 150 Europe 151 Eastern Europe Republic of Moldova 498 MD MDA x
176 001 World 150 Europe 151 Eastern Europe Romania 642 RO ROU
177 001 World 150 Europe 151 Eastern Europe Russian Federation 643 RU RUS
178 001 World 150 Europe 151 Eastern Europe Slovakia 703 SK SVK
179 001 World 150 Europe 151 Eastern Europe Ukraine 804 UA UKR
180 001 World 150 Europe 154 Northern Europe Åland Islands 248 AX ALA
181 001 World 150 Europe 154 Northern Europe Denmark 208 DK DNK
182 001 World 150 Europe 154 Northern Europe Estonia 233 EE EST
183 001 World 150 Europe 154 Northern Europe Faroe Islands 234 FO FRO
184 001 World 150 Europe 154 Northern Europe Finland 246 FI FIN
185 001 World 150 Europe 154 Northern Europe Guernsey 831 GG GGY
186 001 World 150 Europe 154 Northern Europe Iceland 352 IS ISL
187 001 World 150 Europe 154 Northern Europe Ireland 372 IE IRL
188 001 World 150 Europe 154 Northern Europe Isle of Man 833 IM IMN
189 001 World 150 Europe 154 Northern Europe Jersey 832 JE JEY
190 001 World 150 Europe 154 Northern Europe Latvia 428 LV LVA
191 001 World 150 Europe 154 Northern Europe Lithuania 440 LT LTU
192 001 World 150 Europe 154 Northern Europe Norway 578 NO NOR
193 001 World 150 Europe 154 Northern Europe Svalbard and Jan Mayen Islands 744 SJ SJM
194 001 World 150 Europe 154 Northern Europe Sweden 752 SE SWE
195 001 World 150 Europe 154 Northern Europe United Kingdom of Great Britain and Northern Ireland 826 GB GBR
196 001 World 150 Europe 039 Southern Europe Albania 008 AL ALB
197 001 World 150 Europe 039 Southern Europe Andorra 020 AD AND
198 001 World 150 Europe 039 Southern Europe Bosnia and Herzegovina 070 BA BIH
199 001 World 150 Europe 039 Southern Europe Croatia 191 HR HRV
200 001 World 150 Europe 039 Southern Europe Gibraltar 292 GI GIB
201 001 World 150 Europe 039 Southern Europe Greece 300 GR GRC
202 001 World 150 Europe 039 Southern Europe Holy See 336 VA VAT
203 001 World 150 Europe 039 Southern Europe Italy 380 IT ITA
204 001 World 150 Europe 039 Southern Europe Malta 470 MT MLT
205 001 World 150 Europe 039 Southern Europe Montenegro 499 ME MNE
206 001 World 150 Europe 039 Southern Europe North Macedonia 807 MK MKD x
207 001 World 150 Europe 039 Southern Europe Portugal 620 PT PRT
208 001 World 150 Europe 039 Southern Europe San Marino 674 SM SMR
209 001 World 150 Europe 039 Southern Europe Serbia 688 RS SRB
210 001 World 150 Europe 039 Southern Europe Slovenia 705 SI SVN
211 001 World 150 Europe 039 Southern Europe Spain 724 ES ESP
212 001 World 150 Europe 155 Western Europe Austria 040 AT AUT
213 001 World 150 Europe 155 Western Europe Belgium 056 BE BEL
214 001 World 150 Europe 155 Western Europe France 250 FR FRA
215 001 World 150 Europe 155 Western Europe Germany 276 DE DEU
216 001 World 150 Europe 155 Western Europe Liechtenstein 438 LI LIE
217 001 World 150 Europe 155 Western Europe Luxembourg 442 LU LUX
218 001 World 150 Europe 155 Western Europe Monaco 492 MC MCO
219 001 World 150 Europe 155 Western Europe Netherlands (Kingdom of the) 528 NL NLD
220 001 World 150 Europe 155 Western Europe Switzerland 756 CH CHE
221 001 World 009 Oceania 053 Australia and New Zealand Australia 036 AU AUS
222 001 World 009 Oceania 053 Australia and New Zealand Christmas Island 162 CX CXR
223 001 World 009 Oceania 053 Australia and New Zealand Cocos (Keeling) Islands 166 CC CCK
224 001 World 009 Oceania 053 Australia and New Zealand Heard Island and McDonald Islands 334 HM HMD
225 001 World 009 Oceania 053 Australia and New Zealand New Zealand 554 NZ NZL
226 001 World 009 Oceania 053 Australia and New Zealand Norfolk Island 574 NF NFK
227 001 World 009 Oceania 054 Melanesia Fiji 242 FJ FJI x
228 001 World 009 Oceania 054 Melanesia New Caledonia 540 NC NCL x
229 001 World 009 Oceania 054 Melanesia Papua New Guinea 598 PG PNG x
230 001 World 009 Oceania 054 Melanesia Solomon Islands 090 SB SLB x x
231 001 World 009 Oceania 054 Melanesia Vanuatu 548 VU VUT x
232 001 World 009 Oceania 057 Micronesia Guam 316 GU GUM x
233 001 World 009 Oceania 057 Micronesia Kiribati 296 KI KIR x x
234 001 World 009 Oceania 057 Micronesia Marshall Islands 584 MH MHL x
235 001 World 009 Oceania 057 Micronesia Micronesia (Federated States of) 583 FM FSM x
236 001 World 009 Oceania 057 Micronesia Nauru 520 NR NRU x
237 001 World 009 Oceania 057 Micronesia Northern Mariana Islands 580 MP MNP x
238 001 World 009 Oceania 057 Micronesia Palau 585 PW PLW x
239 001 World 009 Oceania 057 Micronesia United States Minor Outlying Islands 581 UM UMI
240 001 World 009 Oceania 061 Polynesia American Samoa 016 AS ASM x
241 001 World 009 Oceania 061 Polynesia Cook Islands 184 CK COK x
242 001 World 009 Oceania 061 Polynesia French Polynesia 258 PF PYF x
243 001 World 009 Oceania 061 Polynesia Niue 570 NU NIU x
244 001 World 009 Oceania 061 Polynesia Pitcairn 612 PN PCN
245 001 World 009 Oceania 061 Polynesia Samoa 882 WS WSM x
246 001 World 009 Oceania 061 Polynesia Tokelau 772 TK TKL
247 001 World 009 Oceania 061 Polynesia Tonga 776 TO TON x
248 001 World 009 Oceania 061 Polynesia Tuvalu 798 TV TUV x x
249 001 World 009 Oceania 061 Polynesia Wallis and Futuna Islands 876 WF WLF

View File

@ -0,0 +1,876 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"import seaborn as sns\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# Gamma function\n",
"from scipy.special import gamma\n",
"\n",
"# To calculate statistics\n",
"from scipy.stats import norm\n",
"from scipy.stats import hmean, trim_mean, iqr, median_abs_deviation, skew, kurtosis\n",
"from scipy.stats.mstats import gmean, winsorize"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
"DataWhr2024 = pd.read_csv(\"../DataWhr2024.csv\")\n",
"UnM49 = pd.read_csv(\"./UnM49.csv\", sep=';')"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [],
"source": [
"UnM49 = UnM49[['Country or Area', 'Sub-region Name', 'Region Name']]\n",
"UnM49 = UnM49.rename({'Country or Area':'Country name', 'Sub-region Name':'Subregion', 'Region Name':'Continent'}, axis=1)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"---"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [],
"source": [
"# Data\n",
"Dat = pd.merge(DataWhr2024, UnM49)"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [],
"source": [
"# Data of 2023\n",
"Dat2023 = Dat[Dat['year'] == 2023]\n",
"Dat2023 = Dat2023.reset_index(drop=True)"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['Iceland', 'India', 'Indonesia', 'Iraq', 'Ireland', 'Israel', 'Italy']"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Countries that starts with the same letter that your name\n",
"StartsWith = 'I' # The first letter of your name\n",
"list(Dat[Dat['Country name'].str.startswith(StartsWith)]['Country name'].unique())"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [],
"source": [
"# Data of 2023 from the region selected\n",
"CountrySelected = 'Iraq' # Change to the country that you selected\n",
"SubregionSelected = Dat[Dat['Country name']==CountrySelected]['Subregion'].unique()[0]\n",
"\n",
"DatSelected = Dat2023[Dat2023['Subregion']==SubregionSelected]\n",
"DatSelected = DatSelected.reset_index(drop=True)"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>year</th>\n",
" <th>Life Ladder</th>\n",
" <th>Log GDP per capita</th>\n",
" <th>Social support</th>\n",
" <th>Healthy life expectancy at birth</th>\n",
" <th>Freedom to make life choices</th>\n",
" <th>Generosity</th>\n",
" <th>Perceptions of corruption</th>\n",
" <th>Positive affect</th>\n",
" <th>Negative affect</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>count</th>\n",
" <td>121.0</td>\n",
" <td>121.000000</td>\n",
" <td>114.000000</td>\n",
" <td>121.000000</td>\n",
" <td>120.000000</td>\n",
" <td>119.000000</td>\n",
" <td>114.000000</td>\n",
" <td>114.000000</td>\n",
" <td>121.000000</td>\n",
" <td>121.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>mean</th>\n",
" <td>2023.0</td>\n",
" <td>5.601455</td>\n",
" <td>9.527377</td>\n",
" <td>0.792537</td>\n",
" <td>65.283333</td>\n",
" <td>0.789227</td>\n",
" <td>0.027851</td>\n",
" <td>0.722447</td>\n",
" <td>0.650488</td>\n",
" <td>0.295818</td>\n",
" </tr>\n",
" <tr>\n",
" <th>std</th>\n",
" <td>0.0</td>\n",
" <td>1.159381</td>\n",
" <td>1.151462</td>\n",
" <td>0.131982</td>\n",
" <td>5.580870</td>\n",
" <td>0.124732</td>\n",
" <td>0.162959</td>\n",
" <td>0.182586</td>\n",
" <td>0.113365</td>\n",
" <td>0.085531</td>\n",
" </tr>\n",
" <tr>\n",
" <th>min</th>\n",
" <td>2023.0</td>\n",
" <td>1.446000</td>\n",
" <td>7.147000</td>\n",
" <td>0.368000</td>\n",
" <td>52.200000</td>\n",
" <td>0.228000</td>\n",
" <td>-0.268000</td>\n",
" <td>0.153000</td>\n",
" <td>0.261000</td>\n",
" <td>0.114000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25%</th>\n",
" <td>2023.0</td>\n",
" <td>4.609000</td>\n",
" <td>8.612500</td>\n",
" <td>0.703000</td>\n",
" <td>60.700000</td>\n",
" <td>0.734500</td>\n",
" <td>-0.088750</td>\n",
" <td>0.663250</td>\n",
" <td>0.579000</td>\n",
" <td>0.231000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50%</th>\n",
" <td>2023.0</td>\n",
" <td>5.868000</td>\n",
" <td>9.670000</td>\n",
" <td>0.831000</td>\n",
" <td>66.300000</td>\n",
" <td>0.807000</td>\n",
" <td>0.022000</td>\n",
" <td>0.781000</td>\n",
" <td>0.661000</td>\n",
" <td>0.289000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>75%</th>\n",
" <td>2023.0</td>\n",
" <td>6.482000</td>\n",
" <td>10.496250</td>\n",
" <td>0.895000</td>\n",
" <td>69.775000</td>\n",
" <td>0.877000</td>\n",
" <td>0.122500</td>\n",
" <td>0.844500</td>\n",
" <td>0.738000</td>\n",
" <td>0.358000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>max</th>\n",
" <td>2023.0</td>\n",
" <td>7.699000</td>\n",
" <td>11.676000</td>\n",
" <td>0.979000</td>\n",
" <td>74.600000</td>\n",
" <td>0.965000</td>\n",
" <td>0.590000</td>\n",
" <td>0.948000</td>\n",
" <td>0.843000</td>\n",
" <td>0.516000</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" year Life Ladder Log GDP per capita Social support \\\n",
"count 121.0 121.000000 114.000000 121.000000 \n",
"mean 2023.0 5.601455 9.527377 0.792537 \n",
"std 0.0 1.159381 1.151462 0.131982 \n",
"min 2023.0 1.446000 7.147000 0.368000 \n",
"25% 2023.0 4.609000 8.612500 0.703000 \n",
"50% 2023.0 5.868000 9.670000 0.831000 \n",
"75% 2023.0 6.482000 10.496250 0.895000 \n",
"max 2023.0 7.699000 11.676000 0.979000 \n",
"\n",
" Healthy life expectancy at birth Freedom to make life choices \\\n",
"count 120.000000 119.000000 \n",
"mean 65.283333 0.789227 \n",
"std 5.580870 0.124732 \n",
"min 52.200000 0.228000 \n",
"25% 60.700000 0.734500 \n",
"50% 66.300000 0.807000 \n",
"75% 69.775000 0.877000 \n",
"max 74.600000 0.965000 \n",
"\n",
" Generosity Perceptions of corruption Positive affect Negative affect \n",
"count 114.000000 114.000000 121.000000 121.000000 \n",
"mean 0.027851 0.722447 0.650488 0.295818 \n",
"std 0.162959 0.182586 0.113365 0.085531 \n",
"min -0.268000 0.153000 0.261000 0.114000 \n",
"25% -0.088750 0.663250 0.579000 0.231000 \n",
"50% 0.022000 0.781000 0.661000 0.289000 \n",
"75% 0.122500 0.844500 0.738000 0.358000 \n",
"max 0.590000 0.948000 0.843000 0.516000 "
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"Dat2023.describe()"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Country name</th>\n",
" <th>year</th>\n",
" <th>Life Ladder</th>\n",
" <th>Log GDP per capita</th>\n",
" <th>Social support</th>\n",
" <th>Healthy life expectancy at birth</th>\n",
" <th>Freedom to make life choices</th>\n",
" <th>Generosity</th>\n",
" <th>Perceptions of corruption</th>\n",
" <th>Positive affect</th>\n",
" <th>Negative affect</th>\n",
" <th>Subregion</th>\n",
" <th>Continent</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>Afghanistan</td>\n",
" <td>2023</td>\n",
" <td>1.446</td>\n",
" <td>NaN</td>\n",
" <td>0.368</td>\n",
" <td>55.2</td>\n",
" <td>0.228</td>\n",
" <td>NaN</td>\n",
" <td>0.738</td>\n",
" <td>0.261</td>\n",
" <td>0.460</td>\n",
" <td>Southern Asia</td>\n",
" <td>Asia</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>Albania</td>\n",
" <td>2023</td>\n",
" <td>5.445</td>\n",
" <td>9.689</td>\n",
" <td>0.691</td>\n",
" <td>69.2</td>\n",
" <td>0.872</td>\n",
" <td>0.068</td>\n",
" <td>0.855</td>\n",
" <td>0.597</td>\n",
" <td>0.314</td>\n",
" <td>Southern Europe</td>\n",
" <td>Europe</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>Argentina</td>\n",
" <td>2023</td>\n",
" <td>6.393</td>\n",
" <td>9.994</td>\n",
" <td>0.892</td>\n",
" <td>67.3</td>\n",
" <td>0.832</td>\n",
" <td>-0.129</td>\n",
" <td>0.846</td>\n",
" <td>0.720</td>\n",
" <td>0.301</td>\n",
" <td>Latin America and the Caribbean</td>\n",
" <td>Americas</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>Armenia</td>\n",
" <td>2023</td>\n",
" <td>5.679</td>\n",
" <td>9.730</td>\n",
" <td>0.819</td>\n",
" <td>68.2</td>\n",
" <td>0.819</td>\n",
" <td>-0.179</td>\n",
" <td>0.681</td>\n",
" <td>0.575</td>\n",
" <td>0.423</td>\n",
" <td>Western Asia</td>\n",
" <td>Asia</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>Australia</td>\n",
" <td>2023</td>\n",
" <td>7.025</td>\n",
" <td>10.846</td>\n",
" <td>0.896</td>\n",
" <td>71.2</td>\n",
" <td>0.876</td>\n",
" <td>0.187</td>\n",
" <td>0.482</td>\n",
" <td>0.731</td>\n",
" <td>0.248</td>\n",
" <td>Australia and New Zealand</td>\n",
" <td>Oceania</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>116</th>\n",
" <td>Uruguay</td>\n",
" <td>2023</td>\n",
" <td>6.662</td>\n",
" <td>10.122</td>\n",
" <td>0.908</td>\n",
" <td>67.5</td>\n",
" <td>0.904</td>\n",
" <td>-0.050</td>\n",
" <td>0.662</td>\n",
" <td>0.753</td>\n",
" <td>0.265</td>\n",
" <td>Latin America and the Caribbean</td>\n",
" <td>Americas</td>\n",
" </tr>\n",
" <tr>\n",
" <th>117</th>\n",
" <td>Uzbekistan</td>\n",
" <td>2023</td>\n",
" <td>6.385</td>\n",
" <td>9.026</td>\n",
" <td>0.909</td>\n",
" <td>65.9</td>\n",
" <td>0.927</td>\n",
" <td>0.247</td>\n",
" <td>0.650</td>\n",
" <td>0.752</td>\n",
" <td>0.202</td>\n",
" <td>Central Asia</td>\n",
" <td>Asia</td>\n",
" </tr>\n",
" <tr>\n",
" <th>118</th>\n",
" <td>Yemen</td>\n",
" <td>2023</td>\n",
" <td>3.532</td>\n",
" <td>NaN</td>\n",
" <td>0.825</td>\n",
" <td>56.6</td>\n",
" <td>0.583</td>\n",
" <td>NaN</td>\n",
" <td>0.771</td>\n",
" <td>0.447</td>\n",
" <td>0.341</td>\n",
" <td>Western Asia</td>\n",
" <td>Asia</td>\n",
" </tr>\n",
" <tr>\n",
" <th>119</th>\n",
" <td>Zambia</td>\n",
" <td>2023</td>\n",
" <td>3.686</td>\n",
" <td>8.115</td>\n",
" <td>0.664</td>\n",
" <td>56.1</td>\n",
" <td>0.854</td>\n",
" <td>0.092</td>\n",
" <td>0.814</td>\n",
" <td>0.653</td>\n",
" <td>0.359</td>\n",
" <td>Sub-Saharan Africa</td>\n",
" <td>Africa</td>\n",
" </tr>\n",
" <tr>\n",
" <th>120</th>\n",
" <td>Zimbabwe</td>\n",
" <td>2023</td>\n",
" <td>3.572</td>\n",
" <td>7.679</td>\n",
" <td>0.694</td>\n",
" <td>55.0</td>\n",
" <td>0.735</td>\n",
" <td>-0.069</td>\n",
" <td>0.757</td>\n",
" <td>0.610</td>\n",
" <td>0.179</td>\n",
" <td>Sub-Saharan Africa</td>\n",
" <td>Africa</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>121 rows × 13 columns</p>\n",
"</div>"
],
"text/plain": [
" Country name year Life Ladder Log GDP per capita Social support \\\n",
"0 Afghanistan 2023 1.446 NaN 0.368 \n",
"1 Albania 2023 5.445 9.689 0.691 \n",
"2 Argentina 2023 6.393 9.994 0.892 \n",
"3 Armenia 2023 5.679 9.730 0.819 \n",
"4 Australia 2023 7.025 10.846 0.896 \n",
".. ... ... ... ... ... \n",
"116 Uruguay 2023 6.662 10.122 0.908 \n",
"117 Uzbekistan 2023 6.385 9.026 0.909 \n",
"118 Yemen 2023 3.532 NaN 0.825 \n",
"119 Zambia 2023 3.686 8.115 0.664 \n",
"120 Zimbabwe 2023 3.572 7.679 0.694 \n",
"\n",
" Healthy life expectancy at birth Freedom to make life choices \\\n",
"0 55.2 0.228 \n",
"1 69.2 0.872 \n",
"2 67.3 0.832 \n",
"3 68.2 0.819 \n",
"4 71.2 0.876 \n",
".. ... ... \n",
"116 67.5 0.904 \n",
"117 65.9 0.927 \n",
"118 56.6 0.583 \n",
"119 56.1 0.854 \n",
"120 55.0 0.735 \n",
"\n",
" Generosity Perceptions of corruption Positive affect Negative affect \\\n",
"0 NaN 0.738 0.261 0.460 \n",
"1 0.068 0.855 0.597 0.314 \n",
"2 -0.129 0.846 0.720 0.301 \n",
"3 -0.179 0.681 0.575 0.423 \n",
"4 0.187 0.482 0.731 0.248 \n",
".. ... ... ... ... \n",
"116 -0.050 0.662 0.753 0.265 \n",
"117 0.247 0.650 0.752 0.202 \n",
"118 NaN 0.771 0.447 0.341 \n",
"119 0.092 0.814 0.653 0.359 \n",
"120 -0.069 0.757 0.610 0.179 \n",
"\n",
" Subregion Continent \n",
"0 Southern Asia Asia \n",
"1 Southern Europe Europe \n",
"2 Latin America and the Caribbean Americas \n",
"3 Western Asia Asia \n",
"4 Australia and New Zealand Oceania \n",
".. ... ... \n",
"116 Latin America and the Caribbean Americas \n",
"117 Central Asia Asia \n",
"118 Western Asia Asia \n",
"119 Sub-Saharan Africa Africa \n",
"120 Sub-Saharan Africa Africa \n",
"\n",
"[121 rows x 13 columns]"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"Dat2023"
]
},
{
"cell_type": "code",
"execution_count": 40,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Country name</th>\n",
" <th>year</th>\n",
" <th>Life Ladder</th>\n",
" <th>Log GDP per capita</th>\n",
" <th>Social support</th>\n",
" <th>Healthy life expectancy at birth</th>\n",
" <th>Freedom to make life choices</th>\n",
" <th>Generosity</th>\n",
" <th>Perceptions of corruption</th>\n",
" <th>Positive affect</th>\n",
" <th>Negative affect</th>\n",
" <th>Subregion</th>\n",
" <th>Continent</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>Afghanistan</td>\n",
" <td>2022</td>\n",
" <td>1.281</td>\n",
" <td>NaN</td>\n",
" <td>0.228</td>\n",
" <td>54.875</td>\n",
" <td>0.368</td>\n",
" <td>NaN</td>\n",
" <td>0.733</td>\n",
" <td>0.206</td>\n",
" <td>0.576</td>\n",
" <td>Southern Asia</td>\n",
" <td>Asia</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Country name year Life Ladder Log GDP per capita Social support \\\n",
"13 Afghanistan 2022 1.281 NaN 0.228 \n",
"\n",
" Healthy life expectancy at birth Freedom to make life choices \\\n",
"13 54.875 0.368 \n",
"\n",
" Generosity Perceptions of corruption Positive affect Negative affect \\\n",
"13 NaN 0.733 0.206 0.576 \n",
"\n",
" Subregion Continent \n",
"13 Southern Asia Asia "
]
},
"execution_count": 40,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"Dat.loc[Dat[\"Life Ladder\"] == Dat[\"Life Ladder\"].min()]"
]
},
{
"cell_type": "code",
"execution_count": 43,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Country name</th>\n",
" <th>year</th>\n",
" <th>Life Ladder</th>\n",
" <th>Log GDP per capita</th>\n",
" <th>Social support</th>\n",
" <th>Healthy life expectancy at birth</th>\n",
" <th>Freedom to make life choices</th>\n",
" <th>Generosity</th>\n",
" <th>Perceptions of corruption</th>\n",
" <th>Positive affect</th>\n",
" <th>Negative affect</th>\n",
" <th>Subregion</th>\n",
" <th>Continent</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>497</th>\n",
" <td>Denmark</td>\n",
" <td>2005</td>\n",
" <td>8.019</td>\n",
" <td>10.849</td>\n",
" <td>0.972</td>\n",
" <td>68.3</td>\n",
" <td>0.971</td>\n",
" <td>NaN</td>\n",
" <td>0.237</td>\n",
" <td>0.777</td>\n",
" <td>0.154</td>\n",
" <td>Northern Europe</td>\n",
" <td>Europe</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Country name year Life Ladder Log GDP per capita Social support \\\n",
"497 Denmark 2005 8.019 10.849 0.972 \n",
"\n",
" Healthy life expectancy at birth Freedom to make life choices \\\n",
"497 68.3 0.971 \n",
"\n",
" Generosity Perceptions of corruption Positive affect Negative affect \\\n",
"497 NaN 0.237 0.777 0.154 \n",
"\n",
" Subregion Continent \n",
"497 Northern Europe Europe "
]
},
"execution_count": 43,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"Dat.loc[Dat[\"Life Ladder\"] == Dat[\"Life Ladder\"].max()]"
]
},
{
"cell_type": "code",
"execution_count": 48,
"metadata": {},
"outputs": [],
"source": [
"avg_health = Dat[\"Healthy life expectancy at birth\"].median()"
]
},
{
"cell_type": "code",
"execution_count": 50,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"65.22\n"
]
}
],
"source": [
"print(avg_health)"
]
},
{
"cell_type": "code",
"execution_count": 56,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"np.float64(0.231)"
]
},
"execution_count": 56,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"#p = [0.25, 0.5, 0.75]\n",
"np.quantile(Dat2023[\"Negative affect\"], 0.25)\n",
"\n",
"#Dat[\"Negative affect\"]"
]
},
{
"cell_type": "code",
"execution_count": 57,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([4.6125, 5.42 , 6.3215])"
]
},
"execution_count": 57,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"p = [0.25, 0.5, 0.75]\n",
"np.quantile(Dat[\"Life Ladder\"], p)"
]
},
{
"cell_type": "code",
"execution_count": 64,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"5.42\n",
"5.4660082404265635\n",
"5.3416056329049155\n",
"5.207292342092034\n",
"5.446561471442401\n",
"1.7089999999999996\n",
"5.4660082404265635\n"
]
}
],
"source": [
"ll = Dat[\"Life Ladder\"]\n",
"\n",
"print(ll.median())\n",
"print(ll.mean())\n",
"print(gmean(ll))\n",
"print(hmean(ll))\n",
"print(trim_mean(ll, 0.25))\n",
"print(iqr(ll).mean())\n",
"print(winsorize(ll).mean())"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

Binary file not shown.

Binary file not shown.

BIN
mat-203/Ch2+Appendix.pdf Normal file

Binary file not shown.

BIN
mat-203/DataForTable2.1.xls Normal file

Binary file not shown.

2364
mat-203/DataWhr2024.csv Normal file

File diff suppressed because it is too large Load Diff