Skip to content

Commit

Permalink
Update data to latest from sources
Browse files Browse the repository at this point in the history
  • Loading branch information
lukes committed Mar 19, 2019
1 parent cca37a0 commit f3d5592
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion LAST_UPDATED.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2018-07-25 09:50:47 +1200
2019-03-19 15:45:21 +1300
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@ Note, due to file encoding issues the script should only be run using Ruby 1.9 o

### Timestamp

* UN Statistical data retrieved 25 July 2018
* Wikipedia data retrieved 25 July 2018, from a document last revised 17 July 2018
* UN Statistical data retrieved 19 March 2019
* Wikipedia data retrieved 19 March 2019, from a document last revised 16 March 2019

### Revisions

* 19 March 2019 - `tag 8.0`
* 25 July 2018 - `tag 7.0`
* 10 April 2018 - `tag 6.0`
* 26 August 2016 - `tag 5.0`
Expand Down
8 changes: 4 additions & 4 deletions all/all.csv
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Cocos (Keeling) Islands,CC,CCK,166,ISO 3166-2:CC,Oceania,Australia and New Zeala
Colombia,CO,COL,170,ISO 3166-2:CO,Americas,Latin America and the Caribbean,South America,019,419,005
Comoros,KM,COM,174,ISO 3166-2:KM,Africa,Sub-Saharan Africa,Eastern Africa,002,202,014
Congo,CG,COG,178,ISO 3166-2:CG,Africa,Sub-Saharan Africa,Middle Africa,002,202,017
Congo (Democratic Republic of the),CD,COD,180,ISO 3166-2:CD,Africa,Sub-Saharan Africa,Middle Africa,002,202,017
"Congo, Democratic Republic of the",CD,COD,180,ISO 3166-2:CD,Africa,Sub-Saharan Africa,Middle Africa,002,202,017
Cook Islands,CK,COK,184,ISO 3166-2:CK,Oceania,Polynesia,"",009,061,""
Costa Rica,CR,CRI,188,ISO 3166-2:CR,Americas,Latin America and the Caribbean,Central America,019,419,013
Côte d'Ivoire,CI,CIV,384,ISO 3166-2:CI,Africa,Sub-Saharan Africa,Western Africa,002,202,011
Expand Down Expand Up @@ -118,7 +118,7 @@ Kazakhstan,KZ,KAZ,398,ISO 3166-2:KZ,Asia,Central Asia,"",142,143,""
Kenya,KE,KEN,404,ISO 3166-2:KE,Africa,Sub-Saharan Africa,Eastern Africa,002,202,014
Kiribati,KI,KIR,296,ISO 3166-2:KI,Oceania,Micronesia,"",009,057,""
Korea (Democratic People's Republic of),KP,PRK,408,ISO 3166-2:KP,Asia,Eastern Asia,"",142,030,""
Korea (Republic of),KR,KOR,410,ISO 3166-2:KR,Asia,Eastern Asia,"",142,030,""
"Korea, Republic of",KR,KOR,410,ISO 3166-2:KR,Asia,Eastern Asia,"",142,030,""
Kuwait,KW,KWT,414,ISO 3166-2:KW,Asia,Western Asia,"",142,145,""
Kyrgyzstan,KG,KGZ,417,ISO 3166-2:KG,Asia,Central Asia,"",142,143,""
Lao People's Democratic Republic,LA,LAO,418,ISO 3166-2:LA,Asia,South-eastern Asia,"",142,035,""
Expand All @@ -131,7 +131,6 @@ Liechtenstein,LI,LIE,438,ISO 3166-2:LI,Europe,Western Europe,"",150,155,""
Lithuania,LT,LTU,440,ISO 3166-2:LT,Europe,Northern Europe,"",150,154,""
Luxembourg,LU,LUX,442,ISO 3166-2:LU,Europe,Western Europe,"",150,155,""
Macao,MO,MAC,446,ISO 3166-2:MO,Asia,Eastern Asia,"",142,030,""
Macedonia (the former Yugoslav Republic of),MK,MKD,807,ISO 3166-2:MK,Europe,Southern Europe,"",150,039,""
Madagascar,MG,MDG,450,ISO 3166-2:MG,Africa,Sub-Saharan Africa,Eastern Africa,002,202,014
Malawi,MW,MWI,454,ISO 3166-2:MW,Africa,Sub-Saharan Africa,Eastern Africa,002,202,014
Malaysia,MY,MYS,458,ISO 3166-2:MY,Asia,South-eastern Asia,"",142,035,""
Expand All @@ -145,7 +144,7 @@ Mauritius,MU,MUS,480,ISO 3166-2:MU,Africa,Sub-Saharan Africa,Eastern Africa,002,
Mayotte,YT,MYT,175,ISO 3166-2:YT,Africa,Sub-Saharan Africa,Eastern Africa,002,202,014
Mexico,MX,MEX,484,ISO 3166-2:MX,Americas,Latin America and the Caribbean,Central America,019,419,013
Micronesia (Federated States of),FM,FSM,583,ISO 3166-2:FM,Oceania,Micronesia,"",009,057,""
Moldova (Republic of),MD,MDA,498,ISO 3166-2:MD,Europe,Eastern Europe,"",150,151,""
"Moldova, Republic of",MD,MDA,498,ISO 3166-2:MD,Europe,Eastern Europe,"",150,151,""
Monaco,MC,MCO,492,ISO 3166-2:MC,Europe,Western Europe,"",150,155,""
Mongolia,MN,MNG,496,ISO 3166-2:MN,Asia,Eastern Asia,"",142,030,""
Montenegro,ME,MNE,499,ISO 3166-2:ME,Europe,Southern Europe,"",150,039,""
Expand All @@ -164,6 +163,7 @@ Niger,NE,NER,562,ISO 3166-2:NE,Africa,Sub-Saharan Africa,Western Africa,002,202,
Nigeria,NG,NGA,566,ISO 3166-2:NG,Africa,Sub-Saharan Africa,Western Africa,002,202,011
Niue,NU,NIU,570,ISO 3166-2:NU,Oceania,Polynesia,"",009,061,""
Norfolk Island,NF,NFK,574,ISO 3166-2:NF,Oceania,Australia and New Zealand,"",009,053,""
North Macedonia,MK,MKD,807,ISO 3166-2:MK,Europe,Southern Europe,"",150,039,""
Northern Mariana Islands,MP,MNP,580,ISO 3166-2:MP,Oceania,Micronesia,"",009,057,""
Norway,NO,NOR,578,ISO 3166-2:NO,Europe,Northern Europe,"",150,154,""
Oman,OM,OMN,512,ISO 3166-2:OM,Asia,Western Asia,"",142,145,""
Expand Down
2 changes: 1 addition & 1 deletion all/all.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions all/all.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<country name="Colombia" alpha-2="CO" alpha-3="COL" country-code="170" iso_3166-2="ISO 3166-2:CO" region="Americas" sub-region="Latin America and the Caribbean" intermediate-region="South America" region-code="019" sub-region-code="419" intermediate-region-code="005"/>
<country name="Comoros" alpha-2="KM" alpha-3="COM" country-code="174" iso_3166-2="ISO 3166-2:KM" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Eastern Africa" region-code="002" sub-region-code="202" intermediate-region-code="014"/>
<country name="Congo" alpha-2="CG" alpha-3="COG" country-code="178" iso_3166-2="ISO 3166-2:CG" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Middle Africa" region-code="002" sub-region-code="202" intermediate-region-code="017"/>
<country name="Congo (Democratic Republic of the)" alpha-2="CD" alpha-3="COD" country-code="180" iso_3166-2="ISO 3166-2:CD" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Middle Africa" region-code="002" sub-region-code="202" intermediate-region-code="017"/>
<country name="Congo, Democratic Republic of the" alpha-2="CD" alpha-3="COD" country-code="180" iso_3166-2="ISO 3166-2:CD" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Middle Africa" region-code="002" sub-region-code="202" intermediate-region-code="017"/>
<country name="Cook Islands" alpha-2="CK" alpha-3="COK" country-code="184" iso_3166-2="ISO 3166-2:CK" region="Oceania" sub-region="Polynesia" intermediate-region="" region-code="009" sub-region-code="061" intermediate-region-code=""/>
<country name="Costa Rica" alpha-2="CR" alpha-3="CRI" country-code="188" iso_3166-2="ISO 3166-2:CR" region="Americas" sub-region="Latin America and the Caribbean" intermediate-region="Central America" region-code="019" sub-region-code="419" intermediate-region-code="013"/>
<country name="Côte d'Ivoire" alpha-2="CI" alpha-3="CIV" country-code="384" iso_3166-2="ISO 3166-2:CI" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Western Africa" region-code="002" sub-region-code="202" intermediate-region-code="011"/>
Expand Down Expand Up @@ -119,7 +119,7 @@
<country name="Kenya" alpha-2="KE" alpha-3="KEN" country-code="404" iso_3166-2="ISO 3166-2:KE" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Eastern Africa" region-code="002" sub-region-code="202" intermediate-region-code="014"/>
<country name="Kiribati" alpha-2="KI" alpha-3="KIR" country-code="296" iso_3166-2="ISO 3166-2:KI" region="Oceania" sub-region="Micronesia" intermediate-region="" region-code="009" sub-region-code="057" intermediate-region-code=""/>
<country name="Korea (Democratic People's Republic of)" alpha-2="KP" alpha-3="PRK" country-code="408" iso_3166-2="ISO 3166-2:KP" region="Asia" sub-region="Eastern Asia" intermediate-region="" region-code="142" sub-region-code="030" intermediate-region-code=""/>
<country name="Korea (Republic of)" alpha-2="KR" alpha-3="KOR" country-code="410" iso_3166-2="ISO 3166-2:KR" region="Asia" sub-region="Eastern Asia" intermediate-region="" region-code="142" sub-region-code="030" intermediate-region-code=""/>
<country name="Korea, Republic of" alpha-2="KR" alpha-3="KOR" country-code="410" iso_3166-2="ISO 3166-2:KR" region="Asia" sub-region="Eastern Asia" intermediate-region="" region-code="142" sub-region-code="030" intermediate-region-code=""/>
<country name="Kuwait" alpha-2="KW" alpha-3="KWT" country-code="414" iso_3166-2="ISO 3166-2:KW" region="Asia" sub-region="Western Asia" intermediate-region="" region-code="142" sub-region-code="145" intermediate-region-code=""/>
<country name="Kyrgyzstan" alpha-2="KG" alpha-3="KGZ" country-code="417" iso_3166-2="ISO 3166-2:KG" region="Asia" sub-region="Central Asia" intermediate-region="" region-code="142" sub-region-code="143" intermediate-region-code=""/>
<country name="Lao People's Democratic Republic" alpha-2="LA" alpha-3="LAO" country-code="418" iso_3166-2="ISO 3166-2:LA" region="Asia" sub-region="South-eastern Asia" intermediate-region="" region-code="142" sub-region-code="035" intermediate-region-code=""/>
Expand All @@ -132,7 +132,6 @@
<country name="Lithuania" alpha-2="LT" alpha-3="LTU" country-code="440" iso_3166-2="ISO 3166-2:LT" region="Europe" sub-region="Northern Europe" intermediate-region="" region-code="150" sub-region-code="154" intermediate-region-code=""/>
<country name="Luxembourg" alpha-2="LU" alpha-3="LUX" country-code="442" iso_3166-2="ISO 3166-2:LU" region="Europe" sub-region="Western Europe" intermediate-region="" region-code="150" sub-region-code="155" intermediate-region-code=""/>
<country name="Macao" alpha-2="MO" alpha-3="MAC" country-code="446" iso_3166-2="ISO 3166-2:MO" region="Asia" sub-region="Eastern Asia" intermediate-region="" region-code="142" sub-region-code="030" intermediate-region-code=""/>
<country name="Macedonia (the former Yugoslav Republic of)" alpha-2="MK" alpha-3="MKD" country-code="807" iso_3166-2="ISO 3166-2:MK" region="Europe" sub-region="Southern Europe" intermediate-region="" region-code="150" sub-region-code="039" intermediate-region-code=""/>
<country name="Madagascar" alpha-2="MG" alpha-3="MDG" country-code="450" iso_3166-2="ISO 3166-2:MG" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Eastern Africa" region-code="002" sub-region-code="202" intermediate-region-code="014"/>
<country name="Malawi" alpha-2="MW" alpha-3="MWI" country-code="454" iso_3166-2="ISO 3166-2:MW" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Eastern Africa" region-code="002" sub-region-code="202" intermediate-region-code="014"/>
<country name="Malaysia" alpha-2="MY" alpha-3="MYS" country-code="458" iso_3166-2="ISO 3166-2:MY" region="Asia" sub-region="South-eastern Asia" intermediate-region="" region-code="142" sub-region-code="035" intermediate-region-code=""/>
Expand All @@ -146,7 +145,7 @@
<country name="Mayotte" alpha-2="YT" alpha-3="MYT" country-code="175" iso_3166-2="ISO 3166-2:YT" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Eastern Africa" region-code="002" sub-region-code="202" intermediate-region-code="014"/>
<country name="Mexico" alpha-2="MX" alpha-3="MEX" country-code="484" iso_3166-2="ISO 3166-2:MX" region="Americas" sub-region="Latin America and the Caribbean" intermediate-region="Central America" region-code="019" sub-region-code="419" intermediate-region-code="013"/>
<country name="Micronesia (Federated States of)" alpha-2="FM" alpha-3="FSM" country-code="583" iso_3166-2="ISO 3166-2:FM" region="Oceania" sub-region="Micronesia" intermediate-region="" region-code="009" sub-region-code="057" intermediate-region-code=""/>
<country name="Moldova (Republic of)" alpha-2="MD" alpha-3="MDA" country-code="498" iso_3166-2="ISO 3166-2:MD" region="Europe" sub-region="Eastern Europe" intermediate-region="" region-code="150" sub-region-code="151" intermediate-region-code=""/>
<country name="Moldova, Republic of" alpha-2="MD" alpha-3="MDA" country-code="498" iso_3166-2="ISO 3166-2:MD" region="Europe" sub-region="Eastern Europe" intermediate-region="" region-code="150" sub-region-code="151" intermediate-region-code=""/>
<country name="Monaco" alpha-2="MC" alpha-3="MCO" country-code="492" iso_3166-2="ISO 3166-2:MC" region="Europe" sub-region="Western Europe" intermediate-region="" region-code="150" sub-region-code="155" intermediate-region-code=""/>
<country name="Mongolia" alpha-2="MN" alpha-3="MNG" country-code="496" iso_3166-2="ISO 3166-2:MN" region="Asia" sub-region="Eastern Asia" intermediate-region="" region-code="142" sub-region-code="030" intermediate-region-code=""/>
<country name="Montenegro" alpha-2="ME" alpha-3="MNE" country-code="499" iso_3166-2="ISO 3166-2:ME" region="Europe" sub-region="Southern Europe" intermediate-region="" region-code="150" sub-region-code="039" intermediate-region-code=""/>
Expand All @@ -165,6 +164,7 @@
<country name="Nigeria" alpha-2="NG" alpha-3="NGA" country-code="566" iso_3166-2="ISO 3166-2:NG" region="Africa" sub-region="Sub-Saharan Africa" intermediate-region="Western Africa" region-code="002" sub-region-code="202" intermediate-region-code="011"/>
<country name="Niue" alpha-2="NU" alpha-3="NIU" country-code="570" iso_3166-2="ISO 3166-2:NU" region="Oceania" sub-region="Polynesia" intermediate-region="" region-code="009" sub-region-code="061" intermediate-region-code=""/>
<country name="Norfolk Island" alpha-2="NF" alpha-3="NFK" country-code="574" iso_3166-2="ISO 3166-2:NF" region="Oceania" sub-region="Australia and New Zealand" intermediate-region="" region-code="009" sub-region-code="053" intermediate-region-code=""/>
<country name="North Macedonia" alpha-2="MK" alpha-3="MKD" country-code="807" iso_3166-2="ISO 3166-2:MK" region="Europe" sub-region="Southern Europe" intermediate-region="" region-code="150" sub-region-code="039" intermediate-region-code=""/>
<country name="Northern Mariana Islands" alpha-2="MP" alpha-3="MNP" country-code="580" iso_3166-2="ISO 3166-2:MP" region="Oceania" sub-region="Micronesia" intermediate-region="" region-code="009" sub-region-code="057" intermediate-region-code=""/>
<country name="Norway" alpha-2="NO" alpha-3="NOR" country-code="578" iso_3166-2="ISO 3166-2:NO" region="Europe" sub-region="Northern Europe" intermediate-region="" region-code="150" sub-region-code="154" intermediate-region-code=""/>
<country name="Oman" alpha-2="OM" alpha-3="OMN" country-code="512" iso_3166-2="ISO 3166-2:OM" region="Asia" sub-region="Western Asia" intermediate-region="" region-code="142" sub-region-code="145" intermediate-region-code=""/>
Expand Down
8 changes: 4 additions & 4 deletions slim-2/slim-2.csv
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Cocos (Keeling) Islands,CC,166
Colombia,CO,170
Comoros,KM,174
Congo,CG,178
Congo (Democratic Republic of the),CD,180
"Congo, Democratic Republic of the",CD,180
Cook Islands,CK,184
Costa Rica,CR,188
Côte d'Ivoire,CI,384
Expand Down Expand Up @@ -118,7 +118,7 @@ Kazakhstan,KZ,398
Kenya,KE,404
Kiribati,KI,296
Korea (Democratic People's Republic of),KP,408
Korea (Republic of),KR,410
"Korea, Republic of",KR,410
Kuwait,KW,414
Kyrgyzstan,KG,417
Lao People's Democratic Republic,LA,418
Expand All @@ -131,7 +131,6 @@ Liechtenstein,LI,438
Lithuania,LT,440
Luxembourg,LU,442
Macao,MO,446
Macedonia (the former Yugoslav Republic of),MK,807
Madagascar,MG,450
Malawi,MW,454
Malaysia,MY,458
Expand All @@ -145,7 +144,7 @@ Mauritius,MU,480
Mayotte,YT,175
Mexico,MX,484
Micronesia (Federated States of),FM,583
Moldova (Republic of),MD,498
"Moldova, Republic of",MD,498
Monaco,MC,492
Mongolia,MN,496
Montenegro,ME,499
Expand All @@ -164,6 +163,7 @@ Niger,NE,562
Nigeria,NG,566
Niue,NU,570
Norfolk Island,NF,574
North Macedonia,MK,807
Northern Mariana Islands,MP,580
Norway,NO,578
Oman,OM,512
Expand Down
Loading

0 comments on commit f3d5592

Please sign in to comment.