factbook-readers 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +3 -0
  3. data/Manifest.txt +56 -0
  4. data/README.md +196 -0
  5. data/Rakefile +34 -0
  6. data/data/attributes.yml +337 -0
  7. data/data/categories.csv +164 -0
  8. data/data/codes.csv +262 -0
  9. data/data/codesxref.csv +280 -0
  10. data/data/comparisons.csv +75 -0
  11. data/lib/factbook-readers.rb +59 -0
  12. data/lib/factbook-readers/attributes.rb +74 -0
  13. data/lib/factbook-readers/builder.rb +212 -0
  14. data/lib/factbook-readers/builder_item.rb +185 -0
  15. data/lib/factbook-readers/builder_json.rb +79 -0
  16. data/lib/factbook-readers/codes.rb +122 -0
  17. data/lib/factbook-readers/comparisons.rb +50 -0
  18. data/lib/factbook-readers/counter.rb +48 -0
  19. data/lib/factbook-readers/normalize.rb +43 -0
  20. data/lib/factbook-readers/page.rb +148 -0
  21. data/lib/factbook-readers/page_info.rb +12 -0
  22. data/lib/factbook-readers/reader_json.rb +51 -0
  23. data/lib/factbook-readers/sanitizer.rb +307 -0
  24. data/lib/factbook-readers/sect.rb +29 -0
  25. data/lib/factbook-readers/subsect.rb +18 -0
  26. data/lib/factbook-readers/table.rb +52 -0
  27. data/lib/factbook-readers/utils.rb +47 -0
  28. data/lib/factbook-readers/utils_info.rb +129 -0
  29. data/lib/factbook-readers/version.rb +24 -0
  30. data/lib/factbook/readers.rb +5 -0
  31. data/test/data/au.html +579 -0
  32. data/test/data/au.yml +8 -0
  33. data/test/data/be.html +596 -0
  34. data/test/data/be.yml +8 -0
  35. data/test/data/json/au.json +892 -0
  36. data/test/data/src/ag.html +716 -0
  37. data/test/data/src/au-2015-09-24.html +2006 -0
  38. data/test/data/src/au.html +658 -0
  39. data/test/data/src/be-2015-09-24.html +2011 -0
  40. data/test/data/src/be.html +648 -0
  41. data/test/helper.rb +11 -0
  42. data/test/test_attribs.rb +87 -0
  43. data/test/test_attribs_def.rb +20 -0
  44. data/test/test_builder.rb +35 -0
  45. data/test/test_codes.rb +76 -0
  46. data/test/test_comparisons.rb +19 -0
  47. data/test/test_convert.rb +30 -0
  48. data/test/test_counter.rb +31 -0
  49. data/test/test_fields.rb +52 -0
  50. data/test/test_importer.rb +56 -0
  51. data/test/test_item_builder.rb +99 -0
  52. data/test/test_json.rb +45 -0
  53. data/test/test_json_builder.rb +25 -0
  54. data/test/test_normalize.rb +23 -0
  55. data/test/test_page.rb +38 -0
  56. data/test/test_sanitizer.rb +39 -0
  57. data/test/test_sanitizer_regex.rb +89 -0
  58. metadata +196 -0
@@ -0,0 +1,164 @@
1
+ Num,Category,Name,Notes
2
+ ,Introduction,Background,
3
+ ,Geography,Location,
4
+ ,Geography,Geographic coordinates,
5
+ ,Geography,Map references,
6
+ ,Geography,Area,
7
+ ,Geography,Area - comparative,
8
+ ,Geography,Land boundaries,
9
+ ,Geography,Coastline,
10
+ ,Geography,Maritime claims,
11
+ ,Geography,Climate,
12
+ ,Geography,Terrain,
13
+ ,Geography,Elevation extremes,
14
+ ,Geography,Natural resources,
15
+ ,Geography,Land use,
16
+ ,Geography,Irrigated land,
17
+ ,Geography,Total renewable water resources,
18
+ ,Geography,Freshwater withdrawal (domestic/industrial/agricultural),
19
+ ,Geography,Natural hazards,
20
+ ,Geography,Environment - current issues,
21
+ ,Geography,Environment - international agreements,
22
+ ,Geography,Geography - note,
23
+ ,People and Society,Nationality,
24
+ ,People and Society,Ethnic groups,
25
+ ,People and Society,Languages,
26
+ ,People and Society,Religions,
27
+ ,People and Society,Population,
28
+ ,People and Society,Age structure,
29
+ ,People and Society,Dependency ratios,
30
+ ,People and Society,Median age,
31
+ ,People and Society,Population growth rate,
32
+ ,People and Society,Birth rate,
33
+ ,People and Society,Death rate,
34
+ ,People and Society,Net migration rate,
35
+ ,People and Society,Urbanization,
36
+ ,People and Society,Major urban areas - population,
37
+ ,People and Society,Sex ratio,
38
+ ,People and Society,Infant mortality rate,
39
+ ,People and Society,Life expectancy at birth,
40
+ ,People and Society,Total fertility rate,
41
+ ,People and Society,Contraceptive prevalence rate,
42
+ ,People and Society,Health expenditures,
43
+ ,People and Society,Physicians density,
44
+ ,People and Society,Hospital bed density,
45
+ ,People and Society,Drinking water source,
46
+ ,People and Society,Sanitation facility access,
47
+ ,People and Society,HIV/AIDS - adult prevalence rate,
48
+ ,People and Society,HIV/AIDS - people living with HIV/AIDS,
49
+ ,People and Society,HIV/AIDS - deaths,
50
+ ,People and Society,Obesity - adult prevalence rate,
51
+ ,People and Society,Education expenditures,
52
+ ,People and Society,School life expectancy (primary to tertiary education),
53
+ ,People and Society,"Unemployment, youth ages 15-24",
54
+ ,Government,Country name,
55
+ ,Government,Government type,
56
+ ,Government,Capital,
57
+ ,Government,Administrative divisions,
58
+ ,Government,Independence,
59
+ ,Government,National holiday,
60
+ ,Government,Constitution,
61
+ ,Government,Legal system,
62
+ ,Government,International law organization participation,
63
+ ,Government,Suffrage,
64
+ ,Government,Executive branch,
65
+ ,Government,Legislative branch,
66
+ ,Government,Judicial branch,
67
+ ,Government,Political parties and leaders,
68
+ ,Government,Political pressure groups and leaders,
69
+ ,Government,International organization participation,
70
+ ,Government,Diplomatic representation in the US,
71
+ ,Government,Diplomatic representation from the US,
72
+ ,Government,Flag description,
73
+ ,Government,National symbol(s),
74
+ ,Government,National anthem,
75
+ ,Economy,Economy - overview,
76
+ ,Economy,GDP (purchasing power parity),
77
+ ,Economy,GDP (official exchange rate),
78
+ ,Economy,GDP - real growth rate,
79
+ ,Economy,GDP - per capita (PPP),
80
+ ,Economy,Gross national saving,
81
+ ,Economy,"GDP - composition, by end use",
82
+ ,Economy,"GDP - composition, by sector of origin",
83
+ ,Economy,Agriculture - products,
84
+ ,Economy,Industries,
85
+ ,Economy,Industrial production growth rate,
86
+ ,Economy,Labor force,
87
+ ,Economy,Labor force - by occupation,
88
+ ,Economy,Unemployment rate,
89
+ ,Economy,Population below poverty line,
90
+ ,Economy,Household income or consumption by percentage share,
91
+ ,Economy,Distribution of family income - Gini index,
92
+ ,Economy,Budget,
93
+ ,Economy,Taxes and other revenues,
94
+ ,Economy,Budget surplus (+) or deficit (-),
95
+ ,Economy,Public debt,
96
+ ,Economy,Fiscal year,
97
+ ,Economy,Inflation rate (consumer prices),
98
+ ,Economy,Commercial bank prime lending rate,
99
+ ,Economy,Stock of narrow money,
100
+ ,Economy,Stock of broad money,
101
+ ,Economy,Stock of domestic credit,
102
+ ,Economy,Market value of publicly traded shares,
103
+ ,Economy,Current account balance,
104
+ ,Economy,Exports,
105
+ ,Economy,Exports - commodities,
106
+ ,Economy,Exports - partners,
107
+ ,Economy,Imports,
108
+ ,Economy,Imports - commodities,
109
+ ,Economy,Imports - partners,
110
+ ,Economy,Reserves of foreign exchange and gold,
111
+ ,Economy,Debt - external,
112
+ ,Economy,Stock of direct foreign investment - at home,
113
+ ,Economy,Stock of direct foreign investment - abroad,
114
+ ,Economy,Exchange rates,
115
+ ,Energy,Electricity - production,
116
+ ,Energy,Electricity - consumption,
117
+ ,Energy,Electricity - exports,
118
+ ,Energy,Electricity - imports,
119
+ ,Energy,Electricity - installed generating capacity,
120
+ ,Energy,Electricity - from fossil fuels,
121
+ ,Energy,Electricity - from nuclear fuels,
122
+ ,Energy,Electricity - from hydroelectric plants,
123
+ ,Energy,Electricity - from other renewable sources,
124
+ ,Energy,Crude oil - production,
125
+ ,Energy,Crude oil - exports,
126
+ ,Energy,Crude oil - imports,
127
+ ,Energy,Crude oil - proved reserves,
128
+ ,Energy,Refined petroleum products - production,
129
+ ,Energy,Refined petroleum products - consumption,
130
+ ,Energy,Refined petroleum products - exports,
131
+ ,Energy,Refined petroleum products - imports,
132
+ ,Energy,Natural gas - production,
133
+ ,Energy,Natural gas - consumption,
134
+ ,Energy,Natural gas - exports,
135
+ ,Energy,Natural gas - imports,
136
+ ,Energy,Natural gas - proved reserves,
137
+ ,Energy,Carbon dioxide emissions from consumption of energy,
138
+ ,Communications,Telephones - fixed lines,
139
+ ,Communications,Telephones - mobile cellular,
140
+ ,Communications,Telephone system,
141
+ ,Communications,Broadcast media,
142
+ ,Communications,Radio broadcast stations,
143
+ ,Communications,Television broadcast stations,
144
+ ,Communications,Internet country code,
145
+ ,Communications,Internet users,
146
+ ,Transportation,Airports,
147
+ ,Transportation,Airports - with paved runways,
148
+ ,Transportation,Airports - with unpaved runways,
149
+ ,Transportation,Heliports,
150
+ ,Transportation,Pipelines,
151
+ ,Transportation,Railways,
152
+ ,Transportation,Roadways,
153
+ ,Transportation,Waterways,
154
+ ,Transportation,Merchant marine,
155
+ ,Transportation,Ports and terminals,
156
+ ,Military,Military branches,
157
+ ,Military,Military service age and obligation,
158
+ ,Military,Manpower available for military service,
159
+ ,Military,Manpower fit for military service,
160
+ ,Military,Manpower reaching militarily significant age annually,
161
+ ,Military,Military expenditures,
162
+ ,Transnational Issues,Disputes - international,
163
+ ,Transnational Issues,Refugees and internally displaced persons,
164
+ ,Transnational Issues,Illicit drugs,
@@ -0,0 +1,262 @@
1
+ Code,Name,Category,Region
2
+ af,Afghanistan,Countries,South Asia
3
+ al,Albania,Countries,Europe
4
+ ag,Algeria,Countries,Africa
5
+ an,Andorra,Countries,Europe
6
+ ao,Angola,Countries,Africa
7
+ ac,Antigua and Barbuda,Countries,Central America and Caribbean
8
+ ar,Argentina,Countries,South America
9
+ am,Armenia,Countries,Middle East
10
+ as,Australia,Countries,Australia-Oceania
11
+ au,Austria,Countries,Europe
12
+ aj,Azerbaijan,Countries,Middle East
13
+ bf,"Bahamas, The",Countries,Central America and Caribbean
14
+ ba,Bahrain,Countries,Middle East
15
+ bg,Bangladesh,Countries,South Asia
16
+ bb,Barbados,Countries,Central America and Caribbean
17
+ bo,Belarus,Countries,Europe
18
+ be,Belgium,Countries,Europe
19
+ bh,Belize,Countries,Central America and Caribbean
20
+ bn,Benin,Countries,Africa
21
+ bt,Bhutan,Countries,South Asia
22
+ bl,Bolivia,Countries,South America
23
+ bk,Bosnia and Herzegovina,Countries,Europe
24
+ bc,Botswana,Countries,Africa
25
+ br,Brazil,Countries,South America
26
+ bx,Brunei,Countries,East & Southeast Asia
27
+ bu,Bulgaria,Countries,Europe
28
+ uv,Burkina Faso,Countries,Africa
29
+ bm,Burma,Countries,East & Southeast Asia
30
+ by,Burundi,Countries,Africa
31
+ cb,Cambodia,Countries,East & Southeast Asia
32
+ cm,Cameroon,Countries,Africa
33
+ ca,Canada,Countries,North America
34
+ cv,Cabo Verde,Countries,Africa
35
+ ct,Central African Republic,Countries,Africa
36
+ cd,Chad,Countries,Africa
37
+ ci,Chile,Countries,South America
38
+ ch,China,Countries,East & Southeast Asia
39
+ co,Colombia,Countries,South America
40
+ cn,Comoros,Countries,Africa
41
+ cg,"Congo, Democratic Republic of the",Countries,Africa
42
+ cf,"Congo, Republic of the",Countries,Africa
43
+ cs,Costa Rica,Countries,Central America and Caribbean
44
+ iv,Cote d'Ivoire,Countries,Africa
45
+ hr,Croatia,Countries,Europe
46
+ cu,Cuba,Countries,Central America and Caribbean
47
+ cy,Cyprus,Countries,Europe
48
+ ez,Czech Republic,Countries,Europe
49
+ da,Denmark,Countries,Europe
50
+ dj,Djibouti,Countries,Africa
51
+ do,Dominica,Countries,Central America and Caribbean
52
+ dr,Dominican Republic,Countries,Central America and Caribbean
53
+ ec,Ecuador,Countries,South America
54
+ eg,Egypt,Countries,Africa
55
+ es,El Salvador,Countries,Central America and Caribbean
56
+ ek,Equatorial Guinea,Countries,Africa
57
+ er,Eritrea,Countries,Africa
58
+ en,Estonia,Countries,Europe
59
+ et,Ethiopia,Countries,Africa
60
+ fj,Fiji,Countries,Australia-Oceania
61
+ fi,Finland,Countries,Europe
62
+ fr,France,Countries,Europe
63
+ gb,Gabon,Countries,Africa
64
+ ga,"Gambia, The",Countries,Africa
65
+ gg,Georgia,Countries,Middle East
66
+ gm,Germany,Countries,Europe
67
+ gh,Ghana,Countries,Africa
68
+ gr,Greece,Countries,Europe
69
+ gj,Grenada,Countries,Central America and Caribbean
70
+ gt,Guatemala,Countries,Central America and Caribbean
71
+ gv,Guinea,Countries,Africa
72
+ pu,Guinea-Bissau,Countries,Africa
73
+ gy,Guyana,Countries,South America
74
+ ha,Haiti,Countries,Central America and Caribbean
75
+ ho,Honduras,Countries,Central America and Caribbean
76
+ hu,Hungary,Countries,Europe
77
+ ic,Iceland,Countries,Europe
78
+ in,India,Countries,South Asia
79
+ id,Indonesia,Countries,East & Southeast Asia
80
+ ir,Iran,Countries,Middle East
81
+ iz,Iraq,Countries,Middle East
82
+ ei,Ireland,Countries,Europe
83
+ is,Israel,Countries,Middle East
84
+ it,Italy,Countries,Europe
85
+ jm,Jamaica,Countries,Central America and Caribbean
86
+ ja,Japan,Countries,East & Southeast Asia
87
+ jo,Jordan,Countries,Middle East
88
+ kz,Kazakhstan,Countries,Central Asia
89
+ ke,Kenya,Countries,Africa
90
+ kr,Kiribati,Countries,Australia-Oceania
91
+ kn,"Korea, North",Countries,East & Southeast Asia
92
+ ks,"Korea, South",Countries,East & Southeast Asia
93
+ kv,Kosovo,Countries,Europe
94
+ ku,Kuwait,Countries,Middle East
95
+ kg,Kyrgyzstan,Countries,Central Asia
96
+ la,Laos,Countries,East & Southeast Asia
97
+ lg,Latvia,Countries,Europe
98
+ le,Lebanon,Countries,Middle East
99
+ lt,Lesotho,Countries,Africa
100
+ li,Liberia,Countries,Africa
101
+ ly,Libya,Countries,Africa
102
+ ls,Liechtenstein,Countries,Europe
103
+ lh,Lithuania,Countries,Europe
104
+ lu,Luxembourg,Countries,Europe
105
+ mk,Macedonia,Countries,Europe
106
+ ma,Madagascar,Countries,Africa
107
+ mi,Malawi,Countries,Africa
108
+ my,Malaysia,Countries,East & Southeast Asia
109
+ mv,Maldives,Countries,South Asia
110
+ ml,Mali,Countries,Africa
111
+ mt,Malta,Countries,Europe
112
+ rm,Marshall Islands,Countries,Australia-Oceania
113
+ mr,Mauritania,Countries,Africa
114
+ mp,Mauritius,Countries,Africa
115
+ mx,Mexico,Countries,North America
116
+ fm,"Micronesia, Federated States of",Countries,Australia-Oceania
117
+ md,Moldova,Countries,Europe
118
+ mn,Monaco,Countries,Europe
119
+ mg,Mongolia,Countries,East & Southeast Asia
120
+ mj,Montenegro,Countries,Europe
121
+ mo,Morocco,Countries,Africa
122
+ mz,Mozambique,Countries,Africa
123
+ wa,Namibia,Countries,Africa
124
+ nr,Nauru,Countries,Australia-Oceania
125
+ np,Nepal,Countries,South Asia
126
+ nl,Netherlands,Countries,Europe
127
+ nz,New Zealand,Countries,Australia-Oceania
128
+ nu,Nicaragua,Countries,Central America and Caribbean
129
+ ng,Niger,Countries,Africa
130
+ ni,Nigeria,Countries,Africa
131
+ no,Norway,Countries,Europe
132
+ mu,Oman,Countries,Middle East
133
+ pk,Pakistan,Countries,South Asia
134
+ ps,Palau,Countries,Australia-Oceania
135
+ pm,Panama,Countries,Central America and Caribbean
136
+ pp,Papua New Guinea,Countries,East & Southeast Asia
137
+ pa,Paraguay,Countries,South America
138
+ pe,Peru,Countries,South America
139
+ rp,Philippines,Countries,East & Southeast Asia
140
+ pl,Poland,Countries,Europe
141
+ po,Portugal,Countries,Europe
142
+ qa,Qatar,Countries,Middle East
143
+ ro,Romania,Countries,Europe
144
+ rs,Russia,Countries,Central Asia
145
+ rw,Rwanda,Countries,Africa
146
+ sc,Saint Kitts and Nevis,Countries,Central America and Caribbean
147
+ st,Saint Lucia,Countries,Central America and Caribbean
148
+ vc,Saint Vincent and the Grenadines,Countries,Central America and Caribbean
149
+ ws,Samoa,Countries,Australia-Oceania
150
+ sm,San Marino,Countries,Europe
151
+ tp,Sao Tome and Principe,Countries,Africa
152
+ sa,Saudi Arabia,Countries,Middle East
153
+ sg,Senegal,Countries,Africa
154
+ ri,Serbia,Countries,Europe
155
+ se,Seychelles,Countries,Africa
156
+ sl,Sierra Leone,Countries,Africa
157
+ sn,Singapore,Countries,East & Southeast Asia
158
+ lo,Slovakia,Countries,Europe
159
+ si,Slovenia,Countries,Europe
160
+ bp,Solomon Islands,Countries,Australia-Oceania
161
+ so,Somalia,Countries,Africa
162
+ sf,South Africa,Countries,Africa
163
+ od,South Sudan,Countries,Africa
164
+ sp,Spain,Countries,Europe
165
+ ce,Sri Lanka,Countries,South Asia
166
+ su,Sudan,Countries,Africa
167
+ ns,Suriname,Countries,South America
168
+ wz,Swaziland,Countries,Africa
169
+ sw,Sweden,Countries,Europe
170
+ sz,Switzerland,Countries,Europe
171
+ sy,Syria,Countries,Middle East
172
+ ti,Tajikistan,Countries,Central Asia
173
+ tz,Tanzania,Countries,Africa
174
+ th,Thailand,Countries,East & Southeast Asia
175
+ tt,Timor-Leste,Countries,East & Southeast Asia
176
+ to,Togo,Countries,Africa
177
+ tn,Tonga,Countries,Australia-Oceania
178
+ td,Trinidad and Tobago,Countries,Central America and Caribbean
179
+ ts,Tunisia,Countries,Africa
180
+ tu,Turkey,Countries,Middle East
181
+ tx,Turkmenistan,Countries,Central Asia
182
+ tv,Tuvalu,Countries,Australia-Oceania
183
+ ug,Uganda,Countries,Africa
184
+ up,Ukraine,Countries,Europe
185
+ ae,United Arab Emirates,Countries,Middle East
186
+ uk,United Kingdom,Countries,Europe
187
+ us,United States,Countries,North America
188
+ uy,Uruguay,Countries,South America
189
+ uz,Uzbekistan,Countries,Central Asia
190
+ nh,Vanuatu,Countries,Australia-Oceania
191
+ vt,Holy See (Vatican City),Countries,Europe
192
+ ve,Venezuela,Countries,South America
193
+ vm,Vietnam,Countries,East & Southeast Asia
194
+ ym,Yemen,Countries,Middle East
195
+ za,Zambia,Countries,Africa
196
+ zi,Zimbabwe,Countries,Africa
197
+ tw,Taiwan,Other,East & Southeast Asia
198
+ ee,European Union,Other,Europe
199
+ at,Ashmore and Cartier Islands,Dependencies (Australia),Australia-Oceania
200
+ kt,Christmas Island,Dependencies (Australia),Australia-Oceania
201
+ ck,Cocos (Keeling) Islands,Dependencies (Australia),Australia-Oceania
202
+ cr,Coral Sea Islands,Dependencies (Australia),Australia-Oceania
203
+ hm,Heard Island and McDonald Islands,Dependencies (Australia),Antarctica
204
+ nf,Norfolk Island,Dependencies (Australia),Australia-Oceania
205
+ hk,Hong Kong,Dependencies (China),East & Southeast Asia
206
+ mc,Macau,Dependencies (China),East & Southeast Asia
207
+ fo,Faroe Islands,Dependencies (Denmark),Europe
208
+ gl,Greenland,Dependencies (Denmark),North America
209
+ ip,Clipperton Island,Dependencies (France),North America
210
+ fp,French Polynesia,Dependencies (France),Australia-Oceania
211
+ fs,French Southern and Antarctic Lands,Dependencies (France),Antarctica
212
+ nc,New Caledonia,Dependencies (France),Australia-Oceania
213
+ tb,Saint Barthelemy,Dependencies (France),Central America and Caribbean
214
+ rn,Saint Martin,Dependencies (France),Central America and Caribbean
215
+ sb,Saint Pierre and Miquelon,Dependencies (France),North America
216
+ wf,Wallis and Futuna,Dependencies (France),Australia-Oceania
217
+ aa,Aruba,Dependencies (Netherlands),Central America and Caribbean
218
+ uc,Curacao,Dependencies (Netherlands),Central America and Caribbean
219
+ sk,Sint Maarten,Dependencies (Netherlands),Central America and Caribbean
220
+ cw,Cook Islands,Dependencies (New Zealand),Australia-Oceania
221
+ ne,Niue,Dependencies (New Zealand),Australia-Oceania
222
+ tl,Tokelau,Dependencies (New Zealand),Australia-Oceania
223
+ bv,Bouvet Island,Dependencies (Norway),Antarctica
224
+ jn,Jan Mayen,Dependencies (Norway),Europe
225
+ sv,Svalbard,Dependencies (Norway),Europe
226
+ ax,Akrotiri,Dependencies (Great Britain),Europe
227
+ av,Anguilla,Dependencies (Great Britain),Central America and Caribbean
228
+ bd,Bermuda,Dependencies (Great Britain),North America
229
+ io,British Indian Ocean Territory,Dependencies (Great Britain),South Asia
230
+ vi,British Virgin Islands,Dependencies (Great Britain),Central America and Caribbean
231
+ cj,Cayman Islands,Dependencies (Great Britain),Central America and Caribbean
232
+ dx,Dhekelia,Dependencies (Great Britain),Europe
233
+ fk,Falkland Islands (Islas Malvinas),Dependencies (Great Britain),South America
234
+ gi,Gibraltar,Dependencies (Great Britain),Europe
235
+ gk,Guernsey,Dependencies (Great Britain),Europe
236
+ je,Jersey,Dependencies (Great Britain),Europe
237
+ im,Isle of Man,Dependencies (Great Britain),Europe
238
+ mh,Montserrat,Dependencies (Great Britain),Central America and Caribbean
239
+ pc,Pitcairn Islands,Dependencies (Great Britain),Australia-Oceania
240
+ sh,"Saint Helena, Ascension, and Tristan da Cunha",Dependencies (Great Britain),Africa
241
+ sx,South Georgia and South Sandwich Islands,Dependencies (Great Britain),South America
242
+ tk,Turks and Caicos Islands,Dependencies (Great Britain),Central America and Caribbean
243
+ aq,American Samoa,Dependencies (United States),Australia-Oceania
244
+ gq,Guam,Dependencies (United States),Australia-Oceania
245
+ bq,Navassa Island,Dependencies (United States),Central America and Caribbean
246
+ cq,Northern Mariana Islands,Dependencies (United States),Australia-Oceania
247
+ rq,Puerto Rico,Dependencies (United States),Central America and Caribbean
248
+ vq,Virgin Islands,Dependencies (United States),Central America and Caribbean
249
+ wq,Wake Island,Dependencies (United States),Australia-Oceania
250
+ um,United States Pacific Island Wildlife Refuges,Dependencies (United States),Australia-Oceania
251
+ ay,Antarctica,Miscellaneous,Antarctica
252
+ gz,Gaza Strip,Miscellaneous,Middle East
253
+ pf,Paracel Islands,Miscellaneous,East & Southeast Asia
254
+ pg,Spratly Islands,Miscellaneous,East & Southeast Asia
255
+ we,West Bank,Miscellaneous,Middle East
256
+ wi,Western Sahara,Miscellaneous,Africa
257
+ xq,Arctic Ocean,Oceans,Oceans
258
+ zh,Atlantic Ocean,Oceans,Oceans
259
+ xo,Indian Ocean,Oceans,Oceans
260
+ zn,Pacific Ocean,Oceans,Oceans
261
+ oo,Southern Ocean,Oceans,Oceans
262
+ xx,World,World,World
@@ -0,0 +1,280 @@
1
+ Name,GEC,A3,A2,NUM,STANAG,INTERNET
2
+ Afghanistan,AF,AF,AFG,004,AFG,.af
3
+ Akrotiri,AX,-,-,-,-,-
4
+ Albania,AL,AL,ALB,008,ALB,.al
5
+ Algeria,AG,DZ,DZA,012,DZA,.dz
6
+ American Samoa,AQ,AS,ASM,016,ASM,.as
7
+ Andorra,AN,AD,AND,020,AND,.ad
8
+ Angola,AO,AO,AGO,024,AGO,.ao
9
+ Anguilla,AV,AI,AIA,660,AIA,.ai
10
+ Antarctica,AY,AQ,ATA,010,ATA,.aq
11
+ Antigua and Barbuda,AC,AG,ATG,028,ATG,.ag
12
+ Argentina,AR,AR,ARG,032,ARG,.ar
13
+ Armenia,AM,AM,ARM,051,ARM,.am
14
+ Aruba,AA,AW,ABW,533,ABW,.aw
15
+ Ashmore and Cartier Islands,AT,-,-,-,AUS,-
16
+ Australia,AS,AU,AUS,036,AUS,.au
17
+ Austria,AU,AT,AUT,040,AUT,.at
18
+ Azerbaijan,AJ,AZ,AZE,031,AZE,.az
19
+ "Bahamas, The",BF,BS,BHS,044,BHS,.bs
20
+ Bahrain,BA,BH,BHR,048,BHR,.bh
21
+ Baker Island,FQ,-,-,-,UMI,-
22
+ Bangladesh,BG,BD,BGD,050,BGD,.bd
23
+ Barbados,BB,BB,BRB,052,BRB,.bb
24
+ Bassas da India,BS,-,-,-,-,-
25
+ Belarus,BO,BY,BLR,112,BLR,.by
26
+ Belgium,BE,BE,BEL,056,BEL,.be
27
+ Belize,BH,BZ,BLZ,084,BLZ,.bz
28
+ Benin,BN,BJ,BEN,204,BEN,.bj
29
+ Bermuda,BD,BM,BMU,060,BMU,.bm
30
+ Bhutan,BT,BT,BTN,064,BTN,.bt
31
+ Bolivia,BL,BO,BOL,068,BOL,.bo
32
+ Bosnia and Herzegovina,BK,BA,BIH,070,BIH,.ba
33
+ Botswana,BC,BW,BWA,072,BWA,.bw
34
+ Bouvet Island,BV,BV,BVT,074,BVT,.bv
35
+ Brazil,BR,BR,BRA,076,BRA,.br
36
+ British Indian Ocean Territory,IO,IO,IOT,086,IOT,.io
37
+ British Virgin Islands,VI,VG,VGB,092,VGB,.vg
38
+ Brunei,BX,BN,BRN,096,BRN,.bn
39
+ Bulgaria,BU,BG,BGR,100,BGR,.bg
40
+ Burkina Faso,UV,BF,BFA,854,BFA,.bf
41
+ Burma,BM,MM,MMR,104,MMR,.mm
42
+ Burundi,BY,BI,BDI,108,BDI,.bi
43
+ Cabo Verde,CV,CV,CPV,132,CPV,.cv
44
+ Cambodia,CB,KH,KHM,116,KHM,.kh
45
+ Cameroon,CM,CM,CMR,120,CMR,.cm
46
+ Canada,CA,CA,CAN,124,CAN,.ca
47
+ Cayman Islands,CJ,KY,CYM,136,CYM,.ky
48
+ Central African Republic,CT,CF,CAF,140,CAF,.cf
49
+ Chad,CD,TD,TCD,148,TCD,.td
50
+ Chile,CI,CL,CHL,152,CHL,.cl
51
+ China,CH,CN,CHN,156,CHN,.cn
52
+ Christmas Island,KT,CX,CXR,162,CXR,.cx
53
+ Clipperton Island,IP,-,-,-,FYP,-
54
+ Cocos (Keeling) Islands,CK,CC,CCK,166,AUS,.cc
55
+ Colombia,CO,CO,COL,170,COL,.co
56
+ Comoros,CN,KM,COM,174,COM,.km
57
+ "Congo, Democratic Republic of the",CG,CD,COD,180,COD,.cd
58
+ "Congo, Republic of the",CF,CG,COG,178,COG,.cg
59
+ Cook Islands,CW,CK,COK,184,COK,.ck
60
+ Coral Sea Islands,CR,-,-,-,AUS,-
61
+ Costa Rica,CS,CR,CRI,188,CRI,.cr
62
+ Cote d'Ivoire,IV,CI,CIV,384,CIV,.ci
63
+ Croatia,HR,HR,HRV,191,HRV,.hr
64
+ Cuba,CU,CU,CUB,192,CUB,.cu
65
+ Curacao,UC,CW,CUW,531,-,.cw
66
+ Cyprus,CY,CY,CYP,196,CYP,.cy
67
+ Czech Republic,EZ,CZ,CZE,203,CZE,.cz
68
+ Denmark,DA,DK,DNK,208,DNK,.dk
69
+ Dhekelia,DX,-,-,-,-,-
70
+ Djibouti,DJ,DJ,DJI,262,DJI,.dj
71
+ Dominica,DO,DM,DMA,212,DMA,.dm
72
+ Dominican Republic,DR,DO,DOM,214,DOM,.do
73
+ Ecuador,EC,EC,ECU,218,ECU,.ec
74
+ Egypt,EG,EG,EGY,818,EGY,.eg
75
+ El Salvador,ES,SV,SLV,222,SLV,.sv
76
+ Equatorial Guinea,EK,GQ,GNQ,226,GNQ,.gq
77
+ Eritrea,ER,ER,ERI,232,ERI,.er
78
+ Estonia,EN,EE,EST,233,EST,.ee
79
+ Ethiopia,ET,ET,ETH,231,ETH,.et
80
+ Europa Island,EU,-,-,-,-,-
81
+ Falkland Islands (Islas Malvinas),FK,FK,FLK,238,FLK,.fk
82
+ Faroe Islands,FO,FO,FRO,234,FRO,.fo
83
+ Fiji,FJ,FJ,FJI,242,FJI,.fj
84
+ Finland,FI,FI,FIN,246,FIN,.fi
85
+ France,FR,FR,FRA,250,FRA,.fr
86
+ "France, Metropolitan",-,FX,FXX,249,-,.fx
87
+ French Guiana,FG,GF,GUF,254,GUF,.gf
88
+ French Polynesia,FP,PF,PYF,258,PYF,.pf
89
+ French Southern and Antarctic Lands,FS,TF,ATF,260,ATF,.tf
90
+ Gabon,GB,GA,GAB,266,GAB,.ga
91
+ "Gambia, The",GA,GM,GMB,270,GMB,.gm
92
+ Gaza Strip,GZ,PS,PSE,275,PSE,.ps
93
+ Georgia,GG,GE,GEO,268,GEO,.ge
94
+ Germany,GM,DE,DEU,276,DEU,.de
95
+ Ghana,GH,GH,GHA,288,GHA,.gh
96
+ Gibraltar,GI,GI,GIB,292,GIB,.gi
97
+ Glorioso Islands,GO,-,-,-,-,-
98
+ Greece,GR,GR,GRC,300,GRC,.gr
99
+ Greenland,GL,GL,GRL,304,GRL,.gl
100
+ Grenada,GJ,GD,GRD,308,GRD,.gd
101
+ Guadeloupe,GP,GP,GLP,312,GLP,.gp
102
+ Guam,GQ,GU,GUM,316,GUM,.gu
103
+ Guatemala,GT,GT,GTM,320,GTM,.gt
104
+ Guernsey,GK,GG,GGY,831,UK,.gg
105
+ Guinea,GV,GN,GIN,324,GIN,.gn
106
+ Guinea-Bissau,PU,GW,GNB,624,GNB,.gw
107
+ Guyana,GY,GY,GUY,328,GUY,.gy
108
+ Haiti,HA,HT,HTI,332,HTI,.ht
109
+ Heard Island and McDonald Islands,HM,HM,HMD,334,HMD,.hm
110
+ Holy See (Vatican City),VT,VA,VAT,336,VAT,.va
111
+ Honduras,HO,HN,HND,340,HND,.hn
112
+ Hong Kong,HK,HK,HKG,344,HKG,.hk
113
+ Howland Island,HQ,-,-,-,UMI,-
114
+ Hungary,HU,HU,HUN,348,HUN,.hu
115
+ Iceland,IC,IS,ISL,352,ISL,.is
116
+ India,IN,IN,IND,356,IND,.in
117
+ Indonesia,ID,ID,IDN,360,IDN,.id
118
+ Iran,IR,IR,IRN,364,IRN,.ir
119
+ Iraq,IZ,IQ,IRQ,368,IRQ,.iq
120
+ Ireland,EI,IE,IRL,372,IRL,.ie
121
+ Isle of Man,IM,IM,IMN,833,UK,.im
122
+ Israel,IS,IL,ISR,376,ISR,.il
123
+ Italy,IT,IT,ITA,380,ITA,.it
124
+ Jamaica,JM,JM,JAM,388,JAM,.jm
125
+ Jan Mayen,JN,-,-,-,SJM,-
126
+ Japan,JA,JP,JPN,392,JPN,.jp
127
+ Jarvis Island,DQ,-,-,-,UMI,-
128
+ Jersey,JE,JE,JEY,832,UK,.je
129
+ Johnston Atoll,JQ,-,-,-,UMI,-
130
+ Jordan,JO,JO,JOR,400,JOR,.jo
131
+ Juan de Nova Island,JU,-,-,-,-,-
132
+ Kazakhstan,KZ,KZ,KAZ,398,KAZ,.kz
133
+ Kenya,KE,KE,KEN,404,KEN,.ke
134
+ Kingman Reef,KQ,-,-,-,UMI,-
135
+ Kiribati,KR,KI,KIR,296,KIR,.ki
136
+ "Korea, North",KN,KP,PRK,408,PRK,.kp
137
+ "Korea, South",KS,KR,KOR,410,KOR,.kr
138
+ Kosovo,KV,XK,XKS,-,-,-
139
+ Kuwait,KU,KW,KWT,414,KWT,.kw
140
+ Kyrgyzstan,KG,KG,KGZ,417,KGZ,.kg
141
+ Laos,LA,LA,LAO,418,LAO,.la
142
+ Latvia,LG,LV,LVA,428,LVA,.lv
143
+ Lebanon,LE,LB,LBN,422,LBN,.lb
144
+ Lesotho,LT,LS,LSO,426,LSO,.ls
145
+ Liberia,LI,LR,LBR,430,LBR,.lr
146
+ Libya,LY,LY,LBY,434,LBY,.ly
147
+ Liechtenstein,LS,LI,LIE,438,LIE,.li
148
+ Lithuania,LH,LT,LTU,440,LTU,.lt
149
+ Luxembourg,LU,LU,LUX,442,LUX,.lu
150
+ Macau,MC,MO,MAC,446,MAC,.mo
151
+ Macedonia,MK,MK,MKD,807,FYR,.mk
152
+ Madagascar,MA,MG,MDG,450,MDG,.mg
153
+ Malawi,MI,MW,MWI,454,MWI,.mw
154
+ Malaysia,MY,MY,MYS,458,MYS,.my
155
+ Maldives,MV,MV,MDV,462,MDV,.mv
156
+ Mali,ML,ML,MLI,466,MLI,.ml
157
+ Malta,MT,MT,MLT,470,MLT,.mt
158
+ Marshall Islands,RM,MH,MHL,584,MHL,.mh
159
+ Martinique,MB,MQ,MTQ,474,MTQ,.mq
160
+ Mauritania,MR,MR,MRT,478,MRT,.mr
161
+ Mauritius,MP,MU,MUS,480,MUS,.mu
162
+ Mayotte,MF,YT,MYT,175,FRA,.yt
163
+ Mexico,MX,MX,MEX,484,MEX,.mx
164
+ "Micronesia, Federated States of",FM,FM,FSM,583,FSM,.fm
165
+ Midway Islands,MQ,-,-,-,UMI,-
166
+ Moldova,MD,MD,MDA,498,MDA,.md
167
+ Monaco,MN,MC,MCO,492,MCO,.mc
168
+ Mongolia,MG,MN,MNG,496,MNG,.mn
169
+ Montenegro,MJ,ME,MNE,499,MNE,.me
170
+ Montserrat,MH,MS,MSR,500,MSR,.ms
171
+ Morocco,MO,MA,MAR,504,MAR,.ma
172
+ Mozambique,MZ,MZ,MOZ,508,MOZ,.mz
173
+ Myanmar,-,-,-,-,-,-
174
+ Namibia,WA,NA,NAM,516,NAM,.na
175
+ Nauru,NR,NR,NRU,520,NRU,.nr
176
+ Navassa Island,BQ,-,-,-,UMI,-
177
+ Nepal,NP,NP,NPL,524,NPL,.np
178
+ Netherlands,NL,NL,NLD,528,NLD,.nl
179
+ Netherlands Antilles,NT, , , ,ANT,.an
180
+ New Caledonia,NC,NC,NCL,540,NCL,.nc
181
+ New Zealand,NZ,NZ,NZL,554,NZL,.nz
182
+ Nicaragua,NU,NI,NIC,558,NIC,.ni
183
+ Niger,NG,NE,NER,562,NER,.ne
184
+ Nigeria,NI,NG,NGA,566,NGA,.ng
185
+ Niue,NE,NU,NIU,570,NIU,.nu
186
+ Norfolk Island,NF,NF,NFK,574,NFK,.nf
187
+ Northern Mariana Islands,CQ,MP,MNP,580,MNP,.mp
188
+ Norway,NO,NO,NOR,578,NOR,.no
189
+ Oman,MU,OM,OMN,512,OMN,.om
190
+ Pakistan,PK,PK,PAK,586,PAK,.pk
191
+ Palau,PS,PW,PLW,585,PLW,.pw
192
+ Palmyra Atoll,LQ,-,-,-,UMI,-
193
+ Panama,PM,PA,PAN,591,PAN,.pa
194
+ Papua New Guinea,PP,PG,PNG,598,PNG,.pg
195
+ Paracel Islands,PF,-,-,-,-,-
196
+ Paraguay,PA,PY,PRY,600,PRY,.py
197
+ Peru,PE,PE,PER,604,PER,.pe
198
+ Philippines,RP,PH,PHL,608,PHL,.ph
199
+ Pitcairn Islands,PC,PN,PCN,612,PCN,.pn
200
+ Poland,PL,PL,POL,616,POL,.pl
201
+ Portugal,PO,PT,PRT,620,PRT,.pt
202
+ Puerto Rico,RQ,PR,PRI,630,PRI,.pr
203
+ Qatar,QA,QA,QAT,634,QAT,.qa
204
+ Reunion,RE,RE,REU,638,REU,.re
205
+ Romania,RO,RO,ROU,642,ROU,.ro
206
+ Russia,RS,RU,RUS,643,RUS,.ru
207
+ Rwanda,RW,RW,RWA,646,RWA,.rw
208
+ Saint Barthelemy,TB,BL,BLM,652,-,.bl
209
+ "Saint Helena, Ascension, and Tristan da Cunha",SH,SH,SHN,654,SHN,.sh
210
+ Saint Kitts and Nevis,SC,KN,KNA,659,KNA,.kn
211
+ Saint Lucia,ST,LC,LCA,662,LCA,.lc
212
+ Saint Martin,RN,MF,MAF,663,-,.mf
213
+ Saint Pierre and Miquelon,SB,PM,SPM,666,SPM,.pm
214
+ Saint Vincent and the Grenadines,VC,VC,VCT,670,VCT,.vc
215
+ Samoa,WS,WS,WSM,882,WSM,.ws
216
+ San Marino,SM,SM,SMR,674,SMR,.sm
217
+ Sao Tome and Principe,TP,ST,STP,678,STP,.st
218
+ Saudi Arabia,SA,SA,SAU,682,SAU,.sa
219
+ Senegal,SG,SN,SEN,686,SEN,.sn
220
+ Serbia,RI,RS,SRB,688,-,.rs
221
+ Seychelles,SE,SC,SYC,690,SYC,.sc
222
+ Sierra Leone,SL,SL,SLE,694,SLE,.sl
223
+ Singapore,SN,SG,SGP,702,SGP,.sg
224
+ Sint Maarten,NN,SX,SXM,534,-,.sx
225
+ Slovakia,LO,SK,SVK,703,SVK,.sk
226
+ Slovenia,SI,SI,SVN,705,SVN,.si
227
+ Solomon Islands,BP,SB,SLB,090,SLB,.sb
228
+ Somalia,SO,SO,SOM,706,SOM,.so
229
+ South Africa,SF,ZA,ZAF,710,ZAF,.za
230
+ South Georgia and the Islands,SX,GS,SGS,239,SGS,.gs
231
+ South Sudan,OD,SS,SSD,728,-,-
232
+ Spain,SP,ES,ESP,724,ESP,.es
233
+ Spratly Islands,PG,-,-,-,-,-
234
+ Sri Lanka,CE,LK,LKA,144,LKA,.lk
235
+ Sudan,SU,SD,SDN,729,SDN,.sd
236
+ Suriname,NS,SR,SUR,740,SUR,.sr
237
+ Svalbard,SV,SJ,SJM,744,SJM,.sj
238
+ Swaziland,WZ,SZ,SWZ,748,SWZ,.sz
239
+ Sweden,SW,SE,SWE,752,SWE,.se
240
+ Switzerland,SZ,CH,CHE,756,CHE,.ch
241
+ Syria,SY,SY,SYR,760,SYR,.sy
242
+ Taiwan,TW,TW,TWN,158,TWN,.tw
243
+ Tajikistan,TI,TJ,TJK,762,TJK,.tj
244
+ Tanzania,TZ,TZ,TZA,834,TZA,.tz
245
+ Thailand,TH,TH,THA,764,THA,.th
246
+ Timor-Leste,TT,TL,TLS,626,TLS,.tl
247
+ Togo,TO,TG,TGO,768,TGO,.tg
248
+ Tokelau,TL,TK,TKL,772,TKL,.tk
249
+ Tonga,TN,TO,TON,776,TON,.to
250
+ Trinidad and Tobago,TD,TT,TTO,780,TTO,.tt
251
+ Tromelin Island,TE,-,-,-,-,-
252
+ Tunisia,TS,TN,TUN,788,TUN,.tn
253
+ Turkey,TU,TR,TUR,792,TUR,.tr
254
+ Turkmenistan,TX,TM,TKM,795,TKM,.tm
255
+ Turks and Caicos Islands,TK,TC,TCA,796,TCA,.tc
256
+ Tuvalu,TV,TV,TUV,798,TUV,.tv
257
+ Uganda,UG,UG,UGA,800,UGA,.ug
258
+ Ukraine,UP,UA,UKR,804,UKR,.ua
259
+ United Arab Emirates,AE,AE,ARE,784,ARE,.ae
260
+ United Kingdom,UK,GB,GBR,826,GBR,.uk
261
+ United States,US,US,USA,840,USA,.us
262
+ United States Minor Outlying Islands,-,UM,UMI,581,-,.um
263
+ Uruguay,UY,UY,URY,858,URY,.uy
264
+ Uzbekistan,UZ,UZ,UZB,860,UZB,.uz
265
+ Vanuatu,NH,VU,VUT,548,VUT,.vu
266
+ Venezuela,VE,VE,VEN,862,VEN,.ve
267
+ Vietnam,VM,VN,VNM,704,VNM,.vn
268
+ Virgin Islands,VQ,VI,VIR,850,VIR,.vi
269
+ Virgin Islands (UK),-,-,-,-,-,.vg
270
+ Virgin Islands (US),-,-,-,-,-,.vi
271
+ Wake Island,WQ,-,-,-,UMI,-
272
+ Wallis and Futuna,WF,WF,WLF,876,WLF,.wf
273
+ West Bank,WE,PS,PSE,275,PSE,.ps
274
+ Western Sahara,WI,EH,ESH,732,ESH,.eh
275
+ Western Samoa,-,-,-,-,-,.ws
276
+ World,-,-,-,-,-,-
277
+ Yemen,YM,YE,YEM,887,YEM,.ye
278
+ Zaire,-,-,-,-,-,-
279
+ Zambia,ZA,ZM,ZMB,894,ZMB,.zm
280
+ Zimbabwe,ZI,ZW,ZWE,716,ZWE,.zw