factbook 0.1.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Manifest.txt +34 -22
- data/README.md +8 -3
- data/Rakefile +2 -263
- data/data/codes.csv +262 -0
- data/data/comparisons.csv +75 -0
- data/lib/factbook/builder.rb +214 -0
- data/lib/factbook/builder_item.rb +93 -0
- data/lib/factbook/codes.rb +119 -0
- data/lib/factbook/comparisons.rb +50 -0
- data/lib/factbook/page.rb +103 -303
- data/lib/factbook/sanitizer.rb +214 -0
- data/lib/factbook/sect.rb +29 -196
- data/lib/factbook/subsect.rb +18 -0
- data/lib/factbook/table.rb +52 -0
- data/lib/factbook/utils.rb +85 -0
- data/lib/factbook/utils_info.rb +102 -0
- data/lib/factbook/version.rb +4 -3
- data/lib/factbook.rb +23 -1
- data/test/data/au.html +579 -0
- data/test/data/au.yml +8 -0
- data/test/data/be.html +596 -0
- data/test/data/be.yml +8 -0
- data/test/data/src/au.html +2006 -0
- data/test/data/src/be.html +2011 -0
- data/test/helper.rb +0 -4
- data/test/test_builder.rb +37 -0
- data/test/test_codes.rb +76 -0
- data/test/test_comparisons.rb +19 -0
- data/test/test_fields.rb +21 -18
- data/test/test_item_builder.rb +99 -0
- data/test/test_json.rb +17 -20
- data/test/test_page.rb +18 -10
- data/test/test_sanitizer.rb +35 -0
- metadata +68 -49
- data/.gemtest +0 -0
- data/test/data/countrytemplate_au.html +0 -4179
- data/test/data/countrytemplate_be.html +0 -4260
- data/test/data/countrytemplate_br.html +0 -4366
- data/test/data/countrytemplate_ee.html +0 -2999
- data/test/data/countrytemplate_ls.html +0 -2728
- data/test/data/countrytemplate_mx.html +0 -4397
- data/test/data/countrytemplate_vt.html +0 -1726
- data/test/data/countrytemplate_xx.html +0 -2898
- data/test/test_page_old.rb +0 -478
- data/test/test_strip.rb +0 -66
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3375e7a8abcb8c6a1fea38aa05f5246cd7bdf22f
|
4
|
+
data.tar.gz: c2a3c6145dfc19bc71721e9114a33a22207287ec
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c8a3ad384249824f9e7a13b0c2e45839cc868b0f1bd2a9473257a3420b7a57430893c09573b54de74d4458bff1bded7b244f3c9f1d522df96d2fd5452c48a5e7
|
7
|
+
data.tar.gz: 357ccd90b6ecefc969309fd92a3b4e223beebd743bb27dcd13d1607496054c97d7b70995d737a4941288ce248289e02d15189b9e925cbd808801862b77dfcbbf
|
data/Manifest.txt
CHANGED
@@ -1,22 +1,34 @@
|
|
1
|
-
HISTORY.md
|
2
|
-
Manifest.txt
|
3
|
-
README.md
|
4
|
-
Rakefile
|
5
|
-
|
6
|
-
|
7
|
-
lib/factbook
|
8
|
-
lib/factbook/
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
test/
|
21
|
-
test/
|
22
|
-
test/
|
1
|
+
HISTORY.md
|
2
|
+
Manifest.txt
|
3
|
+
README.md
|
4
|
+
Rakefile
|
5
|
+
data/codes.csv
|
6
|
+
data/comparisons.csv
|
7
|
+
lib/factbook.rb
|
8
|
+
lib/factbook/builder.rb
|
9
|
+
lib/factbook/builder_item.rb
|
10
|
+
lib/factbook/codes.rb
|
11
|
+
lib/factbook/comparisons.rb
|
12
|
+
lib/factbook/page.rb
|
13
|
+
lib/factbook/sanitizer.rb
|
14
|
+
lib/factbook/sect.rb
|
15
|
+
lib/factbook/subsect.rb
|
16
|
+
lib/factbook/table.rb
|
17
|
+
lib/factbook/utils.rb
|
18
|
+
lib/factbook/utils_info.rb
|
19
|
+
lib/factbook/version.rb
|
20
|
+
test/data/au.html
|
21
|
+
test/data/au.yml
|
22
|
+
test/data/be.html
|
23
|
+
test/data/be.yml
|
24
|
+
test/data/src/au.html
|
25
|
+
test/data/src/be.html
|
26
|
+
test/helper.rb
|
27
|
+
test/test_builder.rb
|
28
|
+
test/test_codes.rb
|
29
|
+
test/test_comparisons.rb
|
30
|
+
test/test_fields.rb
|
31
|
+
test/test_item_builder.rb
|
32
|
+
test/test_json.rb
|
33
|
+
test/test_page.rb
|
34
|
+
test/test_sanitizer.rb
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# factbook - scripts for the world factbook (get open structured data e.g JSON etc.)
|
2
2
|
|
3
|
-
* home :: [github.com/worlddb/factbook
|
4
|
-
* bugs :: [github.com/worlddb/factbook
|
3
|
+
* home :: [github.com/worlddb/factbook](https://github.com/worlddb/factbook)
|
4
|
+
* bugs :: [github.com/worlddb/factbook/issues](https://github.com/worlddb/factbook/issues)
|
5
5
|
* gem :: [rubygems.org/gems/factbook](https://rubygems.org/gems/factbook)
|
6
6
|
* rdoc :: [rubydoc.info/gems/factbook](http://rubydoc.info/gems/factbook)
|
7
7
|
* forum :: [groups.google.com/group/openmundi](https://groups.google.com/group/openmundi)
|
@@ -438,7 +438,7 @@ United States (14):
|
|
438
438
|
|
439
439
|
## Ready-To-Use Public Domain Factbook Datasets
|
440
440
|
|
441
|
-
[
|
441
|
+
[factbook/factbook.json](https://github.com/factbook/factbook.json) - open (public domain)
|
442
442
|
factbook country profiles in JSON for all the world's countries (using internet domain names
|
443
443
|
for country codes e.g. Austria is `at.json` not `au.json`, Germany is `de.json` not `gm.json` and so on)
|
444
444
|
|
@@ -464,6 +464,11 @@ JavaScript
|
|
464
464
|
by Richard Marr (aka richmarr); fetches data using Node.js
|
465
465
|
(last updated 2013)
|
466
466
|
|
467
|
+
Python
|
468
|
+
|
469
|
+
- [openfactbook datasets & tools](https://github.com/openfactbook)
|
470
|
+
by Eckhard Licher; uses official (offline) download archive (last updated 2014); incl. flags, maps, and more
|
471
|
+
|
467
472
|
Others
|
468
473
|
|
469
474
|
TBD
|
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ Hoe.spec 'factbook' do
|
|
8
8
|
self.summary = 'factbook - scripts for the world factbook (get open structured data e.g JSON etc.)'
|
9
9
|
self.description = summary
|
10
10
|
|
11
|
-
self.urls = ['https://github.com/worlddb/factbook
|
11
|
+
self.urls = ['https://github.com/worlddb/factbook']
|
12
12
|
|
13
13
|
self.author = 'Gerald Bauer'
|
14
14
|
self.email = 'openmundi@googlegroups.com'
|
@@ -26,268 +26,7 @@ Hoe.spec 'factbook' do
|
|
26
26
|
self.licenses = ['Public Domain']
|
27
27
|
|
28
28
|
self.spec_extras = {
|
29
|
-
:
|
29
|
+
required_ruby_version: '>= 1.9.2'
|
30
30
|
}
|
31
31
|
|
32
32
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
desc 'generate json for factbook.json repo'
|
37
|
-
task :genjson do
|
38
|
-
require 'factbook'
|
39
|
-
|
40
|
-
countries = [
|
41
|
-
['xx', 'world' ], ## special code for the world
|
42
|
-
|
43
|
-
=begin
|
44
|
-
['ee', 'europe/eu-european-union'], ## special code for the european union
|
45
|
-
['al', 'europe/al-albania' ],
|
46
|
-
['an', 'europe/ad-andorra' ],
|
47
|
-
['am', 'europe/am-armenia' ],
|
48
|
-
['au', 'europe/at-austria' ],
|
49
|
-
['aj', 'europe/az-azerbaijan' ],
|
50
|
-
['bo', 'europe/by-belarus' ],
|
51
|
-
['be', 'europe/be-belgium' ],
|
52
|
-
['bk', 'europe/ba-bosnia-n-herzegovina' ],
|
53
|
-
['bu', 'europe/bg-bulgaria' ],
|
54
|
-
['hr', 'europe/hr-croatia' ],
|
55
|
-
['cy', 'europe/cy-cyprus' ],
|
56
|
-
['ez', 'europe/cz-czech-republic' ],
|
57
|
-
['da', 'europe/dk-denmark' ],
|
58
|
-
['en', 'europe/ee-estonia' ],
|
59
|
-
['fi', 'europe/fi-finland' ],
|
60
|
-
['fr', 'europe/fr-france' ],
|
61
|
-
['gg', 'europe/ge-georgia' ],
|
62
|
-
['gm', 'europe/de-germany' ],
|
63
|
-
['uk', 'europe/gb-great-britain' ],
|
64
|
-
['gr', 'europe/gr-greece' ],
|
65
|
-
['hu', 'europe/hu-hungary' ],
|
66
|
-
['ic', 'europe/is-iceland' ],
|
67
|
-
['ei', 'europe/ie-ireland' ],
|
68
|
-
['it', 'europe/it-italy' ],
|
69
|
-
['lg', 'europe/lv-latvia' ],
|
70
|
-
['ls', 'europe/li-liechtenstein' ],
|
71
|
-
['lh', 'europe/lt-lithuania' ],
|
72
|
-
['lu', 'europe/lu-luxembourg' ],
|
73
|
-
['mk', 'europe/mk-macedonia' ],
|
74
|
-
['mt', 'europe/mt-malta' ],
|
75
|
-
['md', 'europe/md-moldova' ],
|
76
|
-
['mn', 'europe/mc-monaco' ],
|
77
|
-
['mj', 'europe/me-montenegro' ],
|
78
|
-
['nl', 'europe/nl-netherlands' ],
|
79
|
-
['no', 'europe/no-norway' ],
|
80
|
-
['pl', 'europe/pl-poland' ],
|
81
|
-
['po', 'europe/pt-portugal' ],
|
82
|
-
['ro', 'europe/ro-romania' ],
|
83
|
-
['rs', 'europe/ru-russia' ],
|
84
|
-
['sm', 'europe/sm-san-marino' ],
|
85
|
-
['ri', 'europe/rs-serbia' ],
|
86
|
-
['lo', 'europe/sk-slovakia' ],
|
87
|
-
['si', 'europe/si-slovenia' ],
|
88
|
-
['sp', 'europe/es-spain' ],
|
89
|
-
['sw', 'europe/se-sweden' ],
|
90
|
-
['sz', 'europe/ch-switzerland' ],
|
91
|
-
['tu', 'europe/tr-turkey' ],
|
92
|
-
['up', 'europe/ua-ukraine' ],
|
93
|
-
['vt', 'europe/va-vatican-city' ],
|
94
|
-
|
95
|
-
['ca', 'north-america/ca-canada' ],
|
96
|
-
['us', 'north-america/us-united-states' ],
|
97
|
-
['mx', 'north-america/mx-mexico' ],
|
98
|
-
|
99
|
-
['ac', 'caribbean/ag-antigua-n-barbuda' ],
|
100
|
-
['bf', 'caribbean/bs-bahamas' ],
|
101
|
-
['bb', 'caribbean/bb-barbados' ],
|
102
|
-
['cu', 'caribbean/cu-cuba' ],
|
103
|
-
['do', 'caribbean/dm-dominica' ],
|
104
|
-
['dr', 'caribbean/do-dominican-republic' ],
|
105
|
-
['gj', 'caribbean/gd-grenada' ],
|
106
|
-
['ha', 'caribbean/ht-haiti' ],
|
107
|
-
['jm', 'caribbean/jm-jamaica' ],
|
108
|
-
['sc', 'caribbean/kn-saint-kitts-n-nevis' ],
|
109
|
-
['st', 'caribbean/lc-saint-lucia' ],
|
110
|
-
['vc', 'caribbean/vc-saint-vincent-n-the-grenadines' ],
|
111
|
-
['td', 'caribbean/tt-trinidad-n-tobago' ],
|
112
|
-
|
113
|
-
['bh', 'central-america/bz-belize' ],
|
114
|
-
['cs', 'central-america/cr-costa-rica' ],
|
115
|
-
['es', 'central-america/sv-el-salvador' ],
|
116
|
-
['gt', 'central-america/gt-guatemala' ],
|
117
|
-
['ho', 'central-america/hn-honduras' ],
|
118
|
-
['nu', 'central-america/ni-nicaragua' ],
|
119
|
-
['pm', 'central-america/pa-panama' ],
|
120
|
-
|
121
|
-
['ar', 'south-america/ar-argentina' ],
|
122
|
-
['bl', 'south-america/bo-bolivia' ],
|
123
|
-
['br', 'south-america/br-brazil' ],
|
124
|
-
['ci', 'south-america/cl-chile' ],
|
125
|
-
['co', 'south-america/co-colombia' ],
|
126
|
-
['ec', 'south-america/ec-ecuador' ],
|
127
|
-
['gy', 'south-america/gy-guyana' ],
|
128
|
-
['pa', 'south-america/py-paraguay' ],
|
129
|
-
['pe', 'south-america/pe-peru' ],
|
130
|
-
['ns', 'south-america/sr-suriname' ],
|
131
|
-
['uy', 'south-america/uy-uruguay' ],
|
132
|
-
['ve', 'south-america/ve-venezuela' ],
|
133
|
-
|
134
|
-
['ag', 'africa/dz-algeria' ],
|
135
|
-
['ao', 'africa/ao-angola' ],
|
136
|
-
['bn', 'africa/bj-benin' ],
|
137
|
-
['bc', 'africa/bw-botswana' ],
|
138
|
-
['uv', 'africa/bf-burkina-faso' ],
|
139
|
-
['by', 'africa/bi-burundi' ],
|
140
|
-
['cm', 'africa/cm-cameroon' ],
|
141
|
-
['cv', 'africa/cv-cape-verde' ],
|
142
|
-
['ct', 'africa/cf-central-african-republic' ],
|
143
|
-
['cd', 'africa/td-chad' ],
|
144
|
-
['cn', 'africa/km-comoros' ],
|
145
|
-
['cf', 'africa/cg-congo' ],
|
146
|
-
['cg', 'africa/cd-congo-dr' ],
|
147
|
-
['iv', 'africa/ci-cote-d-ivoire' ],
|
148
|
-
['dj', 'africa/dj-djibouti' ],
|
149
|
-
['eg', 'africa/eg-egypt' ],
|
150
|
-
['ek', 'africa/gq-equatorial-guinea' ],
|
151
|
-
['er', 'africa/er-eritrea' ],
|
152
|
-
['et', 'africa/et-ethiopia' ],
|
153
|
-
['gb', 'africa/ga-gabon' ],
|
154
|
-
['ga', 'africa/gm-gambia' ],
|
155
|
-
['gh', 'africa/gh-ghana' ],
|
156
|
-
['gv', 'africa/gn-guinea' ],
|
157
|
-
['pu', 'africa/gw-guinea-bissau' ],
|
158
|
-
['ke', 'africa/ke-kenya' ],
|
159
|
-
['lt', 'africa/ls-lesotho' ],
|
160
|
-
['li', 'africa/lr-liberia' ],
|
161
|
-
['ly', 'africa/ly-libya' ],
|
162
|
-
['ma', 'africa/mg-madagascar' ],
|
163
|
-
['mi', 'africa/mw-malawi' ],
|
164
|
-
['ml', 'africa/ml-mali' ],
|
165
|
-
['mr', 'africa/mr-mauritania' ],
|
166
|
-
['mp', 'africa/mu-mauritius' ],
|
167
|
-
['mo', 'africa/ma-morocco' ],
|
168
|
-
['mz', 'africa/mz-mozambique' ],
|
169
|
-
['wa', 'africa/na-namibia' ],
|
170
|
-
['ng', 'africa/ne-niger' ],
|
171
|
-
['ni', 'africa/ng-nigeria' ],
|
172
|
-
['rw', 'africa/rw-rwanda' ],
|
173
|
-
['tp', 'africa/st-st-sao-tome-n-principe' ],
|
174
|
-
['sg', 'africa/sn-senegal' ],
|
175
|
-
['se', 'africa/sc-seychelles' ],
|
176
|
-
['sl', 'africa/sl-sierra-leone' ],
|
177
|
-
['so', 'africa/so-somalia' ],
|
178
|
-
['sf', 'africa/za-south-africa' ],
|
179
|
-
['od', 'africa/ss-south-sudan' ],
|
180
|
-
['su', 'africa/sd-sudan' ],
|
181
|
-
['wz', 'africa/sz-swaziland' ],
|
182
|
-
['tz', 'africa/tz-tanzania' ],
|
183
|
-
['to', 'africa/tg-togo' ],
|
184
|
-
['ts', 'africa/tn-tunisia' ],
|
185
|
-
['ug', 'africa/ug-uganda' ],
|
186
|
-
['za', 'africa/zm-zambia' ],
|
187
|
-
['zi', 'africa/zw-zimbabwe' ],
|
188
|
-
|
189
|
-
['ba', 'middle-east/bh-bahrain' ],
|
190
|
-
['ir', 'middle-east/ir-iran' ],
|
191
|
-
['iz', 'middle-east/iq-iraq' ],
|
192
|
-
['is', 'middle-east/il-israel' ],
|
193
|
-
['jo', 'middle-east/jo-jordan' ],
|
194
|
-
['ku', 'middle-east/kw-kuwait' ],
|
195
|
-
['le', 'middle-east/lb-lebanon' ],
|
196
|
-
['mu', 'middle-east/om-oman' ],
|
197
|
-
### ['??', 'middle-east/ps-palestine' ], -- incl. gaza strip n west bank
|
198
|
-
['qa', 'middle-east/qa-qatar' ],
|
199
|
-
['sa', 'middle-east/sa-saudi-arabia' ],
|
200
|
-
['sy', 'middle-east/sy-syria' ],
|
201
|
-
['ae', 'middle-east/ae-united-arab-emirates' ],
|
202
|
-
['ym', 'middle-east/ye-yemen' ],
|
203
|
-
|
204
|
-
['af', 'asia/af-afghanistan' ],
|
205
|
-
['bg', 'asia/bd-bangladesh' ],
|
206
|
-
['bt', 'asia/bt-bhutan' ],
|
207
|
-
['bx', 'asia/bn-brunei' ],
|
208
|
-
['cb', 'asia/kh-cambodia' ],
|
209
|
-
['ch', 'asia/cn-china' ],
|
210
|
-
['in', 'asia/in-india' ],
|
211
|
-
['id', 'asia/id-indonesia' ],
|
212
|
-
['ja', 'asia/jp-japan' ],
|
213
|
-
['kz', 'asia/kz-kazakhstan' ],
|
214
|
-
['kg', 'asia/kg-kyrgyzstan' ],
|
215
|
-
['la', 'asia/la-laos' ],
|
216
|
-
['my', 'asia/my-malaysia' ],
|
217
|
-
['mv', 'asia/mv-maldives' ],
|
218
|
-
['mg', 'asia/mn-mongolia' ],
|
219
|
-
['bm', 'asia/mm-myanmar' ], ## still using Burma
|
220
|
-
['np', 'asia/np-nepal' ],
|
221
|
-
['kn', 'asia/kp-north-korea' ],
|
222
|
-
['pk', 'asia/pk-pakistan' ],
|
223
|
-
['rp', 'asia/ph-philippines' ],
|
224
|
-
['sn', 'asia/sg-singapore' ],
|
225
|
-
['ks', 'asia/kr-south-korea' ],
|
226
|
-
['ce', 'asia/lk-sri-lanka' ],
|
227
|
-
['tw', 'asia/tw-taiwan' ],
|
228
|
-
['ti', 'asia/tj-tajikistan' ],
|
229
|
-
['th', 'asia/th-thailand' ],
|
230
|
-
['tt', 'asia/tl-timor-leste' ],
|
231
|
-
['tx', 'asia/tm-turkmenistan' ],
|
232
|
-
['uz', 'asia/uz-uzbekistan' ],
|
233
|
-
['vm', 'asia/vn-vietnam' ],
|
234
|
-
|
235
|
-
['as', 'pacific/au-australia' ],
|
236
|
-
['fj', 'pacific/fj-fiji' ],
|
237
|
-
['kr', 'pacific/ki-kiribati' ],
|
238
|
-
['rm', 'pacific/mh-marshall-islands' ],
|
239
|
-
['fm', 'pacific/fm-micronesia' ],
|
240
|
-
['nr', 'pacific/nr-nauru' ],
|
241
|
-
['nz', 'pacific/nz-new-zealand' ],
|
242
|
-
['ps', 'pacific/pw-palau' ],
|
243
|
-
['pp', 'pacific/pg-papua-new-guinea' ],
|
244
|
-
['ws', 'pacific/ws-samoa' ],
|
245
|
-
['bp', 'pacific/sb-solomon-islands' ],
|
246
|
-
['tn', 'pacific/to-tonga' ],
|
247
|
-
['tv', 'pacific/tv-tuvalu' ],
|
248
|
-
['nh', 'pacific/vu-vanuatu' ],
|
249
|
-
=end
|
250
|
-
|
251
|
-
]
|
252
|
-
|
253
|
-
countries.each do |country|
|
254
|
-
gen_json_for( country )
|
255
|
-
end
|
256
|
-
end
|
257
|
-
|
258
|
-
|
259
|
-
def gen_json_for( country )
|
260
|
-
|
261
|
-
country_code = country[0]
|
262
|
-
country_path = country[1]
|
263
|
-
|
264
|
-
path_html = "tmp/html/#{country_path}.html"
|
265
|
-
path_json = "tmp/json/#{country_path}.json"
|
266
|
-
|
267
|
-
## make sure path exist
|
268
|
-
FileUtils.mkdir_p( File.dirname( path_html ) )
|
269
|
-
FileUtils.mkdir_p( File.dirname( path_json ) )
|
270
|
-
|
271
|
-
|
272
|
-
page = Factbook::Page.new( country_code )
|
273
|
-
|
274
|
-
## print first 600 chars
|
275
|
-
pp page.html[0..600]
|
276
|
-
|
277
|
-
## save for debuging
|
278
|
-
|
279
|
-
puts "saving a copy to #{country_path}.html for debugging"
|
280
|
-
File.open( path_html, 'w') do |f|
|
281
|
-
f.write( page.html )
|
282
|
-
end
|
283
|
-
|
284
|
-
h = page.data
|
285
|
-
## pp h
|
286
|
-
|
287
|
-
### save to json
|
288
|
-
puts "saving a copy to #{country_path}.json for debugging"
|
289
|
-
File.open( path_json, 'w') do |f|
|
290
|
-
f.write( JSON.pretty_generate( h ) )
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
data/data/codes.csv
ADDED
@@ -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
|
+
cc,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
|