Skip to content

Commit

Permalink
sort order to facilitate diff
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Sep 9, 2023
1 parent dba113f commit 0b18788
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 107 deletions.
212 changes: 106 additions & 106 deletions dictionary/data_world_bank.csv
Original file line number Diff line number Diff line change
@@ -1,219 +1,219 @@
country,wb
Aruba,ABW
Afghanistan,AFG
Angola,AGO
Albania,ALB
Algeria,DZA
American Samoa,ASM
Andorra,AND
United Arab Emirates,ARE
Angola,AGO
Antigua and Barbuda,ATG
Argentina,ARG
Armenia,ARM
American Samoa,ASM
Antigua and Barbuda,ATG
Aruba,ABW
Australia,AUS
Austria,AUT
Azerbaijan,AZE
Burundi,BDI
Belgium,BEL
Benin,BEN
Burkina Faso,BFA
Bangladesh,BGD
Bulgaria,BGR
Bahrain,BHR
"Bahamas, The",BHS
Bosnia and Herzegovina,BIH
Bahrain,BHR
Bangladesh,BGD
Barbados,BRB
Belarus,BLR
Belgium,BEL
Belize,BLZ
Benin,BEN
Bermuda,BMU
Bhutan,BTN
Bolivia,BOL
Bosnia and Herzegovina,BIH
Botswana,BWA
Brazil,BRA
Barbados,BRB
British Virgin Islands,VGB
Brunei Darussalam,BRN
Bhutan,BTN
Botswana,BWA
Central African Republic,CAF
Bulgaria,BGR
Burkina Faso,BFA
Burundi,BDI
Cabo Verde,CPV
Cambodia,KHM
Cameroon,CMR
Canada,CAN
Switzerland,CHE
Cayman Islands,CYM
Central African Republic,CAF
Chad,TCD
Channel Islands,CHI
Chile,CHL
China,CHN
Côte d’Ivoire,CIV
Cameroon,CMR
"Congo, Dem. Rep.",COD
"Congo, Rep.",COG
Colombia,COL
Comoros,COM
Cabo Verde,CPV
"Congo, Dem. Rep.",COD
"Congo, Rep.",COG
Costa Rica,CRI
Croatia,HRV
Cuba,CUB
Curaçao,CUW
Cayman Islands,CYM
Cyprus,CYP
Czech Republic,CZE
Germany,DEU
Côte d’Ivoire,CIV
Denmark,DNK
Djibouti,DJI
Dominica,DMA
Denmark,DNK
Dominican Republic,DOM
Algeria,DZA
Ecuador,ECU
"Egypt, Arab Rep.",EGY
El Salvador,SLV
Equatorial Guinea,GNQ
Eritrea,ERI
Spain,ESP
Estonia,EST
Eswatini,SWZ
Ethiopia,ETH
Finland,FIN
Faroe Islands,FRO
Fiji,FJI
Finland,FIN
France,FRA
Faroe Islands,FRO
"Micronesia, Fed. Sts.",FSM
French Polynesia,PYF
Gabon,GAB
United Kingdom,GBR
"Gambia, The",GMB
Georgia,GEO
Germany,DEU
Ghana,GHA
Gibraltar,GIB
Guinea,GIN
"Gambia, The",GMB
Guinea-Bissau,GNB
Equatorial Guinea,GNQ
Greece,GRC
Grenada,GRD
Greenland,GRL
Guatemala,GTM
Grenada,GRD
Guam,GUM
Guatemala,GTM
Guinea,GIN
Guinea-Bissau,GNB
Guyana,GUY
"Hong Kong SAR, China",HKG
Honduras,HND
Croatia,HRV
Haiti,HTI
Honduras,HND
"Hong Kong SAR, China",HKG
Hungary,HUN
Indonesia,IDN
Isle of Man,IMN
Iceland,ISL
India,IND
Ireland,IRL
Indonesia,IDN
"Iran, Islamic Rep.",IRN
Iraq,IRQ
Iceland,ISL
Ireland,IRL
Isle of Man,IMN
Israel,ISR
Italy,ITA
Jamaica,JAM
Jordan,JOR
Japan,JPN
Jordan,JOR
Kazakhstan,KAZ
Kenya,KEN
Kyrgyz Republic,KGZ
Cambodia,KHM
Kiribati,KIR
St. Kitts and Nevis,KNA
"Korea, Dem. People's Rep.",PRK
"Korea, Rep.",KOR
Kosovo,XKX
Kuwait,KWT
Kyrgyz Republic,KGZ
Lao PDR,LAO
Latvia,LVA
Lebanon,LBN
Lesotho,LSO
Liberia,LBR
Libya,LBY
St. Lucia,LCA
Liechtenstein,LIE
Sri Lanka,LKA
Lesotho,LSO
Lithuania,LTU
Luxembourg,LUX
Latvia,LVA
"Macao SAR, China",MAC
St. Martin (French part),MAF
Morocco,MAR
Monaco,MCO
Moldova,MDA
Madagascar,MDG
Malawi,MWI
Malaysia,MYS
Maldives,MDV
Mexico,MEX
Marshall Islands,MHL
North Macedonia,MKD
Mali,MLI
Malta,MLT
Myanmar,MMR
Montenegro,MNE
Mongolia,MNG
Northern Mariana Islands,MNP
Mozambique,MOZ
Marshall Islands,MHL
Mauritania,MRT
Mauritius,MUS
Malawi,MWI
Malaysia,MYS
Mexico,MEX
"Micronesia, Fed. Sts.",FSM
Moldova,MDA
Monaco,MCO
Mongolia,MNG
Montenegro,MNE
Morocco,MAR
Mozambique,MOZ
Myanmar,MMR
Namibia,NAM
Nauru,NRU
Nepal,NPL
Netherlands,NLD
New Caledonia,NCL
New Zealand,NZL
Nicaragua,NIC
Niger,NER
Nigeria,NGA
Nicaragua,NIC
Netherlands,NLD
North Macedonia,MKD
Northern Mariana Islands,MNP
Norway,NOR
Nepal,NPL
Nauru,NRU
New Zealand,NZL
Oman,OMN
Pakistan,PAK
Palau,PLW
Panama,PAN
Papua New Guinea,PNG
Paraguay,PRY
Peru,PER
Philippines,PHL
Palau,PLW
Papua New Guinea,PNG
Poland,POL
Puerto Rico,PRI
"Korea, Dem. People's Rep.",PRK
Portugal,PRT
Paraguay,PRY
West Bank and Gaza,PSE
French Polynesia,PYF
Puerto Rico,PRI
Qatar,QAT
Romania,ROU
Russian Federation,RUS
Rwanda,RWA
Samoa,WSM
San Marino,SMR
Saudi Arabia,SAU
Sudan,SDN
Senegal,SEN
Serbia,SRB
Seychelles,SYC
Sierra Leone,SLE
Singapore,SGP
Sint Maarten (Dutch part),SXM
Slovak Republic,SVK
Slovenia,SVN
Solomon Islands,SLB
Sierra Leone,SLE
El Salvador,SLV
San Marino,SMR
Somalia,SOM
Serbia,SRB
South Africa,ZAF
South Sudan,SSD
São Tomé and Príncipe,STP
Spain,ESP
Sri Lanka,LKA
St. Kitts and Nevis,KNA
St. Lucia,LCA
St. Martin (French part),MAF
St. Vincent and the Grenadines,VCT
Sudan,SDN
Suriname,SUR
Slovak Republic,SVK
Slovenia,SVN
Sweden,SWE
Eswatini,SWZ
Sint Maarten (Dutch part),SXM
Seychelles,SYC
Switzerland,CHE
Syrian Arab Republic,SYR
Turks and Caicos Islands,TCA
Chad,TCD
Togo,TGO
Thailand,THA
São Tomé and Príncipe,STP
"Taiwan, China",TWN
Tajikistan,TJK
Turkmenistan,TKM
Tanzania,TZA
Thailand,THA
Timor-Leste,TLS
Togo,TGO
Tonga,TON
Trinidad and Tobago,TTO
Tunisia,TUN
Türkiye,TUR
Turkmenistan,TKM
Turks and Caicos Islands,TCA
Tuvalu,TUV
"Taiwan, China",TWN
Tanzania,TZA
Türkiye,TUR
Uganda,UGA
Ukraine,UKR
Uruguay,URY
United Arab Emirates,ARE
United Kingdom,GBR
United States,USA
Uruguay,URY
Uzbekistan,UZB
St. Vincent and the Grenadines,VCT
Vanuatu,VUT
"Venezuela, RB",VEN
British Virgin Islands,VGB
Virgin Islands (U.S.),VIR
Vietnam,VNM
Vanuatu,VUT
Samoa,WSM
Kosovo,XKX
Virgin Islands (U.S.),VIR
West Bank and Gaza,PSE
"Yemen, Rep.",YEM
South Africa,ZAF
Zambia,ZMB
Zimbabwe,ZWE
3 changes: 2 additions & 1 deletion dictionary/get_world_bank.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ wb <- read_excel(filename, sheet = "List of economies") %>%
filter(
!country %in% not_countries,
!is.na(wb)
)
) %>%
arrange(country)

wb %>% write_csv('dictionary/data_world_bank.csv', na = "")

0 comments on commit 0b18788

Please sign in to comment.