normalize_country 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,62 @@
1
+ = NormalizeCountry
2
+
3
+ Convert country names and codes to a standard.
4
+
5
+ === Overview
6
+
7
+ require "normalize_country"
8
+
9
+ NormalizeCountry("America") # "United States"
10
+ NormalizeCountry("United States of America") # "United States"
11
+ NormalizeCountry("USA", :to => :official) # "United States of America"
12
+ NormalizeCountry("Iran", :to => :official) # "Islamic Republic of Iran"
13
+ NormalizeCountry("U.S.", :to => :alpha2) # "US"
14
+ NormalizeCountry("US", :to => :fifa) # "USA"
15
+ NormalizeCountry("Iran", :to => :alpha3) # "IRN"
16
+ NormalizeCountry("Iran", :to => :ioc) # "IRI"
17
+ NormalizeCountry("DPRK", :to => :short) # "North Korea"
18
+ NormalizeCountry("North Korea", :to => :iso_name) # "Korea, Democratic People's Republic Of"
19
+
20
+ # Or
21
+ NormalizeCountry.convert("U.S.", :to => :alpha2) # "US"
22
+
23
+ # Set the default
24
+ NormalizeCountry.to = :alpha3
25
+ NormalizeCountry.convert("Mexico") # "MEX"
26
+ NormalizeCountry.convert("United Mexican States") # "MEX"
27
+
28
+ === Supported Conversions
29
+
30
+ In addition to trying to convert from common, non-standardized names and abbrivations, +NormalizeCountry+
31
+ will convert to/from the following:
32
+
33
+ [:alpha2] ISO 3166-1 alpha-2
34
+ [:alpha3] ISO 3166-1 alpha-3
35
+ [:fifa] FIFA (International Federation of Association Football)
36
+ [:official] The country's official name
37
+ [:ioc] International Olympic Committee
38
+ [:iso_name] Country name used by ISO 3166-1
39
+ [:short] A shortned version of the country's name, commonly used when speaking and/or writing (US English)
40
+
41
+ === Faulty/Missing/Erroneous Country Names
42
+
43
+ Please submit a patch or {open an issue}[https://github.com/sshaw/normalize_country/issues].
44
+
45
+ === Why?
46
+
47
+ This code was -to some extent- part of a larger project that allowed users to perform a free-text search by country.
48
+ Country names were stored in the DB by their ISO names.
49
+
50
+ Several years later at work we had to extract country names from a web service that didn't standardize
51
+ them. Sometimes they used UK, other times U.K. It then occured to me that this code could be useful outside
52
+ of the original project. The web service was fixed but, nevertheless...
53
+
54
+ === Somewhat Similar Gems
55
+
56
+ Upon further investigation I've found the following:
57
+
58
+ * {Carmen}[https://github.com/jim/carmen]: ISO country names and states/subdivisions
59
+ * {countries}[https://github.com/hexorx/countries] ISO country names, states/subdivisions, currency, E.164 phone numbers and language translations
60
+ * {country_codes}[https://github.com/SunDawg/country_codes] ISO country names and currency data
61
+ * {i18n_data}[https://github.com/grosser/i18n_data]: ISO country names in different languages, includes alpha codes
62
+ * {ModelUN}[https://github.com/uhhuhyeah/model_un]: Similar to this gem but with less support for conversion, it does include US states
@@ -0,0 +1,62 @@
1
+ require "yaml"
2
+
3
+ module NormalizeCountry
4
+ VERSION = "0.0.1"
5
+ Countries = {}
6
+
7
+ class << self
8
+ attr_accessor :to
9
+
10
+ def to
11
+ @to ||= :iso_name
12
+ end
13
+
14
+ def convert(name, options = {})
15
+ country = country_for(name)
16
+ return unless country
17
+ country[ options[:to] || to ]
18
+ end
19
+
20
+ private
21
+ def country_for(name)
22
+ name = name.to_s.downcase.strip.squeeze(" ")
23
+ return if name.empty?
24
+ Countries[name.to_sym]
25
+ end
26
+ end
27
+
28
+ class Country
29
+ def initialize(config)
30
+ raise ArgumentError, "country config must be a hash" unless Hash === config
31
+
32
+ @mapping = {}
33
+ config.each do |id, value|
34
+ @mapping[id.to_sym] = Array === value ?
35
+ value.compact.map { |v| v.squeeze(" ").strip } :
36
+ value ? value.squeeze(" ").strip : value
37
+ end
38
+ end
39
+
40
+ def [](id)
41
+ id = id.to_s
42
+ return if id.empty? or id.to_sym == :aliases
43
+ name = @mapping[id.to_sym]
44
+ return name.dup if name
45
+ end
46
+
47
+ def names
48
+ @names ||= @mapping.values.flatten.uniq.compact
49
+ end
50
+ end
51
+
52
+ path = File.join(File.dirname(__FILE__), "normalize_country", "countries", "en.yml")
53
+ data = YAML.load_file(path)
54
+ data.values.each do |mapping|
55
+ country = Country.new(mapping)
56
+ country.names.map { |name| Countries[name.downcase.to_sym] = country }
57
+ end
58
+ end
59
+
60
+ def NormalizeCountry(name, options = {})
61
+ NormalizeCountry.convert(name, options)
62
+ end
@@ -0,0 +1,2084 @@
1
+ ---
2
+ AD:
3
+ alpha2: AD
4
+ alpha3: AND
5
+ ioc: AND
6
+ iso_name: Andorra
7
+ official: Principality of Andorra
8
+ aliases:
9
+ - Principality of the Valleys of Andorra
10
+ fifa: AND
11
+ short: Andorra
12
+ AE:
13
+ alpha2: AE
14
+ alpha3: ARE
15
+ ioc: UAE
16
+ iso_name: United Arab Emirates
17
+ aliases:
18
+ - Emirates
19
+ - UAE
20
+ fifa: UAE
21
+ short: United Arab Emirates
22
+ official: United Arab Emirates
23
+ AF:
24
+ alpha2: AF
25
+ alpha3: AFG
26
+ ioc: AFG
27
+ fifa: AFG
28
+ iso_name: Afghanistan
29
+ official: Islamic Republic of Afghanistan
30
+ short: Afghanistan
31
+ AG:
32
+ alpha2: AG
33
+ alpha3: ATG
34
+ ioc: ANT
35
+ iso_name: Antigua and Barbuda
36
+ fifa: ATG
37
+ short: Antigua and Barbuda
38
+ official: Antigua and Barbuda
39
+ AI:
40
+ alpha2: AI
41
+ alpha3: AIA
42
+ ioc:
43
+ iso_name: Anguilla
44
+ fifa:
45
+ short: Anguilla
46
+ official: Anguilla
47
+ AL:
48
+ alpha2: AL
49
+ alpha3: ALB
50
+ ioc: ALB
51
+ iso_name: Albania
52
+ official: Republic of Albania
53
+ fifa: ALB
54
+ short: Albania
55
+ AM:
56
+ alpha2: AM
57
+ alpha3: ARM
58
+ ioc: ARM
59
+ iso_name: Armenia
60
+ official: Republic of Armenia
61
+ fifa: ARM
62
+ short: Armenia
63
+ AN:
64
+ alpha2: AN
65
+ alpha3: ANT
66
+ ioc: AHO
67
+ iso_name: Netherlands Antilles
68
+ aliases:
69
+ - Dutch Antilles
70
+ fifa: ANT
71
+ short: Netherlands Antilles
72
+ official: Netherlands Antilles
73
+ AO:
74
+ alpha2: AO
75
+ alpha3: AGO
76
+ ioc: ANG
77
+ iso_name: Angola
78
+ official: Republic of Angola
79
+ fifa: ANG
80
+ short: Angola
81
+ AQ:
82
+ alpha2: AQ
83
+ alpha3: ATA
84
+ ioc:
85
+ iso_name: Antarctica
86
+ fifa:
87
+ short: Antarctica
88
+ official: Antarctica
89
+ AR:
90
+ alpha2: AR
91
+ alpha3: ARG
92
+ ioc: ARG
93
+ iso_name: Argentina
94
+ official: Argentine Republic
95
+ fifa: ARG
96
+ short: Argentina
97
+ AS:
98
+ alpha2: AS
99
+ alpha3: ASM
100
+ ioc: ASA
101
+ iso_name: American Samoa
102
+ fifa: ASA
103
+ short: American Samoa
104
+ official: American Samoa
105
+ AT:
106
+ alpha2: AT
107
+ alpha3: AUT
108
+ ioc: AUT
109
+ iso_name: Austria
110
+ official: Republic of Austria
111
+ fifa: AUT
112
+ short: Austria
113
+ AU:
114
+ alpha2: AU
115
+ alpha3: AUS
116
+ ioc: AUS
117
+ iso_name: Australia
118
+ official: Commonwealth of Australia
119
+ fifa: AUS
120
+ short: Australia
121
+ AW:
122
+ alpha2: AW
123
+ alpha3: ABW
124
+ ioc: ARU
125
+ iso_name: Aruba
126
+ fifa: ARU
127
+ short: Aruba
128
+ official: Aruba
129
+ AX:
130
+ alpha2: AX
131
+ alpha3: ALA
132
+ ioc:
133
+ iso_name: "\xC3\x85land Islands"
134
+ fifa:
135
+ short: "\xC3\x85land Islands"
136
+ official: "\xC3\x85land Islands"
137
+ AZ:
138
+ alpha2: AZ
139
+ alpha3: AZE
140
+ ioc: AZE
141
+ iso_name: Azerbaijan
142
+ short: Azerbaijan
143
+ official: Republic of Azerbaijan
144
+ fifa: AZE
145
+ BA:
146
+ alpha2: BA
147
+ alpha3: BIH
148
+ ioc: BIH
149
+ iso_name: Bosnia and Herzegovina
150
+ short: Bosnia
151
+ aliases:
152
+ - Bosnia-Herzegovina
153
+ fifa: BIH
154
+ official: Bosnia and Herzegovina
155
+ BB:
156
+ alpha2: BB
157
+ alpha3: BRB
158
+ ioc: BAR
159
+ iso_name: Barbados
160
+ fifa: BRB
161
+ short: Barbados
162
+ official: Barbados
163
+ BD:
164
+ alpha2: BD
165
+ alpha3: BGD
166
+ ioc: BAN
167
+ iso_name: Bangladesh
168
+ official: People's Republic of Bangladesh
169
+ fifa: BAN
170
+ short: Bangladesh
171
+ BE:
172
+ alpha2: BE
173
+ alpha3: BEL
174
+ ioc: BEL
175
+ iso_name: Belgium
176
+ official: Kingdom of Belgium
177
+ fifa: BEL
178
+ short: Belgium
179
+ BF:
180
+ alpha2: BF
181
+ alpha3: BFA
182
+ ioc: BUR
183
+ iso_name: Burkina Faso
184
+ short: Burkina
185
+ fifa: BFA
186
+ official: Burkina Faso
187
+ BG:
188
+ alpha2: BG
189
+ alpha3: BGR
190
+ ioc: BUL
191
+ iso_name: Bulgaria
192
+ official: Republic of Bulgaria
193
+ fifa: BUL
194
+ short: Bulgaria
195
+ BH:
196
+ alpha2: BH
197
+ alpha3: BHR
198
+ ioc: BRN
199
+ iso_name: Bahrain
200
+ official: Kingdom of Bahrain
201
+ fifa: BHR
202
+ short: Bahrain
203
+ BI:
204
+ alpha2: BI
205
+ alpha3: BDI
206
+ ioc: BDI
207
+ iso_name: Burundi
208
+ short: Burundi
209
+ official: Republic of Burundi
210
+ fifa: BDI
211
+ BJ:
212
+ alpha2: BJ
213
+ alpha3: BEN
214
+ ioc: BEN
215
+ iso_name: Benin
216
+ official: Republic of Benin
217
+ fifa: BEN
218
+ short: Benin
219
+ BL:
220
+ alpha2: BL
221
+ alpha3: BLM
222
+ ioc:
223
+ iso_name: "Saint Barth\xC3\xA9lemy"
224
+ official: "Territorial Collectivity of Saint Barth\xC3\xA9lemy"
225
+ short: Saint Barths
226
+ aliases:
227
+ - Saint Barts
228
+ - St. Barts
229
+ - St. Barths
230
+ fifa:
231
+ BM:
232
+ alpha2: BM
233
+ alpha3: BMU
234
+ ioc: BER
235
+ iso_name: Bermuda
236
+ aliases:
237
+ - Bermudas
238
+ - Somers Isles
239
+ - The Bermudas
240
+ - The Somers Isles
241
+ fifa: BER
242
+ short: Bermuda
243
+ official: Bermuda
244
+ BN:
245
+ alpha2: BN
246
+ alpha3: BRN
247
+ ioc: BRU
248
+ iso_name: Brunei Darussalam
249
+ short: Brunei
250
+ official: Nation of Brunei, Abode of Peace
251
+ fifa: BRU
252
+ BO:
253
+ alpha2: BO
254
+ alpha3: BOL
255
+ ioc: BOL
256
+ iso_name: Bolivia, Plurinational State of
257
+ short: Bolivia
258
+ official: Plurinational State of Bolivia
259
+ fifa: BOL
260
+ BR:
261
+ alpha2: BR
262
+ alpha3: BRA
263
+ ioc: BRA
264
+ iso_name: Brazil
265
+ official: Federative Republic of Brazil
266
+ fifa: BRA
267
+ short: Brazil
268
+ BS:
269
+ alpha2: BS
270
+ alpha3: BHS
271
+ ioc: BAH
272
+ iso_name: Bahamas
273
+ official: Commonwealth of the Bahamas
274
+ fifa: BAH
275
+ short: Bahamas
276
+ BT:
277
+ alpha2: BT
278
+ alpha3: BTN
279
+ ioc: BHU
280
+ iso_name: Bhutan
281
+ official: Kingdom of Bhutan
282
+ fifa: BHU
283
+ short: Bhutan
284
+ BV:
285
+ alpha2: BV
286
+ alpha3: BVT
287
+ ioc:
288
+ iso_name: Bouvet Island
289
+ short: Bouvet Island
290
+ fifa:
291
+ official: Bouvet Island
292
+ BW:
293
+ alpha2: BW
294
+ alpha3: BWA
295
+ ioc: BOT
296
+ iso_name: Botswana
297
+ official: Republic of Botswana
298
+ fifa: BOT
299
+ short: Botswana
300
+ BY:
301
+ alpha2: BY
302
+ alpha3: BLR
303
+ ioc: BLR
304
+ iso_name: Belarus
305
+ official: Republic of Belarus
306
+ fifa: BLR
307
+ short: Belarus
308
+ BZ:
309
+ alpha2: BZ
310
+ alpha3: BLZ
311
+ ioc: BIZ
312
+ iso_name: Belize
313
+ fifa: BLZ
314
+ short: Belize
315
+ official: Belize
316
+ CA:
317
+ alpha2: CA
318
+ alpha3: CAN
319
+ ioc: CAN
320
+ iso_name: Canada
321
+ fifa: CAN
322
+ short: Canada
323
+ official: Canada
324
+ CC:
325
+ alpha2: CC
326
+ alpha3: CCK
327
+ ioc:
328
+ iso_name: Cocos (Keeling) Islands
329
+ official: Territory of the Cocos (Keeling) Islands
330
+ aliases:
331
+ - Cocos Islands
332
+ - Keeling Islands
333
+ fifa:
334
+ short: Cocos (Keeling) Islands
335
+ CD:
336
+ alpha2: CD
337
+ alpha3: COD
338
+ ioc: COD
339
+ iso_name: Congo, The Democratic Republic Of The
340
+ official: Democratic Republic of the Congo
341
+ aliases:
342
+ - Congo-Kinshasa
343
+ - DRC
344
+ - DR Congo
345
+ fifa: COD
346
+ short: Congo, The Democratic Republic Of The
347
+ CF:
348
+ alpha2: CF
349
+ alpha3: CAF
350
+ ioc: CAF
351
+ iso_name: Central African Republic
352
+ short: Central African Republic
353
+ fifa: CTA
354
+ official: Central African Republic
355
+ CG:
356
+ alpha2: CG
357
+ alpha3: COG
358
+ ioc: CGO
359
+ iso_name: Congo
360
+ official: People's Republic of the Congo
361
+ aliases:
362
+ - Congo-Brazzaville
363
+ fifa: CGO
364
+ short: Congo
365
+ CH:
366
+ alpha2: CH
367
+ alpha3: CHE
368
+ ioc: SUI
369
+ iso_name: Switzerland
370
+ official: Swiss Confederation
371
+ fifa: SUI
372
+ short: Switzerland
373
+ CI:
374
+ alpha2: CI
375
+ alpha3: CIV
376
+ ioc: CIV
377
+ iso_name: "C\xC3\xB4te D'Ivoire"
378
+ official: "Republic of C\xC3\xB4te D'Ivoire"
379
+ short: Ivory Coast
380
+ fifa: CIV
381
+ CK:
382
+ alpha2: CK
383
+ alpha3: COK
384
+ ioc: COK
385
+ iso_name: Cook Islands
386
+ fifa: COK
387
+ short: Cook Islands
388
+ official: Cook Islands
389
+ CL:
390
+ alpha2: CL
391
+ alpha3: CHL
392
+ ioc: CHI
393
+ iso_name: Chile
394
+ official: Republic of Chile
395
+ fifa: CHI
396
+ short: Chile
397
+ CM:
398
+ alpha2: CM
399
+ alpha3: CMR
400
+ ioc: CMR
401
+ iso_name: Cameroon
402
+ official: Republic of Cameroon
403
+ fifa: CMR
404
+ short: Cameroon
405
+ CN:
406
+ alpha2: CN
407
+ alpha3: CHN
408
+ ioc: CHN
409
+ iso_name: China
410
+ official: People's Republic of China
411
+ fifa: CHN
412
+ short: China
413
+ CO:
414
+ alpha2: CO
415
+ alpha3: COL
416
+ ioc: COL
417
+ iso_name: Colombia
418
+ official: Republic of Colombia
419
+ fifa: COL
420
+ short: Colombia
421
+ CR:
422
+ alpha2: CR
423
+ alpha3: CRI
424
+ ioc: CRC
425
+ iso_name: Costa Rica
426
+ official: Republic of Costa Rica
427
+ fifa: CRC
428
+ short: Costa Rica
429
+ CU:
430
+ alpha2: CU
431
+ alpha3: CUB
432
+ ioc: CUB
433
+ iso_name: Cuba
434
+ official: Republic of Cuba
435
+ fifa: CUB
436
+ short: Cuba
437
+ CV:
438
+ alpha2: CV
439
+ alpha3: CPV
440
+ ioc: CPV
441
+ iso_name: Cape Verde
442
+ official: Republic of Cape Verde
443
+ fifa: CPV
444
+ short: Cape Verde
445
+ CX:
446
+ alpha2: CX
447
+ alpha3: CXR
448
+ ioc:
449
+ iso_name: Christmas Island
450
+ official: Territory of Christmas Island
451
+ fifa:
452
+ short: Christmas Island
453
+ CY:
454
+ alpha2: CY
455
+ alpha3: CYP
456
+ ioc: CYP
457
+ iso_name: Cyprus
458
+ official: Republic of Cyprus
459
+ fifa: CYP
460
+ short: Cyprus
461
+ CZ:
462
+ alpha2: CZ
463
+ alpha3: CZE
464
+ ioc: CZE
465
+ iso_name: Czech Republic
466
+ fifa: CZE
467
+ short: Czech Republic
468
+ official: Czech Republic
469
+ DE:
470
+ alpha2: DE
471
+ alpha3: DEU
472
+ ioc: GER
473
+ iso_name: Germany
474
+ official: Federal Republic of Germany
475
+ fifa: GER
476
+ short: Germany
477
+ DJ:
478
+ alpha2: DJ
479
+ alpha3: DJI
480
+ ioc: DJI
481
+ iso_name: Djibouti
482
+ official: Republic of Djibouti
483
+ fifa: DJI
484
+ short: Djibouti
485
+ DK:
486
+ alpha2: DK
487
+ alpha3: DNK
488
+ ioc: DEN
489
+ iso_name: Denmark
490
+ official: Kingdom of Denmark
491
+ fifa: DEN
492
+ short: Denmark
493
+ DM:
494
+ alpha2: DM
495
+ alpha3: DMA
496
+ ioc: DMA
497
+ iso_name: Dominica
498
+ official: Commonwealth of Dominica
499
+ fifa: DMA
500
+ short: Dominica
501
+ DO:
502
+ alpha2: DO
503
+ alpha3: DOM
504
+ ioc: DOM
505
+ iso_name: Dominican Republic
506
+ fifa: DOM
507
+ short: Dominican Republic
508
+ official: Dominican Republic
509
+ DZ:
510
+ alpha2: DZ
511
+ alpha3: DZA
512
+ ioc: ALG
513
+ fifa: ALG
514
+ iso_name: Algeria
515
+ official: People's Democratic Republic of Algeria
516
+ short: Algeria
517
+ EC:
518
+ alpha2: EC
519
+ alpha3: ECU
520
+ ioc: ECU
521
+ iso_name: Ecuador
522
+ official: Republic of Ecuador
523
+ fifa: ECU
524
+ short: Ecuador
525
+ EE:
526
+ alpha2: EE
527
+ alpha3: EST
528
+ ioc: EST
529
+ iso_name: Estonia
530
+ official: Republic of Estonia
531
+ fifa: EST
532
+ short: Estonia
533
+ EG:
534
+ alpha2: EG
535
+ alpha3: EGY
536
+ ioc: EGY
537
+ iso_name: Egypt
538
+ official: Arab Republic of Egypt
539
+ fifa: EGY
540
+ short: Egypt
541
+ EH:
542
+ alpha2: EH
543
+ alpha3: ESH
544
+ ioc:
545
+ iso_name: Western Sahara
546
+ fifa:
547
+ short: Western Sahara
548
+ official: Western Sahara
549
+ ER:
550
+ alpha2: ER
551
+ alpha3: ERI
552
+ ioc: ERI
553
+ iso_name: Eritrea
554
+ official: State of Eritrea
555
+ fifa: ERI
556
+ short: Eritrea
557
+ ES:
558
+ alpha2: ES
559
+ alpha3: ESP
560
+ ioc: ESP
561
+ iso_name: Spain
562
+ official: Kingdom of Spain
563
+ fifa: ESP
564
+ short: Spain
565
+ ET:
566
+ alpha2: ET
567
+ alpha3: ETH
568
+ ioc: ETH
569
+ iso_name: Ethiopia
570
+ official: Federal Democratic Republic of Ethiopia
571
+ fifa: ETH
572
+ short: Ethiopia
573
+ FI:
574
+ alpha2: FI
575
+ alpha3: FIN
576
+ ioc: FIN
577
+ iso_name: Finland
578
+ official: Republic of Finland
579
+ fifa: FIN
580
+ short: Finland
581
+ FJ:
582
+ alpha2: FJ
583
+ alpha3: FJI
584
+ ioc: FIJ
585
+ iso_name: Fiji
586
+ official: Republic of Fiji
587
+ fifa: FIJ
588
+ short: Fiji
589
+ FK:
590
+ alpha2: FK
591
+ alpha3: FLK
592
+ ioc:
593
+ iso_name: Falkland Islands (Malvinas)
594
+ official: Falkland Islands
595
+ aliases:
596
+ - The Falklands
597
+ fifa:
598
+ short: Falkland Islands (Malvinas)
599
+ FM:
600
+ alpha2: FM
601
+ alpha3: FSM
602
+ ioc: FSM
603
+ iso_name: Micronesia, Federated States Of
604
+ official: Federated States of Micronesia
605
+ fifa: FSM
606
+ short: Micronesia, Federated States Of
607
+ FO:
608
+ alpha2: FO
609
+ alpha3: FRO
610
+ ioc: FRO
611
+ iso_name: Faroe Islands
612
+ short: Faroe Islands
613
+ fifa: FRO
614
+ official: Faroe Islands
615
+ FR:
616
+ alpha2: FR
617
+ alpha3: FRA
618
+ ioc: FRA
619
+ iso_name: France
620
+ official: French Republic
621
+ fifa: FRA
622
+ short: France
623
+ GA:
624
+ alpha2: GA
625
+ alpha3: GAB
626
+ ioc: GAB
627
+ iso_name: Gabon
628
+ official: Gabonese Republic
629
+ fifa: GAB
630
+ short: Gabon
631
+ GB:
632
+ alpha2: GB
633
+ alpha3: GBR
634
+ ioc: GBR
635
+ iso_name: United Kingdom
636
+ official: United Kingdom of Great Britain and Northern Ireland
637
+ aliases:
638
+ - Britain
639
+ - U.K.
640
+ - UK
641
+ fifa: GBR
642
+ short: United Kingdom
643
+ GD:
644
+ alpha2: GD
645
+ alpha3: GRD
646
+ ioc: GRN
647
+ iso_name: Grenada
648
+ fifa: GRN
649
+ short: Grenada
650
+ official: Grenada
651
+ GE:
652
+ alpha2: GE
653
+ alpha3: GEO
654
+ ioc: GEO
655
+ iso_name: Georgia
656
+ fifa: GEO
657
+ short: Georgia
658
+ official: Georgia
659
+ GF:
660
+ alpha2: GF
661
+ alpha3: GUF
662
+ ioc:
663
+ iso_name: French Guiana
664
+ fifa:
665
+ short: French Guiana
666
+ official: French Guiana
667
+ GG:
668
+ alpha2: GG
669
+ alpha3: GGY
670
+ ioc:
671
+ iso_name: Guernsey
672
+ official: Bailiwick of Guernsey
673
+ fifa:
674
+ short: Guernsey
675
+ GH:
676
+ alpha2: GH
677
+ alpha3: GHA
678
+ ioc: GHA
679
+ iso_name: Ghana
680
+ official: Republic of Ghana
681
+ fifa: GHA
682
+ short: Ghana
683
+ GI:
684
+ alpha2: GI
685
+ alpha3: GIB
686
+ ioc:
687
+ iso_name: Gibraltar
688
+ fifa:
689
+ short: Gibraltar
690
+ official: Gibraltar
691
+ GL:
692
+ alpha2: GL
693
+ alpha3: GRL
694
+ ioc:
695
+ iso_name: Greenland
696
+ fifa:
697
+ short: Greenland
698
+ official: Greenland
699
+ GM:
700
+ alpha2: GM
701
+ alpha3: GMB
702
+ ioc: GAM
703
+ iso_name: Gambia
704
+ official: Republic of the Gambia
705
+ fifa: GAM
706
+ short: Gambia
707
+ GN:
708
+ alpha2: GN
709
+ alpha3: GIN
710
+ ioc: GUI
711
+ iso_name: Guinea
712
+ official: Republic of Guinea
713
+ fifa: GUI
714
+ short: Guinea
715
+ GP:
716
+ alpha2: GP
717
+ alpha3: GLP
718
+ ioc:
719
+ iso_name: Guadeloupe
720
+ fifa:
721
+ short: Guadeloupe
722
+ official: Guadeloupe
723
+ GQ:
724
+ alpha2: GQ
725
+ alpha3: GNQ
726
+ ioc: GEQ
727
+ iso_name: Equatorial Guinea
728
+ official: Republic of Equatorial Guinea
729
+ fifa: EQG
730
+ short: Equatorial Guinea
731
+ GR:
732
+ alpha2: GR
733
+ alpha3: GRC
734
+ ioc: GRE
735
+ iso_name: Greece
736
+ official: Hellenic Republic
737
+ fifa: GRE
738
+ short: Greece
739
+ GS:
740
+ alpha2: GS
741
+ alpha3: SGS
742
+ ioc:
743
+ iso_name: South Georgia and the South Sandwich Islands
744
+ fifa:
745
+ short: South Georgia and the South Sandwich Islands
746
+ official: South Georgia and the South Sandwich Islands
747
+ GT:
748
+ alpha2: GT
749
+ alpha3: GTM
750
+ ioc: GUA
751
+ iso_name: Guatemala
752
+ official: Republic of Guatemala
753
+ fifa: GUA
754
+ short: Guatemala
755
+ GU:
756
+ alpha2: GU
757
+ alpha3: GUM
758
+ ioc: GUM
759
+ iso_name: Guam
760
+ fifa: GUM
761
+ short: Guam
762
+ official: Guam
763
+ GW:
764
+ alpha2: GW
765
+ alpha3: GNB
766
+ ioc: GBS
767
+ iso_name: Guinea-Bissau
768
+ official: Republic of Guinea-Bissau
769
+ fifa: GNB
770
+ short: Guinea-Bissau
771
+ GY:
772
+ alpha2: GY
773
+ alpha3: GUY
774
+ ioc: GUY
775
+ iso_name: Guyana
776
+ official: Co-operative Republic of Guyana
777
+ fifa: GUY
778
+ short: Guyana
779
+ HK:
780
+ alpha2: HK
781
+ alpha3: HKG
782
+ ioc: HKG
783
+ iso_name: Hong Kong
784
+ official: Hong Kong Special Administrative Region of the People's Republic of China
785
+ aliases:
786
+ - Hong Kong Special Administrative Region
787
+ fifa: HKG
788
+ short: Hong Kong
789
+ HM:
790
+ alpha2: HM
791
+ alpha3: HMD
792
+ ioc:
793
+ iso_name: Heard and McDonald Islands
794
+ aliases:
795
+ - HIMI
796
+ fifa:
797
+ short: Heard and McDonald Islands
798
+ official: Heard and McDonald Islands
799
+ HN:
800
+ alpha2: HN
801
+ alpha3: HND
802
+ ioc: HON
803
+ iso_name: Honduras
804
+ official: Republic of Honduras
805
+ fifa: HON
806
+ short: Honduras
807
+ HR:
808
+ alpha2: HR
809
+ alpha3: HRV
810
+ ioc: CRO
811
+ iso_name: Croatia
812
+ official: Republic of Croatia
813
+ fifa: CRO
814
+ short: Croatia
815
+ HT:
816
+ alpha2: HT
817
+ alpha3: HTI
818
+ ioc: HAI
819
+ iso_name: Haiti
820
+ official: Republic of Haiti
821
+ fifa: HAI
822
+ short: Haiti
823
+ HU:
824
+ alpha2: HU
825
+ alpha3: HUN
826
+ ioc: HUN
827
+ iso_name: Hungary
828
+ fifa: HUN
829
+ short: Hungary
830
+ official: Hungary
831
+ ID:
832
+ alpha2: ID
833
+ alpha3: IDN
834
+ ioc: INA
835
+ iso_name: Indonesia
836
+ official: Republic of Indonesia
837
+ fifa: IDN
838
+ short: Indonesia
839
+ IE:
840
+ alpha2: IE
841
+ alpha3: IRL
842
+ ioc: IRL
843
+ iso_name: Ireland
844
+ short: Ireland
845
+ fifa: IRL
846
+ official: Ireland
847
+ IL:
848
+ alpha2: IL
849
+ alpha3: ISR
850
+ ioc: ISR
851
+ iso_name: Israel
852
+ official: State of Israel
853
+ fifa: ISR
854
+ short: Israel
855
+ IM:
856
+ alpha2: IM
857
+ alpha3: IMN
858
+ ioc:
859
+ iso_name: Isle of Man
860
+ aliases:
861
+ - Mann
862
+ fifa:
863
+ short: Isle of Man
864
+ official: Isle of Man
865
+ IN:
866
+ alpha2: IN
867
+ alpha3: IND
868
+ ioc: IND
869
+ iso_name: India
870
+ official: Republic of India
871
+ fifa: IND
872
+ short: India
873
+ IO:
874
+ alpha2: IO
875
+ alpha3: IOT
876
+ ioc:
877
+ iso_name: British Indian Ocean Territory
878
+ aliases:
879
+ - BIOT
880
+ - Chagos Islands
881
+ fifa:
882
+ short: British Indian Ocean Territory
883
+ official: British Indian Ocean Territory
884
+ IQ:
885
+ alpha2: IQ
886
+ alpha3: IRQ
887
+ ioc: IRQ
888
+ iso_name: Iraq
889
+ official: Republic of Iraq
890
+ fifa: IRQ
891
+ short: Iraq
892
+ IR:
893
+ alpha2: IR
894
+ alpha3: IRN
895
+ ioc: IRI
896
+ iso_name: Iran, Islamic Republic Of
897
+ short: Iran
898
+ official: Islamic Republic of Iran
899
+ fifa: IRN
900
+ IS:
901
+ alpha2: IS
902
+ alpha3: ISL
903
+ ioc: ISL
904
+ iso_name: Iceland
905
+ fifa: ISL
906
+ short: Iceland
907
+ official: Iceland
908
+ IT:
909
+ alpha2: IT
910
+ alpha3: ITA
911
+ ioc: ITA
912
+ iso_name: Italy
913
+ official: Italian Republic
914
+ fifa: ITA
915
+ short: Italy
916
+ JE:
917
+ alpha2: JE
918
+ alpha3: JEY
919
+ ioc:
920
+ iso_name: Jersey
921
+ official: Bailiwick of Jersey
922
+ fifa:
923
+ short: Jersey
924
+ JM:
925
+ alpha2: JM
926
+ alpha3: JAM
927
+ ioc: JAM
928
+ iso_name: Jamaica
929
+ short: Jamaica
930
+ fifa: JAM
931
+ official: Jamaica
932
+ JO:
933
+ alpha2: JO
934
+ alpha3: JOR
935
+ ioc: JOR
936
+ iso_name: Jordan
937
+ official: Hashemite Kingdom of Jordan
938
+ aliases:
939
+ - Kingdom of Jordan
940
+ fifa: JOR
941
+ short: Jordan
942
+ JP:
943
+ alpha2: JP
944
+ alpha3: JPN
945
+ ioc: JPN
946
+ iso_name: Japan
947
+ short: Japan
948
+ fifa: JPN
949
+ official: Japan
950
+ KE:
951
+ alpha2: KE
952
+ alpha3: KEN
953
+ ioc: KEN
954
+ iso_name: Kenya
955
+ official: Republic of Kenya
956
+ fifa: KEN
957
+ short: Kenya
958
+ KG:
959
+ alpha2: KG
960
+ alpha3: KGZ
961
+ ioc: KGZ
962
+ iso_name: Kyrgyzstan
963
+ official: Kyrgyz Republic
964
+ fifa: KGZ
965
+ short: Kyrgyzstan
966
+ KH:
967
+ alpha2: KH
968
+ alpha3: KHM
969
+ ioc: CAM
970
+ iso_name: Cambodia
971
+ official: Kingdom of Cambodia
972
+ fifa: CAM
973
+ short: Cambodia
974
+ KI:
975
+ alpha2: KI
976
+ alpha3: KIR
977
+ ioc: KIR
978
+ iso_name: Kiribati
979
+ official: Republic of Kiribati
980
+ fifa: KIR
981
+ short: Kiribati
982
+ KM:
983
+ alpha2: KM
984
+ alpha3: COM
985
+ ioc: COM
986
+ iso_name: Comoros
987
+ official: Union of the Comoros
988
+ fifa: COM
989
+ short: Comoros
990
+ KN:
991
+ alpha2: KN
992
+ alpha3: KNA
993
+ ioc: SKN
994
+ iso_name: Saint Kitts And Nevis
995
+ short: Saint Kitts And Nevis
996
+ official: Federation of Saint Kitts and Nevis
997
+ aliases:
998
+ - Federation of Saint Christopher and Nevi
999
+ fifa: SKN
1000
+ KP:
1001
+ alpha2: KP
1002
+ alpha3: PRK
1003
+ ioc: PRK
1004
+ iso_name: Korea, Democratic People's Republic Of
1005
+ short: North Korea
1006
+ official: Democratic People's Republic of Korea
1007
+ aliases:
1008
+ - DPRK
1009
+ - N Korea
1010
+ - N. Korea
1011
+ fifa: PRK
1012
+ KR:
1013
+ alpha2: KR
1014
+ alpha3: KOR
1015
+ ioc: KOR
1016
+ iso_name: Korea, Republic of
1017
+ short: South Korea
1018
+ official: Republic of Korea
1019
+ aliases:
1020
+ - S Korea
1021
+ - S. Korea
1022
+ fifa: KOR
1023
+ KW:
1024
+ alpha2: KW
1025
+ alpha3: KWT
1026
+ ioc: KUW
1027
+ iso_name: Kuwait
1028
+ official: State of Kuwait
1029
+ fifa: KUW
1030
+ short: Kuwait
1031
+ KY:
1032
+ alpha2: KY
1033
+ alpha3: CYM
1034
+ ioc: CAY
1035
+ iso_name: Cayman Islands
1036
+ aliases:
1037
+ - Caymans
1038
+ fifa: CAY
1039
+ short: Cayman Islands
1040
+ official: Cayman Islands
1041
+ KZ:
1042
+ alpha2: KZ
1043
+ alpha3: KAZ
1044
+ ioc: KAZ
1045
+ iso_name: Kazakhstan
1046
+ official: Republic of Kazakhstan
1047
+ fifa: KAZ
1048
+ short: Kazakhstan
1049
+ LA:
1050
+ alpha2: LA
1051
+ alpha3: LAO
1052
+ ioc: LAO
1053
+ iso_name: Lao People's Democratic Republic
1054
+ official: Lao People's Democratic Republic
1055
+ simple: Laos
1056
+ fifa: LAO
1057
+ short: Lao People's Democratic Republic
1058
+ LB:
1059
+ alpha2: LB
1060
+ alpha3: LBN
1061
+ ioc: LIB
1062
+ iso_name: Lebanon
1063
+ official: Lebanese Republic
1064
+ fifa: LIB
1065
+ short: Lebanon
1066
+ LC:
1067
+ alpha2: LC
1068
+ alpha3: LCA
1069
+ ioc: LCA
1070
+ iso_name: Saint Lucia
1071
+ aliases:
1072
+ - St. Lucia
1073
+ fifa: LCA
1074
+ short: Saint Lucia
1075
+ official: Saint Lucia
1076
+ LI:
1077
+ alpha2: LI
1078
+ alpha3: LIE
1079
+ ioc: LIE
1080
+ iso_name: Liechtenstein
1081
+ official: Principality of Liechtenstein
1082
+ fifa: LIE
1083
+ short: Liechtenstein
1084
+ LK:
1085
+ alpha2: LK
1086
+ alpha3: LKA
1087
+ ioc: SRI
1088
+ iso_name: Sri Lanka
1089
+ official: Democratic Socialist Republic of Sri Lanka
1090
+ fifa: SRI
1091
+ short: Sri Lanka
1092
+ LR:
1093
+ alpha2: LR
1094
+ alpha3: LBR
1095
+ ioc: LBR
1096
+ iso_name: Liberia
1097
+ official: Republic of Liberia
1098
+ fifa: LBR
1099
+ short: Liberia
1100
+ LS:
1101
+ alpha2: LS
1102
+ alpha3: LSO
1103
+ ioc: LES
1104
+ iso_name: Lesotho
1105
+ official: Kingdom of Lesoth
1106
+ fifa: LES
1107
+ short: Lesotho
1108
+ LT:
1109
+ alpha2: LT
1110
+ alpha3: LTU
1111
+ ioc: LTU
1112
+ iso_name: Lithuania
1113
+ official: Republic of Lithuania
1114
+ fifa: LTU
1115
+ short: Lithuania
1116
+ LU:
1117
+ alpha2: LU
1118
+ alpha3: LUX
1119
+ ioc: LUX
1120
+ iso_name: Luxembourg
1121
+ official: Grand Duchy of Luxembourg
1122
+ fifa: LUX
1123
+ short: Luxembourg
1124
+ LV:
1125
+ alpha2: LV
1126
+ alpha3: LVA
1127
+ ioc: LAT
1128
+ iso_name: Latvia
1129
+ official: Republic of Latvia
1130
+ fifa: LVA
1131
+ short: Latvia
1132
+ LY:
1133
+ alpha2: LY
1134
+ alpha3: LBY
1135
+ ioc: LBA
1136
+ iso_name: Libya
1137
+ official: State of Libya
1138
+ fifa: LBY
1139
+ short: Libya
1140
+ MA:
1141
+ alpha2: MA
1142
+ alpha3: MAR
1143
+ ioc: MAR
1144
+ iso_name: Morocco
1145
+ official: Kingdom of Morocco
1146
+ fifa: MAR
1147
+ short: Morocco
1148
+ MC:
1149
+ alpha2: MC
1150
+ alpha3: MCO
1151
+ ioc: MON
1152
+ iso_name: Monaco
1153
+ official: Principality of Monaco
1154
+ fifa: MON
1155
+ short: Monaco
1156
+ MD:
1157
+ alpha2: MD
1158
+ alpha3: MDA
1159
+ ioc: MDA
1160
+ iso_name: Moldova, Republic of
1161
+ official: Republic of Moldova
1162
+ fifa: MDA
1163
+ short: Moldova, Republic of
1164
+ ME:
1165
+ alpha2: ME
1166
+ alpha3: MNE
1167
+ ioc: MNE
1168
+ iso_name: Montenegro
1169
+ fifa: MNE
1170
+ short: Montenegro
1171
+ official: Montenegro
1172
+ MF:
1173
+ alpha2: MF
1174
+ alpha3: MAF
1175
+ ioc:
1176
+ iso_name: Saint Martin
1177
+ aliases:
1178
+ - St. Martin
1179
+ fifa:
1180
+ short: Saint Martin
1181
+ official: Saint Martin
1182
+ MG:
1183
+ alpha2: MG
1184
+ alpha3: MDG
1185
+ ioc: MAD
1186
+ iso_name: Madagascar
1187
+ official: Republic of Madagascar
1188
+ fifa: MAD
1189
+ short: Madagascar
1190
+ MH:
1191
+ alpha2: MH
1192
+ alpha3: MHL
1193
+ ioc: MHL
1194
+ iso_name: Marshall Islands
1195
+ official: Republic of the Marshall Islands
1196
+ fifa: MHL
1197
+ short: Marshall Islands
1198
+ MK:
1199
+ alpha2: MK
1200
+ alpha3: MKD
1201
+ ioc: MKD
1202
+ iso_name: Macedonia, the Former Yugoslav Republic Of
1203
+ short: Macedonia
1204
+ official: Republic of Macedonia
1205
+ fifa: MKD
1206
+ ML:
1207
+ alpha2: ML
1208
+ alpha3: MLI
1209
+ ioc: MLI
1210
+ iso_name: Mali
1211
+ official: Republic of Mali
1212
+ fifa: MLI
1213
+ short: Mali
1214
+ MM:
1215
+ alpha2: MM
1216
+ alpha3: MMR
1217
+ ioc: MYA
1218
+ iso_name: Myanmar
1219
+ official: Republic of the Union of Myanmar
1220
+ aliases:
1221
+ - Burma
1222
+ fifa: MYA
1223
+ short: Myanmar
1224
+ MN:
1225
+ alpha2: MN
1226
+ alpha3: MNG
1227
+ ioc: MGL
1228
+ iso_name: Mongolia
1229
+ fifa: MGL
1230
+ short: Mongolia
1231
+ official: Mongolia
1232
+ MO:
1233
+ alpha2: MO
1234
+ alpha3: MAC
1235
+ ioc:
1236
+ iso_name: Macao
1237
+ official: Macao Special Administrative Region of the People's Republic of China
1238
+ aliases:
1239
+ - Macao
1240
+ - Macao Special Administrative Region
1241
+ fifa:
1242
+ short: Macao
1243
+ MP:
1244
+ alpha2: MP
1245
+ alpha3: MNP
1246
+ ioc:
1247
+ iso_name: Northern Mariana Islands
1248
+ official: Commonwealth of the Northern Mariana Islands
1249
+ aliases:
1250
+ - CNMI
1251
+ fifa:
1252
+ short: Northern Mariana Islands
1253
+ MQ:
1254
+ alpha2: MQ
1255
+ alpha3: MTQ
1256
+ ioc:
1257
+ iso_name: Martinique
1258
+ fifa:
1259
+ short: Martinique
1260
+ official: Martinique
1261
+ MR:
1262
+ alpha2: MR
1263
+ alpha3: MRT
1264
+ ioc: MTN
1265
+ iso_name: Mauritania
1266
+ official: Islamic Republic of Mauritania
1267
+ fifa: MTN
1268
+ short: Mauritania
1269
+ MS:
1270
+ alpha2: MS
1271
+ alpha3: MSR
1272
+ ioc:
1273
+ iso_name: Montserrat
1274
+ fifa:
1275
+ short: Montserrat
1276
+ official: Montserrat
1277
+ MT:
1278
+ alpha2: MT
1279
+ alpha3: MLT
1280
+ ioc: MLT
1281
+ iso_name: Malta
1282
+ official: Republic of Malta
1283
+ fifa: MLT
1284
+ short: Malta
1285
+ MU:
1286
+ alpha2: MU
1287
+ alpha3: MUS
1288
+ ioc: MRI
1289
+ iso_name: Mauritius
1290
+ official: Republic of Mauritius
1291
+ fifa: MRI
1292
+ short: Mauritius
1293
+ MV:
1294
+ alpha2: MV
1295
+ alpha3: MDV
1296
+ ioc: MDV
1297
+ iso_name: Maldives
1298
+ official: Republic of the Maldives
1299
+ aliases:
1300
+ - Maldive Islands
1301
+ fifa: MDV
1302
+ short: Maldives
1303
+ MW:
1304
+ alpha2: MW
1305
+ alpha3: MWI
1306
+ ioc: MAW
1307
+ iso_name: Malawi
1308
+ official: Republic of Malawi
1309
+ fifa: MWI
1310
+ short: Malawi
1311
+ MX:
1312
+ alpha2: MX
1313
+ alpha3: MEX
1314
+ ioc: MEX
1315
+ iso_name: Mexico
1316
+ official: United Mexican States
1317
+ fifa: MEX
1318
+ short: Mexico
1319
+ MY:
1320
+ alpha2: MY
1321
+ alpha3: MYS
1322
+ ioc: MAS
1323
+ iso_name: Malaysia
1324
+ short: Malaysia
1325
+ fifa: MAS
1326
+ official: Malaysia
1327
+ MZ:
1328
+ alpha2: MZ
1329
+ alpha3: MOZ
1330
+ ioc: MOZ
1331
+ iso_name: Mozambique
1332
+ short: Mozambique
1333
+ fifa: MOZ
1334
+ official: Mozambique
1335
+ NA:
1336
+ alpha2: NA
1337
+ alpha3: NAM
1338
+ ioc: NAM
1339
+ iso_name: Namibia
1340
+ short: Namibia
1341
+ fifa: NAM
1342
+ official: Namibia
1343
+ NC:
1344
+ alpha2: NC
1345
+ alpha3: NCL
1346
+ ioc:
1347
+ iso_name: New Caledonia
1348
+ short: New Caledonia
1349
+ fifa:
1350
+ official: New Caledonia
1351
+ NE:
1352
+ alpha2: NE
1353
+ alpha3: NER
1354
+ ioc: NIG
1355
+ iso_name: Niger
1356
+ official: Republic of Niger
1357
+ fifa: NIG
1358
+ short: Niger
1359
+ NF:
1360
+ alpha2: NF
1361
+ alpha3: NFK
1362
+ ioc:
1363
+ iso_name: Norfolk Island
1364
+ short: Norfolk Island
1365
+ official: Territory of Norfolk Island
1366
+ fifa:
1367
+ NG:
1368
+ alpha2: NG
1369
+ alpha3: NGA
1370
+ ioc: NGR
1371
+ iso_name: Nigeria
1372
+ short: Nigeria
1373
+ official: Federal Republic of Nigeria
1374
+ fifa: NGA
1375
+ NI:
1376
+ alpha2: NI
1377
+ alpha3: NIC
1378
+ ioc: NCA
1379
+ iso_name: Nicaragua
1380
+ short: Nicaragua
1381
+ official: Republic of Nicaragua
1382
+ fifa: NCA
1383
+ NL:
1384
+ alpha2: NL
1385
+ alpha3: NLD
1386
+ ioc: NED
1387
+ iso_name: Netherlands
1388
+ short: Netherlands
1389
+ fifa: NED
1390
+ official: Netherlands
1391
+ "NO":
1392
+ alpha2: "NO"
1393
+ alpha3: NOR
1394
+ ioc: NOR
1395
+ iso_name: Norway
1396
+ official: Kingdom of Norway
1397
+ fifa: NOR
1398
+ short: Norway
1399
+ NP:
1400
+ alpha2: NP
1401
+ alpha3: NPL
1402
+ ioc: NEP
1403
+ iso_name: Nepal
1404
+ short: Nepal
1405
+ official: Federal Democratic Republic of Nepal
1406
+ fifa: NEP
1407
+ NR:
1408
+ alpha2: NR
1409
+ alpha3: NRU
1410
+ ioc: NRU
1411
+ iso_name: Nauru
1412
+ short: Nauru
1413
+ official: Republic of Nauru
1414
+ fifa: NRU
1415
+ NU:
1416
+ alpha2: NU
1417
+ alpha3: NIU
1418
+ ioc:
1419
+ iso_name: Niue
1420
+ short: Niue
1421
+ fifa:
1422
+ official: Niue
1423
+ NZ:
1424
+ alpha2: NZ
1425
+ alpha3: NZL
1426
+ ioc: NZL
1427
+ iso_name: New Zealand
1428
+ short: New Zealand
1429
+ fifa: NZL
1430
+ official: New Zealand
1431
+ OM:
1432
+ alpha2: OM
1433
+ alpha3: OMN
1434
+ ioc: OMA
1435
+ iso_name: Oman
1436
+ short: Oman
1437
+ official: Sultanate of Oman
1438
+ fifa: OMA
1439
+ PA:
1440
+ alpha2: PA
1441
+ alpha3: PAN
1442
+ ioc: PAN
1443
+ iso_name: Panama
1444
+ short: Panama
1445
+ official: Republic of Panama
1446
+ fifa: PAN
1447
+ PE:
1448
+ alpha2: PE
1449
+ alpha3: PER
1450
+ ioc: PER
1451
+ iso_name: Peru
1452
+ short: Peru
1453
+ official: Republic of Peru
1454
+ fifa: PER
1455
+ PF:
1456
+ alpha2: PF
1457
+ alpha3: PYF
1458
+ ioc:
1459
+ iso_name: French Polynesia
1460
+ short: French Polynesia
1461
+ fifa:
1462
+ official: French Polynesia
1463
+ PG:
1464
+ alpha2: PG
1465
+ alpha3: PNG
1466
+ ioc: PNG
1467
+ iso_name: Papua New Guinea
1468
+ short: Papua New Guinea
1469
+ official: Independent State of Papua New Guinea
1470
+ fifa: PNG
1471
+ PH:
1472
+ alpha2: PH
1473
+ alpha3: PHL
1474
+ ioc: PHI
1475
+ iso_name: Philippines
1476
+ official: Republic of the Philippines
1477
+ fifa: PHI
1478
+ short: Philippines
1479
+ PK:
1480
+ alpha2: PK
1481
+ alpha3: PAK
1482
+ ioc: PAK
1483
+ iso_name: Pakistan
1484
+ short: Pakistan
1485
+ official: Islamic Republic of Pakistan
1486
+ fifa: PAK
1487
+ PL:
1488
+ alpha2: PL
1489
+ alpha3: POL
1490
+ ioc: POL
1491
+ iso_name: Poland
1492
+ short: Poland
1493
+ official: Republic of Poland
1494
+ fifa: POL
1495
+ PM:
1496
+ alpha2: PM
1497
+ alpha3: SPM
1498
+ ioc:
1499
+ iso_name: Saint Pierre And Miquelon
1500
+ short: Saint Pierre And Miquelon
1501
+ fifa:
1502
+ official: Saint Pierre And Miquelon
1503
+ PN:
1504
+ alpha2: PN
1505
+ alpha3: PCN
1506
+ ioc:
1507
+ iso_name: Pitcairn
1508
+ short: Pitcairn
1509
+ official: Pitcairn, Henderson, Ducie and Oeno Islands
1510
+ fifa:
1511
+ PR:
1512
+ alpha2: PR
1513
+ alpha3: PRI
1514
+ ioc: PUR
1515
+ iso_name: Puerto Rico
1516
+ short: Puerto Rico
1517
+ official: Commonwealth of Puerto Rico
1518
+ fifa: PUR
1519
+ PS:
1520
+ alpha2: PS
1521
+ alpha3: PSE
1522
+ ioc: PLE
1523
+ iso_name: Palestinian Territory, Occupied
1524
+ fifa: PLE
1525
+ short: Palestine
1526
+ aliases:
1527
+ - Palestinian Territories
1528
+ - Palestinian Territory
1529
+ official: Palestinian Territory, Occupied
1530
+ PT:
1531
+ alpha2: PT
1532
+ alpha3: PRT
1533
+ ioc: POR
1534
+ iso_name: Portugal
1535
+ official: Portuguese Republic
1536
+ fifa: POR
1537
+ short: Portugal
1538
+ PW:
1539
+ alpha2: PW
1540
+ alpha3: PLW
1541
+ ioc: PLW
1542
+ iso_name: Palau
1543
+ short: Palau
1544
+ official: Republic of Palau
1545
+ fifa: PLW
1546
+ aliases:
1547
+ - Belau
1548
+ - Pelew
1549
+ PY:
1550
+ alpha2: PY
1551
+ alpha3: PRY
1552
+ ioc: PAR
1553
+ iso_name: Paraguay
1554
+ short: Paraguay
1555
+ official: Republic of Paraguay
1556
+ fifa: PAR
1557
+ QA:
1558
+ alpha2: QA
1559
+ alpha3: QAT
1560
+ ioc: QAT
1561
+ iso_name: Qatar
1562
+ short: Qatar
1563
+ official: State of Qatar
1564
+ fifa: QAT
1565
+ RE:
1566
+ alpha2: RE
1567
+ alpha3: REU
1568
+ ioc:
1569
+ iso_name: "R\xC3\xA9union"
1570
+ short: "R\xC3\xA9union"
1571
+ official: "R\xC3\xA9union Island"
1572
+ fifa:
1573
+ RO:
1574
+ alpha2: RO
1575
+ alpha3: ROU
1576
+ ioc: ROU
1577
+ iso_name: Romania
1578
+ short: Romania
1579
+ fifa: ROU
1580
+ official: Romania
1581
+ RS:
1582
+ alpha2: RS
1583
+ alpha3: SRB
1584
+ ioc: SRB
1585
+ iso_name: Serbia
1586
+ short: Serbia
1587
+ official: Republic of Serbia
1588
+ fifa: SRB
1589
+ RU:
1590
+ alpha2: RU
1591
+ alpha3: RUS
1592
+ ioc: RUS
1593
+ iso_name: Russian Federation
1594
+ short: Russia
1595
+ fifa: RUS
1596
+ official: Russian Federation
1597
+ RW:
1598
+ alpha2: RW
1599
+ alpha3: RWA
1600
+ ioc: RWA
1601
+ iso_name: Rwanda
1602
+ short: Rwanda
1603
+ official: Republic of Rwanda
1604
+ fifa: RWA
1605
+ SA:
1606
+ alpha2: SA
1607
+ alpha3: SAU
1608
+ ioc: KSA
1609
+ iso_name: Saudi Arabia
1610
+ official: Kingdom of Saudi Arabia
1611
+ fifa: KSA
1612
+ short: Saudi Arabia
1613
+ SB:
1614
+ alpha2: SB
1615
+ alpha3: SLB
1616
+ ioc: SOL
1617
+ iso_name: Solomon Islands
1618
+ short: Solomon Islands
1619
+ fifa: SOL
1620
+ official: Solomon Islands
1621
+ SC:
1622
+ alpha2: SC
1623
+ alpha3: SYC
1624
+ ioc: SEY
1625
+ iso_name: Seychelles
1626
+ short: Seychelles
1627
+ official: Republic of Seychelles
1628
+ fifa: SEY
1629
+ SD:
1630
+ alpha2: SD
1631
+ alpha3: SDN
1632
+ ioc: SUD
1633
+ iso_name: Sudan
1634
+ short: Sudan
1635
+ official: Republic of the Sudan
1636
+ fifa: SDN
1637
+ SE:
1638
+ alpha2: SE
1639
+ alpha3: SWE
1640
+ ioc: SWE
1641
+ iso_name: Sweden
1642
+ official: Kingdom of Sweden
1643
+ fifa: SWE
1644
+ short: Sweden
1645
+ SG:
1646
+ alpha2: SG
1647
+ alpha3: SGP
1648
+ ioc: SIN
1649
+ iso_name: Singapore
1650
+ short: Singapore
1651
+ official: Republic of Singapore
1652
+ fifa: SIN
1653
+ SH:
1654
+ alpha2: SH
1655
+ alpha3: SHN
1656
+ ioc:
1657
+ iso_name: Saint Helena
1658
+ short: Saint Helena
1659
+ fifa:
1660
+ official: Saint Helena
1661
+ SI:
1662
+ alpha2: SI
1663
+ alpha3: SVN
1664
+ ioc: SLO
1665
+ iso_name: Slovenia
1666
+ short: Slovenia
1667
+ official: Republic of Slovenia
1668
+ fifa: SVN
1669
+ SJ:
1670
+ alpha2: SJ
1671
+ alpha3: SJM
1672
+ ioc:
1673
+ iso_name: Svalbard And Jan Mayen
1674
+ short: Svalbard And Jan Mayen
1675
+ fifa:
1676
+ official: Svalbard And Jan Mayen
1677
+ SK:
1678
+ alpha2: SK
1679
+ alpha3: SVK
1680
+ ioc: SVK
1681
+ iso_name: Slovakia
1682
+ short: Slovakia
1683
+ official: Slovak Republic
1684
+ fifa: SVK
1685
+ SL:
1686
+ alpha2: SL
1687
+ alpha3: SLE
1688
+ ioc: SLE
1689
+ iso_name: Sierra Leone
1690
+ short: Sierra Leone
1691
+ official: Republic of Sierra Leone
1692
+ fifa: SLE
1693
+ SM:
1694
+ alpha2: SM
1695
+ alpha3: SMR
1696
+ ioc: SMR
1697
+ iso_name: San Marino
1698
+ short: San Marino
1699
+ official: Republic of San Marino
1700
+ fifa: SMR
1701
+ aliases:
1702
+ - Most Serene Republic of San Marino
1703
+ SN:
1704
+ alpha2: SN
1705
+ alpha3: SEN
1706
+ ioc: SEN
1707
+ iso_name: Senegal
1708
+ short: Senegal
1709
+ official: Republic of Senegal
1710
+ fifa: SEN
1711
+ SO:
1712
+ alpha2: SO
1713
+ alpha3: SOM
1714
+ ioc: SOM
1715
+ iso_name: Somalia
1716
+ short: Somalia
1717
+ official: Federal Republic of Somalia
1718
+ fifa: SOM
1719
+ SR:
1720
+ alpha2: SR
1721
+ alpha3: SUR
1722
+ ioc: SUR
1723
+ iso_name: Suriname
1724
+ short: Suriname
1725
+ official: Republic of Suriname
1726
+ fifa: SUR
1727
+ aliases:
1728
+ - Surinam
1729
+ SS:
1730
+ alpha2: SS
1731
+ alpha3: SSD
1732
+ ioc:
1733
+ iso_name: South Sudan
1734
+ short: South Sudan
1735
+ official: Republic of South Sudan
1736
+ fifa:
1737
+ aliases:
1738
+ - S. Sudan
1739
+ ST:
1740
+ alpha2: ST
1741
+ alpha3: STP
1742
+ ioc: STP
1743
+ iso_name: Sao Tome and Principe
1744
+ short: Sao Tome and Principe
1745
+ official: "Democratic Republic of S\xC3\xA3o Tom\xC3\xA9 and Pr\xC3\xADncipe"
1746
+ fifa: STP
1747
+ aliases:
1748
+ - Democratic Republic of Sao Tome and Principe"
1749
+ - "S\xC3\xA3o Tom\xC3\xA9 and Pr\xC3\xADncipe"
1750
+ SV:
1751
+ alpha2: SV
1752
+ alpha3: SLV
1753
+ ioc: ESA
1754
+ iso_name: El Salvador
1755
+ official: Republic of El Salvador
1756
+ fifa: SLV
1757
+ short: El Salvador
1758
+ SY:
1759
+ alpha2: SY
1760
+ alpha3: SYR
1761
+ ioc: SYR
1762
+ iso_name: Syrian Arab Republic
1763
+ short: Syria
1764
+ fifa: SYR
1765
+ official: Syrian Arab Republic
1766
+ SZ:
1767
+ alpha2: SZ
1768
+ alpha3: SWZ
1769
+ ioc: SWZ
1770
+ iso_name: Swaziland
1771
+ official: Kingdom of Swaziland
1772
+ short: Swaziland
1773
+ fifa: SWZ
1774
+ aliases:
1775
+ - Ngwane
1776
+ - Swatini
1777
+ TC:
1778
+ alpha2: TC
1779
+ alpha3: TCA
1780
+ ioc:
1781
+ iso_name: Turks and Caicos Islands
1782
+ short: Turks and Caicos Islands
1783
+ fifa:
1784
+ aliases:
1785
+ - TCI
1786
+ official: Turks and Caicos Islands
1787
+ TD:
1788
+ alpha2: TD
1789
+ alpha3: TCD
1790
+ ioc: CHA
1791
+ iso_name: Chad
1792
+ short: Chad
1793
+ official: Republic of Chad
1794
+ fifa: CHA
1795
+ TF:
1796
+ alpha2: TF
1797
+ alpha3: ATF
1798
+ ioc:
1799
+ iso_name: French Southern Territories
1800
+ short: French Southern Territories
1801
+ official: Territory of the French Southern and Antarctic Land
1802
+ fifa:
1803
+ aliases:
1804
+ - French Southern and Antarctic Lands
1805
+ TG:
1806
+ alpha2: TG
1807
+ alpha3: TGO
1808
+ ioc: TOG
1809
+ iso_name: Togo
1810
+ short: Togo
1811
+ official: Togolese Republic
1812
+ fifa: TOG
1813
+ TH:
1814
+ alpha2: TH
1815
+ alpha3: THA
1816
+ ioc: THA
1817
+ iso_name: Thailand
1818
+ short: Thailand
1819
+ official: Kingdom of Thailand
1820
+ fifa: THA
1821
+ TJ:
1822
+ alpha2: TJ
1823
+ alpha3: TJK
1824
+ ioc: TJK
1825
+ iso_name: Tajikistan
1826
+ short: Tajikistan
1827
+ official: Republic of Tajikistan
1828
+ fifa: TJK
1829
+ TK:
1830
+ alpha2: TK
1831
+ alpha3: TKL
1832
+ ioc:
1833
+ iso_name: Tokelau
1834
+ short: Tokelau
1835
+ fifa:
1836
+ official: Tokelau
1837
+ TL:
1838
+ alpha2: TL
1839
+ alpha3: TLS
1840
+ ioc: TLS
1841
+ iso_name: Timor-Leste
1842
+ short: East Timor
1843
+ official: Democratic Republic of Timor-Leste
1844
+ fifa: TLS
1845
+ TM:
1846
+ alpha2: TM
1847
+ alpha3: TKM
1848
+ ioc: TKM
1849
+ iso_name: Turkmenistan
1850
+ short: Turkmenistan
1851
+ fifa: TKM
1852
+ official: Turkmenistan
1853
+ TN:
1854
+ alpha2: TN
1855
+ alpha3: TUN
1856
+ ioc: TUN
1857
+ iso_name: Tunisia
1858
+ short: Tunisia
1859
+ official: Republic of Tunisia
1860
+ fifa: TUN
1861
+ TO:
1862
+ alpha2: TO
1863
+ alpha3: TON
1864
+ ioc: TGA
1865
+ iso_name: Tonga
1866
+ short: Tonga
1867
+ official: Kingdom of Tonga
1868
+ fifa: TGA
1869
+ TR:
1870
+ alpha2: TR
1871
+ alpha3: TUR
1872
+ ioc: TUR
1873
+ iso_name: Turkey
1874
+ short: Turkey
1875
+ official: Republic of Turkey
1876
+ fifa: TUR
1877
+ TT:
1878
+ alpha2: TT
1879
+ alpha3: TTO
1880
+ ioc: TRI
1881
+ iso_name: Trinidad and Tobago
1882
+ short: Trinidad and Tobago
1883
+ official: Republic of Trinidad and Tobago
1884
+ fifa: TRI
1885
+ TV:
1886
+ alpha2: TV
1887
+ alpha3: TUV
1888
+ ioc: TUV
1889
+ iso_name: Tuvalu
1890
+ short: Tuvalu
1891
+ fifa: TUV
1892
+ official: Tuvalu
1893
+ TW:
1894
+ alpha2: TW
1895
+ alpha3: TWN
1896
+ ioc: TPE
1897
+ iso_name: Taiwan, Republic Of China
1898
+ official: Republic of China
1899
+ short: Taiwan
1900
+ fifa: TPE
1901
+ aliases:
1902
+ - ROC
1903
+ TZ:
1904
+ alpha2: TZ
1905
+ alpha3: TZA
1906
+ ioc: TAN
1907
+ iso_name: Tanzania, United Republic of
1908
+ short: Tanzania
1909
+ official: United Republic of Tanzania
1910
+ fifa: TAN
1911
+ UA:
1912
+ alpha2: UA
1913
+ alpha3: UKR
1914
+ ioc: UKR
1915
+ iso_name: Ukraine
1916
+ short: Ukraine
1917
+ fifa: UKR
1918
+ official: Ukraine
1919
+ UG:
1920
+ alpha2: UG
1921
+ alpha3: UGA
1922
+ ioc: UGA
1923
+ iso_name: Uganda
1924
+ short: Uganda
1925
+ official: Republic of Uganda
1926
+ fifa: UGA
1927
+ UM:
1928
+ alpha2: UM
1929
+ alpha3: UMI
1930
+ ioc:
1931
+ iso_name: United States Minor Outlying Islands
1932
+ short: United States Minor Outlying Islands
1933
+ fifa:
1934
+ official: United States Minor Outlying Islands
1935
+ US:
1936
+ alpha2: US
1937
+ alpha3: USA
1938
+ ioc: USA
1939
+ iso_name: United States
1940
+ official: United States of America
1941
+ aliases:
1942
+ - America
1943
+ - U.S.
1944
+ - U.S.A.
1945
+ fifa: USA
1946
+ short: United States
1947
+ UY:
1948
+ alpha2: UY
1949
+ alpha3: URY
1950
+ ioc: URU
1951
+ iso_name: Uruguay
1952
+ official: Oriental Republic of Uruguay
1953
+ short: Uruguay
1954
+ fifa: URU
1955
+ aliases:
1956
+ - Eastern Republic of Uruguay
1957
+ UZ:
1958
+ alpha2: UZ
1959
+ alpha3: UZB
1960
+ ioc: UZB
1961
+ iso_name: Uzbekistan
1962
+ short: Uzbekistan
1963
+ official: Republic of Uzbekistan
1964
+ fifa: UZB
1965
+ VA:
1966
+ alpha2: VA
1967
+ alpha3: VAT
1968
+ ioc:
1969
+ iso_name: Holy See (Vatican City State)
1970
+ short: Vatican City
1971
+ official: Vatican City State
1972
+ fifa:
1973
+ VC:
1974
+ alpha2: VC
1975
+ alpha3: VCT
1976
+ ioc: VIN
1977
+ iso_name: Saint Vincent And The Grenadines
1978
+ short: Saint Vincent And The Grenadines
1979
+ fifa: VIN
1980
+ official: Saint Vincent And The Grenadines
1981
+ VE:
1982
+ alpha2: VE
1983
+ alpha3: VEN
1984
+ ioc: VEN
1985
+ iso_name: Venezuela, Bolivarian Republic of
1986
+ official: Bolivarian Republic of Venezuela
1987
+ short: Venezuela
1988
+ fifa: VEN
1989
+ VG:
1990
+ alpha2: VG
1991
+ alpha3: VGB
1992
+ ioc: IVB
1993
+ iso_name: Virgin Islands, British
1994
+ official: Virgin Islands
1995
+ short: British Virgin Islands
1996
+ fifa: VGB
1997
+ aliases:
1998
+ - BVI
1999
+ VI:
2000
+ alpha2: VI
2001
+ alpha3: VIR
2002
+ ioc: ISV
2003
+ iso_name: Virgin Islands, U.S.
2004
+ official: Virgin Islands of the United States
2005
+ short: U.S. Virgin Islands
2006
+ fifa: VIR
2007
+ aliases:
2008
+ - USVI
2009
+ - US Virgin Islands
2010
+ - United States Virgin Islands
2011
+ VN:
2012
+ alpha2: VN
2013
+ alpha3: VNM
2014
+ ioc: VIE
2015
+ iso_name: Vietnam
2016
+ official: Socialist Republic of Vietnam
2017
+ fifa: VIE
2018
+ aliases:
2019
+ - Viet Nam
2020
+ short: Vietnam
2021
+ VU:
2022
+ alpha2: VU
2023
+ alpha3: VUT
2024
+ ioc: VAN
2025
+ iso_name: Vanuatu
2026
+ short: Vanuatu
2027
+ official: Republic of Vanuatu
2028
+ fifa: VAN
2029
+ WF:
2030
+ alpha2: WF
2031
+ alpha3: WLF
2032
+ ioc:
2033
+ iso_name: Wallis and Futuna
2034
+ short: Wallis and Futuna
2035
+ official: Territory of the Wallis and Futuna Islands
2036
+ fifa:
2037
+ WS:
2038
+ alpha2: WS
2039
+ alpha3: WSM
2040
+ ioc: SAM
2041
+ iso_name: Samoa
2042
+ official: Independent State of Samoa
2043
+ fifa: SAM
2044
+ short: Samoa
2045
+ YE:
2046
+ alpha2: YE
2047
+ alpha3: YEM
2048
+ ioc: YEM
2049
+ iso_name: Yemen
2050
+ short: Yemen
2051
+ official: Republic of Yemen
2052
+ fifa: YEM
2053
+ YT:
2054
+ alpha2: YT
2055
+ alpha3: MYT
2056
+ ioc:
2057
+ iso_name: Mayotte
2058
+ short: Mayotte
2059
+ official: Department of Mayotte
2060
+ fifa:
2061
+ ZA:
2062
+ alpha2: ZA
2063
+ alpha3: ZAF
2064
+ ioc: RSA
2065
+ iso_name: South Africa
2066
+ official: Republic of South Africa
2067
+ fifa: RSA
2068
+ short: South Africa
2069
+ ZM:
2070
+ alpha2: ZM
2071
+ alpha3: ZMB
2072
+ ioc: ZAM
2073
+ iso_name: Zambia
2074
+ short: Zambia
2075
+ official: Republic of Zambia
2076
+ fifa: ZAM
2077
+ ZW:
2078
+ alpha2: ZW
2079
+ alpha3: ZWE
2080
+ ioc: ZIM
2081
+ iso_name: Zimbabwe
2082
+ short: Zimbabwe
2083
+ official: Republic of Zimbabwe
2084
+ fifa: ZIM