worlddb 0.8.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Manifest.txt +4 -98
- data/Rakefile +1 -6
- data/lib/worlddb/cli/main.rb +170 -0
- data/lib/worlddb/cli/opts.rb +24 -50
- data/lib/worlddb/data/fixtures.rb +168 -0
- data/lib/worlddb/deleter.rb +26 -0
- data/lib/worlddb/reader.rb +8 -61
- data/lib/worlddb/stats.rb +30 -0
- data/lib/worlddb/utils.rb +0 -60
- data/lib/worlddb/version.rb +1 -2
- data/lib/worlddb.rb +24 -184
- metadata +30 -108
- data/data/africa/1_codes/fifa.yml +0 -59
- data/data/africa/1_codes/internet.yml +0 -64
- data/data/africa/1_codes/iso3.yml +0 -57
- data/data/africa/2_names/de.yml +0 -10
- data/data/africa/3_more/en.wikipedia.yml +0 -30
- data/data/africa/3_more/lang.yml +0 -63
- data/data/africa/countries.txt +0 -92
- data/data/america/1_codes/fifa.yml +0 -41
- data/data/america/1_codes/internet.yml +0 -39
- data/data/america/1_codes/iso3.yml +0 -39
- data/data/america/1_codes/motor.yml +0 -26
- data/data/america/2_names/de.yml +0 -31
- data/data/america/2_names/es.yml +0 -30
- data/data/america/3_more/en.wikipedia.yml +0 -9
- data/data/america/3_more/lang.yml +0 -60
- data/data/america/br/regions.txt +0 -27
- data/data/america/ca/cities.txt +0 -48
- data/data/america/ca/regions.txt +0 -28
- data/data/america/countries.txt +0 -70
- data/data/america/mx/cities.txt +0 -32
- data/data/america/mx/regions.txt +0 -54
- data/data/america/us/cities.txt +0 -46
- data/data/america/us/regions.txt +0 -64
- data/data/america/ve/cities.txt +0 -358
- data/data/america/ve/regions.txt +0 -46
- data/data/asia/1_codes/fifa.yml +0 -53
- data/data/asia/1_codes/internet.yml +0 -51
- data/data/asia/1_codes/iso3.yml +0 -51
- data/data/asia/2_names/de.yml +0 -9
- data/data/asia/3_more/en.wikipedia.yml +0 -26
- data/data/asia/3_more/lang.yml +0 -55
- data/data/asia/countries.txt +0 -126
- data/data/asia/jp/cities.txt +0 -3
- data/data/europe/1_codes/fifa.yml +0 -60
- data/data/europe/1_codes/internet.yml +0 -59
- data/data/europe/1_codes/iso3.yml +0 -59
- data/data/europe/1_codes/motor.yml +0 -60
- data/data/europe/2_names/de.yml +0 -42
- data/data/europe/2_names/es.yml +0 -43
- data/data/europe/3_more/en.wikipedia.yml +0 -12
- data/data/europe/3_more/lang.yml +0 -47
- data/data/europe/at/cities.txt +0 -45
- data/data/europe/at/regions.txt +0 -26
- data/data/europe/be/cities.txt +0 -19
- data/data/europe/be/regions.txt +0 -23
- data/data/europe/bg/cities.txt +0 -4
- data/data/europe/by/cities.txt +0 -4
- data/data/europe/ch/cities.txt +0 -4
- data/data/europe/countries.txt +0 -123
- data/data/europe/cy/cities.txt +0 -1
- data/data/europe/cz/cities.txt +0 -26
- data/data/europe/cz/regions.txt +0 -32
- data/data/europe/de/cities.txt +0 -44
- data/data/europe/de/regions.txt +0 -16
- data/data/europe/dk/cities.txt +0 -6
- data/data/europe/ee/cities.txt +0 -2
- data/data/europe/en/cities.txt +0 -32
- data/data/europe/en/regions.txt +0 -21
- data/data/europe/es/cities.txt +0 -17
- data/data/europe/es/regions.txt +0 -26
- data/data/europe/fi/cities.txt +0 -2
- data/data/europe/fr/cities.txt +0 -15
- data/data/europe/fr/regions.txt +0 -32
- data/data/europe/gr/cities.txt +0 -6
- data/data/europe/hr/cities.txt +0 -1
- data/data/europe/hu/cities.txt +0 -2
- data/data/europe/ie/cities.txt +0 -3
- data/data/europe/it/cities.txt +0 -17
- data/data/europe/lt/cities.txt +0 -3
- data/data/europe/lv/cities.txt +0 -4
- data/data/europe/nl/cities.txt +0 -11
- data/data/europe/no/cities.txt +0 -3
- data/data/europe/pl/cities.txt +0 -12
- data/data/europe/pt/cities.txt +0 -6
- data/data/europe/ro/cities.txt +0 -4
- data/data/europe/rs/cities.txt +0 -3
- data/data/europe/ru/cities.txt +0 -14
- data/data/europe/sc/cities.txt +0 -3
- data/data/europe/se/cities.txt +0 -3
- data/data/europe/tr/cities.txt +0 -3
- data/data/europe/ua/cities.txt +0 -9
- data/data/europe/wa/cities.txt +0 -3
- data/data/langs.yml +0 -210
- data/data/oceania/1_codes/fifa.yml +0 -21
- data/data/oceania/1_codes/internet.yml +0 -17
- data/data/oceania/1_codes/iso3.yml +0 -17
- data/data/oceania/2_names/de.yml +0 -7
- data/data/oceania/3_more/en.wikipedia.yml +0 -11
- data/data/oceania/3_more/lang.yml +0 -17
- data/data/oceania/au/cities.txt +0 -2
- data/data/oceania/countries.txt +0 -40
- data/data/tags.1.yml +0 -40
- data/data/tags.3.yml +0 -23
- data/lib/worlddb/cli/runner.rb +0 -113
- data/lib/worlddb/readers/code_reader.rb +0 -34
- data/lib/worlddb/readers/hash_reader.rb +0 -81
- data/lib/worlddb/readers/line_reader.rb +0 -45
- data/lib/worlddb/readers/values_reader.rb +0 -171
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: worlddb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 23
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
|
+
- 1
|
|
7
8
|
- 0
|
|
8
|
-
- 8
|
|
9
9
|
- 0
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 1.0.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Gerald Bauer
|
|
@@ -15,12 +15,28 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date:
|
|
18
|
+
date: 2013-02-20 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
|
-
name:
|
|
21
|
+
name: textutils
|
|
22
22
|
prerelease: false
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
none: false
|
|
25
|
+
requirements:
|
|
26
|
+
- - ~>
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
hash: 19
|
|
29
|
+
segments:
|
|
30
|
+
- 0
|
|
31
|
+
- 3
|
|
32
|
+
- 0
|
|
33
|
+
version: 0.3.0
|
|
34
|
+
type: :runtime
|
|
35
|
+
version_requirements: *id001
|
|
36
|
+
- !ruby/object:Gem::Dependency
|
|
37
|
+
name: activerecord
|
|
38
|
+
prerelease: false
|
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
24
40
|
none: false
|
|
25
41
|
requirements:
|
|
26
42
|
- - ~>
|
|
@@ -31,11 +47,11 @@ dependencies:
|
|
|
31
47
|
- 2
|
|
32
48
|
version: "3.2"
|
|
33
49
|
type: :runtime
|
|
34
|
-
version_requirements: *
|
|
50
|
+
version_requirements: *id002
|
|
35
51
|
- !ruby/object:Gem::Dependency
|
|
36
52
|
name: rdoc
|
|
37
53
|
prerelease: false
|
|
38
|
-
requirement: &
|
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
39
55
|
none: false
|
|
40
56
|
requirements:
|
|
41
57
|
- - ~>
|
|
@@ -46,11 +62,11 @@ dependencies:
|
|
|
46
62
|
- 10
|
|
47
63
|
version: "3.10"
|
|
48
64
|
type: :development
|
|
49
|
-
version_requirements: *
|
|
65
|
+
version_requirements: *id003
|
|
50
66
|
- !ruby/object:Gem::Dependency
|
|
51
67
|
name: hoe
|
|
52
68
|
prerelease: false
|
|
53
|
-
requirement: &
|
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
54
70
|
none: false
|
|
55
71
|
requirements:
|
|
56
72
|
- - ~>
|
|
@@ -61,7 +77,7 @@ dependencies:
|
|
|
61
77
|
- 3
|
|
62
78
|
version: "3.3"
|
|
63
79
|
type: :development
|
|
64
|
-
version_requirements: *
|
|
80
|
+
version_requirements: *id004
|
|
65
81
|
description: worlddb - world.db command line tool
|
|
66
82
|
email: opensport@googlegroups.com
|
|
67
83
|
executables:
|
|
@@ -76,103 +92,12 @@ files:
|
|
|
76
92
|
- README.md
|
|
77
93
|
- Rakefile
|
|
78
94
|
- bin/worlddb
|
|
79
|
-
- data/africa/1_codes/fifa.yml
|
|
80
|
-
- data/africa/1_codes/internet.yml
|
|
81
|
-
- data/africa/1_codes/iso3.yml
|
|
82
|
-
- data/africa/2_names/de.yml
|
|
83
|
-
- data/africa/3_more/en.wikipedia.yml
|
|
84
|
-
- data/africa/3_more/lang.yml
|
|
85
|
-
- data/africa/countries.txt
|
|
86
|
-
- data/america/1_codes/fifa.yml
|
|
87
|
-
- data/america/1_codes/internet.yml
|
|
88
|
-
- data/america/1_codes/iso3.yml
|
|
89
|
-
- data/america/1_codes/motor.yml
|
|
90
|
-
- data/america/2_names/de.yml
|
|
91
|
-
- data/america/2_names/es.yml
|
|
92
|
-
- data/america/3_more/en.wikipedia.yml
|
|
93
|
-
- data/america/3_more/lang.yml
|
|
94
|
-
- data/america/br/regions.txt
|
|
95
|
-
- data/america/ca/cities.txt
|
|
96
|
-
- data/america/ca/regions.txt
|
|
97
|
-
- data/america/countries.txt
|
|
98
|
-
- data/america/mx/cities.txt
|
|
99
|
-
- data/america/mx/regions.txt
|
|
100
|
-
- data/america/us/cities.txt
|
|
101
|
-
- data/america/us/regions.txt
|
|
102
|
-
- data/america/ve/cities.txt
|
|
103
|
-
- data/america/ve/regions.txt
|
|
104
|
-
- data/asia/1_codes/fifa.yml
|
|
105
|
-
- data/asia/1_codes/internet.yml
|
|
106
|
-
- data/asia/1_codes/iso3.yml
|
|
107
|
-
- data/asia/2_names/de.yml
|
|
108
|
-
- data/asia/3_more/en.wikipedia.yml
|
|
109
|
-
- data/asia/3_more/lang.yml
|
|
110
|
-
- data/asia/countries.txt
|
|
111
|
-
- data/asia/jp/cities.txt
|
|
112
|
-
- data/europe/1_codes/fifa.yml
|
|
113
|
-
- data/europe/1_codes/internet.yml
|
|
114
|
-
- data/europe/1_codes/iso3.yml
|
|
115
|
-
- data/europe/1_codes/motor.yml
|
|
116
|
-
- data/europe/2_names/de.yml
|
|
117
|
-
- data/europe/2_names/es.yml
|
|
118
|
-
- data/europe/3_more/en.wikipedia.yml
|
|
119
|
-
- data/europe/3_more/lang.yml
|
|
120
|
-
- data/europe/at/cities.txt
|
|
121
|
-
- data/europe/at/regions.txt
|
|
122
|
-
- data/europe/be/cities.txt
|
|
123
|
-
- data/europe/be/regions.txt
|
|
124
|
-
- data/europe/bg/cities.txt
|
|
125
|
-
- data/europe/by/cities.txt
|
|
126
|
-
- data/europe/ch/cities.txt
|
|
127
|
-
- data/europe/countries.txt
|
|
128
|
-
- data/europe/cy/cities.txt
|
|
129
|
-
- data/europe/cz/cities.txt
|
|
130
|
-
- data/europe/cz/regions.txt
|
|
131
|
-
- data/europe/de/cities.txt
|
|
132
|
-
- data/europe/de/regions.txt
|
|
133
|
-
- data/europe/dk/cities.txt
|
|
134
|
-
- data/europe/ee/cities.txt
|
|
135
|
-
- data/europe/en/cities.txt
|
|
136
|
-
- data/europe/en/regions.txt
|
|
137
|
-
- data/europe/es/cities.txt
|
|
138
|
-
- data/europe/es/regions.txt
|
|
139
|
-
- data/europe/fi/cities.txt
|
|
140
|
-
- data/europe/fr/cities.txt
|
|
141
|
-
- data/europe/fr/regions.txt
|
|
142
|
-
- data/europe/gr/cities.txt
|
|
143
|
-
- data/europe/hr/cities.txt
|
|
144
|
-
- data/europe/hu/cities.txt
|
|
145
|
-
- data/europe/ie/cities.txt
|
|
146
|
-
- data/europe/it/cities.txt
|
|
147
|
-
- data/europe/lt/cities.txt
|
|
148
|
-
- data/europe/lv/cities.txt
|
|
149
|
-
- data/europe/nl/cities.txt
|
|
150
|
-
- data/europe/no/cities.txt
|
|
151
|
-
- data/europe/pl/cities.txt
|
|
152
|
-
- data/europe/pt/cities.txt
|
|
153
|
-
- data/europe/ro/cities.txt
|
|
154
|
-
- data/europe/rs/cities.txt
|
|
155
|
-
- data/europe/ru/cities.txt
|
|
156
|
-
- data/europe/sc/cities.txt
|
|
157
|
-
- data/europe/se/cities.txt
|
|
158
|
-
- data/europe/tr/cities.txt
|
|
159
|
-
- data/europe/ua/cities.txt
|
|
160
|
-
- data/europe/wa/cities.txt
|
|
161
|
-
- data/langs.yml
|
|
162
|
-
- data/oceania/1_codes/fifa.yml
|
|
163
|
-
- data/oceania/1_codes/internet.yml
|
|
164
|
-
- data/oceania/1_codes/iso3.yml
|
|
165
|
-
- data/oceania/2_names/de.yml
|
|
166
|
-
- data/oceania/3_more/en.wikipedia.yml
|
|
167
|
-
- data/oceania/3_more/lang.yml
|
|
168
|
-
- data/oceania/au/cities.txt
|
|
169
|
-
- data/oceania/countries.txt
|
|
170
|
-
- data/tags.1.yml
|
|
171
|
-
- data/tags.3.yml
|
|
172
95
|
- lib/worlddb.rb
|
|
96
|
+
- lib/worlddb/cli/main.rb
|
|
173
97
|
- lib/worlddb/cli/opts.rb
|
|
174
|
-
- lib/worlddb/cli/runner.rb
|
|
175
98
|
- lib/worlddb/console.rb
|
|
99
|
+
- lib/worlddb/data/fixtures.rb
|
|
100
|
+
- lib/worlddb/deleter.rb
|
|
176
101
|
- lib/worlddb/models/city.rb
|
|
177
102
|
- lib/worlddb/models/country.rb
|
|
178
103
|
- lib/worlddb/models/lang.rb
|
|
@@ -182,11 +107,8 @@ files:
|
|
|
182
107
|
- lib/worlddb/models/tagging.rb
|
|
183
108
|
- lib/worlddb/models/usage.rb
|
|
184
109
|
- lib/worlddb/reader.rb
|
|
185
|
-
- lib/worlddb/readers/code_reader.rb
|
|
186
|
-
- lib/worlddb/readers/hash_reader.rb
|
|
187
|
-
- lib/worlddb/readers/line_reader.rb
|
|
188
|
-
- lib/worlddb/readers/values_reader.rb
|
|
189
110
|
- lib/worlddb/schema.rb
|
|
111
|
+
- lib/worlddb/stats.rb
|
|
190
112
|
- lib/worlddb/utils.rb
|
|
191
113
|
- lib/worlddb/version.rb
|
|
192
114
|
homepage: https://github.com/geraldb/world.db.ruby
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
####################
|
|
2
|
-
## africa
|
|
3
|
-
##
|
|
4
|
-
## see http://en.wikipedia.org/wiki/List_of_FIFA_country_codes
|
|
5
|
-
|
|
6
|
-
ao: ANG # Angola
|
|
7
|
-
bj: BEN # Benin
|
|
8
|
-
bw: BOT # Botswana
|
|
9
|
-
bf: BFA # Burkina Faso
|
|
10
|
-
bi: BDI # Burundi
|
|
11
|
-
cv: CPV # Cape Verde
|
|
12
|
-
cf: CTA # Central African Republic
|
|
13
|
-
td: CHA # Chad
|
|
14
|
-
km: COM # Comoros
|
|
15
|
-
cg: CGO # Congo
|
|
16
|
-
cd: COD # Congo DR
|
|
17
|
-
dj: DJI # Djibouti
|
|
18
|
-
gq: EQG # Equatorial Guinea
|
|
19
|
-
er: ERI # Eritrea
|
|
20
|
-
et: ETH # Ethiopia
|
|
21
|
-
ga: GAB # Gabon
|
|
22
|
-
gm: GAM # Gambia
|
|
23
|
-
gn: GUI # Guinea
|
|
24
|
-
gw: GNB # Guinea-Bissau
|
|
25
|
-
ke: KEN # Kenya
|
|
26
|
-
ls: LES # Lesotho
|
|
27
|
-
lr: LBR # Liberia
|
|
28
|
-
mg: MAD # Madagascar
|
|
29
|
-
mw: MWI # Malawi
|
|
30
|
-
ml: MLI # Mali
|
|
31
|
-
mr: MTN # Mauritania
|
|
32
|
-
mu: MRI # Mauritius
|
|
33
|
-
mz: MOZ # Mozambique
|
|
34
|
-
na: NAM # Namibia
|
|
35
|
-
ne: NIG # Niger
|
|
36
|
-
rw: RWA # Rwanda
|
|
37
|
-
st: STP # São Tomé and Príncipe
|
|
38
|
-
sn: SEN # Senegal
|
|
39
|
-
yc: SEY # Seychelles
|
|
40
|
-
sl: SLE # Sierra Leone
|
|
41
|
-
so: SOM # Somalia
|
|
42
|
-
ss: SSD # South Sudan
|
|
43
|
-
sd: SDN # Sudan
|
|
44
|
-
sz: SWZ # Swaziland
|
|
45
|
-
tg: TOG # Togo
|
|
46
|
-
ug: UGA # Uganda
|
|
47
|
-
tz: TAN # Tanzania
|
|
48
|
-
zm: ZAM # Zambia
|
|
49
|
-
zw: ZIM # Zimbabwe
|
|
50
|
-
dz: ALG # Algeria
|
|
51
|
-
eg: EGY # Egypt
|
|
52
|
-
ma: MAR # Morocco
|
|
53
|
-
ly: LBY # Libya
|
|
54
|
-
tn: TUN # Tunisia
|
|
55
|
-
ci: CIV # Côte d'Ivoire
|
|
56
|
-
gh: GHA # Ghana
|
|
57
|
-
ng: NGA # Nigeria
|
|
58
|
-
cm: CMR # Cameroon
|
|
59
|
-
za: RSA # South Africa
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
####################
|
|
2
|
-
## africa country internet top level domains
|
|
3
|
-
##
|
|
4
|
-
## see http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
ao: ao # Angola
|
|
8
|
-
bj: bj # Benin
|
|
9
|
-
bw: bw # Botswana
|
|
10
|
-
bf: bf # Burkina Faso
|
|
11
|
-
bi: bi # Burundi
|
|
12
|
-
cv: cv # Cape Verde
|
|
13
|
-
cf: cf # Central African Republic
|
|
14
|
-
td: td # Chad
|
|
15
|
-
km: km # Comoros
|
|
16
|
-
cg: cg # Congo
|
|
17
|
-
cd: cd # Congo DR
|
|
18
|
-
dj: dj # Djibouti
|
|
19
|
-
gq: gq # Equatorial Guinea
|
|
20
|
-
er: er # Eritrea
|
|
21
|
-
et: et # Ethiopia
|
|
22
|
-
ga: ga # Gabon
|
|
23
|
-
gm: gm # Gambia
|
|
24
|
-
gn: gn # Guinea
|
|
25
|
-
gw: gw # Guinea-Bissau
|
|
26
|
-
ke: ke # Kenya
|
|
27
|
-
ls: ls # Lesotho
|
|
28
|
-
lr: lr # Liberia
|
|
29
|
-
mg: mg # Madagascar
|
|
30
|
-
mw: mw # Malawi
|
|
31
|
-
ml: ml # Mali
|
|
32
|
-
mr: mr # Mauritania
|
|
33
|
-
mu: mu # Mauritius
|
|
34
|
-
mz: mz # Mozambique
|
|
35
|
-
na: na # Namibia
|
|
36
|
-
ne: ne # Niger
|
|
37
|
-
rw: rw # Rwanda
|
|
38
|
-
st: st # São Tomé and Príncipe
|
|
39
|
-
sn: sn # Senegal
|
|
40
|
-
sl: sl # Sierra Leone
|
|
41
|
-
so: so # Somalia
|
|
42
|
-
ss: ss # South Sudan
|
|
43
|
-
sd: sd # Sudan
|
|
44
|
-
sz: sz # Swaziland
|
|
45
|
-
tg: tg # Togo
|
|
46
|
-
ug: ug # Uganda
|
|
47
|
-
tz: tz # Tanzania
|
|
48
|
-
zm: zm # Zambia
|
|
49
|
-
zw: zw # Zimbabwe
|
|
50
|
-
dz: dz # Algeria
|
|
51
|
-
eg: eg # Egypt
|
|
52
|
-
ma: ma # Morocco
|
|
53
|
-
ly: ly # Libya
|
|
54
|
-
tn: tn # Tunisia
|
|
55
|
-
ci: ci # Côte d'Ivoire
|
|
56
|
-
gh: gh # Ghana
|
|
57
|
-
ng: ng # Nigeria
|
|
58
|
-
cm: cm # Cameroon
|
|
59
|
-
za: za # South Africa
|
|
60
|
-
|
|
61
|
-
###########
|
|
62
|
-
## NB: renamed - sc in use for scotland
|
|
63
|
-
|
|
64
|
-
yc: sc # Seychelles
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
####################
|
|
2
|
-
## africa
|
|
3
|
-
|
|
4
|
-
ao: AGO # Angola
|
|
5
|
-
bj: BEN # Benin
|
|
6
|
-
bw: BWA # Botswana
|
|
7
|
-
bf: BFA # Burkina Faso
|
|
8
|
-
bi: BDI # Burundi
|
|
9
|
-
cv: CPV # Cape Verde
|
|
10
|
-
cf: CAF # Central African Republic
|
|
11
|
-
td: TCD # Chad
|
|
12
|
-
km: COM # Comoros
|
|
13
|
-
cg: COG # Congo
|
|
14
|
-
cd: COD # Congo DR
|
|
15
|
-
dj: DJI # Djibouti
|
|
16
|
-
gq: GNQ # Equatorial Guinea
|
|
17
|
-
er: ERI # Eritrea
|
|
18
|
-
et: ETH # Ethiopia
|
|
19
|
-
ga: GAB # Gabon
|
|
20
|
-
gm: GMB # Gambia
|
|
21
|
-
gn: GIN # Guinea
|
|
22
|
-
gw: GNB # Guinea-Bissau
|
|
23
|
-
ke: KEN # Kenya
|
|
24
|
-
ls: LSO # Lesotho
|
|
25
|
-
lr: LBR # Liberia
|
|
26
|
-
mg: MDG # Madagascar
|
|
27
|
-
mw: MWI # Malawi
|
|
28
|
-
ml: MLI # Mali
|
|
29
|
-
mr: MRT # Mauritania
|
|
30
|
-
mu: MUS # Mauritius
|
|
31
|
-
mz: MOZ # Mozambique
|
|
32
|
-
na: NAM # Namibia
|
|
33
|
-
ne: NER # Niger
|
|
34
|
-
rw: RWA # Rwanda
|
|
35
|
-
st: STP # São Tomé and Príncipe
|
|
36
|
-
sn: SEN # Senegal
|
|
37
|
-
yc: SYC # Seychelles
|
|
38
|
-
sl: SLE # Sierra Leone
|
|
39
|
-
so: SOM # Somalia
|
|
40
|
-
ss: SSD # South Sudan
|
|
41
|
-
sd: SDN # Sudan
|
|
42
|
-
sz: SWZ # Swaziland
|
|
43
|
-
tg: TGO # Togo
|
|
44
|
-
ug: UGA # Uganda
|
|
45
|
-
tz: TZA # Tanzania
|
|
46
|
-
zm: ZMB # Zambia
|
|
47
|
-
zw: ZWE # Zimbabwe
|
|
48
|
-
dz: DZA # Algeria
|
|
49
|
-
eg: EGY # Egypt
|
|
50
|
-
ma: MAR # Morocco
|
|
51
|
-
ly: LBY # Libya
|
|
52
|
-
tn: TUN # Tunisia
|
|
53
|
-
ci: CIV # Côte d'Ivoire
|
|
54
|
-
gh: GHA # Ghana
|
|
55
|
-
ng: NGA # Nigeria
|
|
56
|
-
cm: CMR # Cameroon
|
|
57
|
-
za: ZAF # South Africa
|
data/data/africa/2_names/de.yml
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
#####
|
|
2
|
-
## e.g. en.wikipedia.org/wiki/Guinea etc.
|
|
3
|
-
|
|
4
|
-
gn: Guinea
|
|
5
|
-
gw: Guinea-Bissau
|
|
6
|
-
ke: Kenya
|
|
7
|
-
ls: Lesotho
|
|
8
|
-
lr: Liberia
|
|
9
|
-
mg: Madagascar
|
|
10
|
-
mw: Malawi
|
|
11
|
-
ml: Mali
|
|
12
|
-
mr: Mauritania
|
|
13
|
-
mu: Mauritius
|
|
14
|
-
mz: Mozambique
|
|
15
|
-
na: Namibia
|
|
16
|
-
ne: Niger
|
|
17
|
-
rw: Rwanda
|
|
18
|
-
st: São_Tomé_and_Príncipe
|
|
19
|
-
sn: Senegal
|
|
20
|
-
yc: Seychelles
|
|
21
|
-
sl: Sierra_Leone
|
|
22
|
-
so: Somalia
|
|
23
|
-
ss: South_Sudan
|
|
24
|
-
sd: Sudan
|
|
25
|
-
sz: Swaziland
|
|
26
|
-
tg: Togo
|
|
27
|
-
ug: Uganda
|
|
28
|
-
tz: Tanzania
|
|
29
|
-
zm: Zambia
|
|
30
|
-
zw: Zimbabwe
|
data/data/africa/3_more/lang.yml
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
### official language mapping
|
|
2
|
-
## country code: language codes
|
|
3
|
-
|
|
4
|
-
ao: pt
|
|
5
|
-
bf: fr
|
|
6
|
-
bi: fr
|
|
7
|
-
bj: fr
|
|
8
|
-
bt: dz
|
|
9
|
-
bw: en,tn
|
|
10
|
-
cd: fr
|
|
11
|
-
cf: fr
|
|
12
|
-
cg: fr
|
|
13
|
-
ci: fr
|
|
14
|
-
cm: fr,en
|
|
15
|
-
cv: pt
|
|
16
|
-
dj: fr,ar,so
|
|
17
|
-
dz: ar
|
|
18
|
-
eg: ar
|
|
19
|
-
er: ti,ar,en
|
|
20
|
-
et: am,om
|
|
21
|
-
ga: fr
|
|
22
|
-
gh: en
|
|
23
|
-
gm: en
|
|
24
|
-
gn: fr
|
|
25
|
-
gq: es,fr,pt
|
|
26
|
-
gw: pt
|
|
27
|
-
ke: sw,en
|
|
28
|
-
km: ar,fr
|
|
29
|
-
ls: en,st
|
|
30
|
-
ly: ar
|
|
31
|
-
ma: ar
|
|
32
|
-
mg: mg,fr
|
|
33
|
-
ml: fr
|
|
34
|
-
mr: ar,fr
|
|
35
|
-
mu: fr,en # mfe
|
|
36
|
-
mw: en,ny
|
|
37
|
-
mz: pt
|
|
38
|
-
|
|
39
|
-
### todo: check sf - no iso code found -- check again and add it if exists to na
|
|
40
|
-
na: en,de
|
|
41
|
-
ne: fr
|
|
42
|
-
ng: en
|
|
43
|
-
rw: rw,fr,en
|
|
44
|
-
sc: fr,en # crs
|
|
45
|
-
sd: ar,en
|
|
46
|
-
sl: en
|
|
47
|
-
sn: fr
|
|
48
|
-
so: so,ar
|
|
49
|
-
st: pt
|
|
50
|
-
ss: en
|
|
51
|
-
sy: ar
|
|
52
|
-
sz: en,ss
|
|
53
|
-
td: fr,ar
|
|
54
|
-
tg: fr
|
|
55
|
-
tn: ar
|
|
56
|
-
to: en
|
|
57
|
-
tz: sw,en
|
|
58
|
-
ug: en,sw
|
|
59
|
-
za: zu,xh,af,st,tn,en
|
|
60
|
-
zm: en
|
|
61
|
-
zw: en,sn,nd
|
|
62
|
-
|
|
63
|
-
|
data/data/africa/countries.txt
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
##################################
|
|
2
|
-
## africa
|
|
3
|
-
##
|
|
4
|
-
## see http://en.wikipedia.org/wiki/Africa#Territories_and_regions
|
|
5
|
-
|
|
6
|
-
###
|
|
7
|
-
## regions:
|
|
8
|
-
# - Northern Africa
|
|
9
|
-
# - Western Africa
|
|
10
|
-
# - Central Africa
|
|
11
|
-
# - Eastern Africa
|
|
12
|
-
# - Southern Africa
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
###############
|
|
17
|
-
## Eastern Africa
|
|
18
|
-
|
|
19
|
-
bi, Burundi, BDI, 27_834, 8_749_000, Bujumbura, un|fifa|eastern_africa
|
|
20
|
-
km, Comoros, COM, 2_235, 798_000, Moroni, un|fifa|eastern_africa
|
|
21
|
-
dj, Djibouti, DJI, 23_200, 923_000, Djibouti, un|fifa|eastern_africa
|
|
22
|
-
er, Eritrea, ERI, 117_600, 6_086_495, Asmara, un|fifa|eastern_africa
|
|
23
|
-
et, Ethiopia, ETH, 1_104_300, 84_320_987, un|fifa|eastern_africa
|
|
24
|
-
ke, Kenya, KEN, 580_367, 43_013_341, Nairobi, un|fifa|eastern_africa|commonwealth
|
|
25
|
-
mg, Madagascar, MAD, 587_041, 22_005_222, Antananarivo, un|fifa|eastern_africa
|
|
26
|
-
mw, Malawi, MWI, 118_484, 14_901_000, Lilongwe, un|fifa|eastern_africa|commonwealth
|
|
27
|
-
mu, Mauritius, MRI, 2_040, 1_291_456, un|fifa|eastern_africa|commonwealth
|
|
28
|
-
mz, Mozambique, MOZ, 801_590, 22_894_000, Maputo, un|fifa|eastern_africa|commonwealth
|
|
29
|
-
rw, Rwanda, RWA, 26_338, 11_689_696, Kigali, un|fifa|eastern_africa|commonwealth
|
|
30
|
-
## NB: sc renamed to yc (sc used for Scottland)
|
|
31
|
-
yc, Seychelles, SEY, 451, 84_000, Victoria, un|fifa|eastern_africa|indian_ocean|microstate|commonwealth
|
|
32
|
-
so, Somalia, SOM, 637_657, 10_085_638, Mogadishu, un|fifa|eastern_africa
|
|
33
|
-
tz, Tanzania, TAN, 945_203, 43_188_000, Dodoma, un|fifa|eastern_africa|commonwealth
|
|
34
|
-
ug, Uganda, UGA, 236_040, 35_873_253, Kampala, un|fifa|eastern_africa|commonwealth
|
|
35
|
-
zm, Zambia, ZAM, 752_618, 14_309_466, Lusaka, un|fifa|eastern_africa|commonwealth
|
|
36
|
-
zw, Zimbabwe, ZIM, 390_757, 12_619_600, Harare, un|fifa|eastern_africa
|
|
37
|
-
|
|
38
|
-
######################
|
|
39
|
-
## Central Africa
|
|
40
|
-
|
|
41
|
-
ao, Angola, ANG, 1_246_700, 18_498_000, Luanda, un|fifa|central_africa
|
|
42
|
-
cm, Cameroon, CMR, 475_440, 18_879_301, un|fifa|central_africa|commonwealth
|
|
43
|
-
cf, Central African Republic, CTA, 622_984, 4_422_000, Bangui, un|fifa|central_africa
|
|
44
|
-
td, Chad, CHA, 1_284_000, 10_329_208, N'Djamena, un|fifa|central_africa
|
|
45
|
-
cg, Congo, CGO, 342_000, 4_366_266, Brazzaville, un|fifa|central_africa
|
|
46
|
-
cd, Congo DR, COD, 2_345_409, 71_712_867, Kinshasa, un|fifa|central_africa
|
|
47
|
-
gq, Equatorial Guinea, EQG, 28_050, 676_000, Malabo, un|fifa|central_africa
|
|
48
|
-
ga, Gabon, GAB, 267_667, 1_475_000, un|fifa|central_africa
|
|
49
|
-
st, São Tomé and Príncipe, STP, 1_001, 183_176, São Tomé, un|fifa|central_africa|atlantic_ocean|microstate
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
###############
|
|
53
|
-
## Northern Africa
|
|
54
|
-
|
|
55
|
-
dz, Algeria, ALG, 2_381_740, 34_178_188, un|fifa|northern africa
|
|
56
|
-
eg, Egypt, EGY, 1_001_450, 82_868_000, un|fifa|northern africa|middle_east
|
|
57
|
-
ma, Morocco, MAR, 446_550, 34_859_364, un|fifa|northern africa
|
|
58
|
-
ly, Libya, LBY, 1_759_540, 6_310_434, un|fifa|northern africa
|
|
59
|
-
tn, Tunisia, TUN, 163_610, 10_486_339, un|fifa|northern africa
|
|
60
|
-
ss, South Sudan, SSD, 619_745, 8_260_490, Juba, un|fifa|northern africa
|
|
61
|
-
sd, Sudan, SDN, 1_886_068, 30_894_000, Khartoum, un|fifa|northern africa
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
################
|
|
65
|
-
## Southern Africa
|
|
66
|
-
|
|
67
|
-
za, South Africa, RSA, 1_219_912, 51_770_560, un|fifa|southern_africa|g5|g20|commonwealth
|
|
68
|
-
bw, Botswana, BOT, 581_730, 2_029_307, Gaborone, un|fifa|southern_africa|commonwealth
|
|
69
|
-
ls, Lesotho, LES, 30_355, 2_067_000, Maseru, un|fifa|southern_africa|commonwealth
|
|
70
|
-
na, Namibia, NAM, 825_418, 2_100_000, Windhoek, un|fifa|southern_africa|commonwealth
|
|
71
|
-
sz, Swaziland, SWZ, 17_364, 1_185_000, Lobamba, un|fifa|southern_africa|commonwealth
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
###################
|
|
75
|
-
## Western Africa
|
|
76
|
-
|
|
77
|
-
bj, Benin, BEN, 112_622, 9_598_787, Porto-Novo, un|fifa|western_africa
|
|
78
|
-
bf, Burkina Faso, BFA, 274_200, 15_730_977, Ouagadougou, un|fifa|western_africa
|
|
79
|
-
cv, Cape Verde, CPV, 4_033, 567_000, Praia, un|fifa|western_africa
|
|
80
|
-
ci, Côte d'Ivoire, CIV, 322_460, 20_617_068, un|fifa|western_africa
|
|
81
|
-
gm, Gambia, GAM, 11_295, 1_782_893, un|fifa|western_africa|commonwealth
|
|
82
|
-
gh, Ghana, GHA, 239_460, 23_832_495, un|fifa|western_africa|commonwealth
|
|
83
|
-
gn, Guinea, GUI, 245_857, 10_057_975, Conakry, un|fifa|western_africa
|
|
84
|
-
gw, Guinea-Bissau, GNB, 36_125, 1_647_000, Bissau, un|fifa|western_africa
|
|
85
|
-
lr, Liberia, LBR, 111_369, 3_786_764, Monrovia, un|fifa|western_africa
|
|
86
|
-
ml, Mali, MLI, 1_240_192, 14_517_176, Bamako, un|fifa|western_africa
|
|
87
|
-
mr, Mauritania, MTN, 1_030_700, 3_359_185, un|fifa|western_africa
|
|
88
|
-
ne, Niger, NIG, 1_267_000, 16_274_738, Niamey, un|fifa|western_africa
|
|
89
|
-
ng, Nigeria, NGA, 923_768, 166_629_000, un|fifa|western_africa|commonwealth
|
|
90
|
-
sn, Senegal, SEN, 196_723, 12_855_153, Dakar, un|fifa|western_africa
|
|
91
|
-
sl, Sierra Leone, SLE, 71_740, 5_485_998, Freetown, un|fifa|western_africa|commonwealth
|
|
92
|
-
tg, Togo, TOG, 56_785, 6_619_000, Lomé, un|fifa|western_africa
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
####################
|
|
2
|
-
## america
|
|
3
|
-
##
|
|
4
|
-
## see http://en.wikipedia.org/wiki/List_of_FIFA_country_codes
|
|
5
|
-
|
|
6
|
-
ca: CAN # Canada
|
|
7
|
-
us: USA # United States
|
|
8
|
-
mx: MEX # México [Mexico]
|
|
9
|
-
bz: BLZ # Belize
|
|
10
|
-
gt: GUA # Guatemala
|
|
11
|
-
cr: CRC # Costa Rica
|
|
12
|
-
hn: HON # Honduras
|
|
13
|
-
sv: SLV # El Salvador
|
|
14
|
-
ni: NCA # Nicaragua
|
|
15
|
-
pa: PAN # Panamá [Panama]
|
|
16
|
-
cu: CUB # Cuba
|
|
17
|
-
jm: JAM # Jamaica
|
|
18
|
-
pr: PUR # Puerto Rico
|
|
19
|
-
do: DOM # Dominican Republic
|
|
20
|
-
ht: HAI # Haiti
|
|
21
|
-
ag: ATG # Antigua and Barbuda
|
|
22
|
-
bs: BAH # Bahamas
|
|
23
|
-
bb: BRB # Barbados
|
|
24
|
-
dm: DMA # Dominica
|
|
25
|
-
gd: GRN # Grenada
|
|
26
|
-
kn: SKN # Saint Kitts and Nevis
|
|
27
|
-
lc: LCA # Saint Lucia
|
|
28
|
-
vc: VIN # Saint Vincent and the Grenadines
|
|
29
|
-
tt: TRI # Trinidad and Tobago
|
|
30
|
-
ar: ARG # Argentina
|
|
31
|
-
bo: BOL # Bolivia
|
|
32
|
-
br: BRA # Brazil
|
|
33
|
-
cl: CHI # Chile
|
|
34
|
-
co: COL # Colombia
|
|
35
|
-
ec: ECU # Ecuador
|
|
36
|
-
gy: GUY # Guyana
|
|
37
|
-
pe: PER # Peru
|
|
38
|
-
sr: SUR # Suriname
|
|
39
|
-
py: PAR # Paraguay
|
|
40
|
-
uy: URU # Uruguay
|
|
41
|
-
ve: VEN # Venezuela
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
####################
|
|
2
|
-
## america
|
|
3
|
-
|
|
4
|
-
ca: ca # Canada
|
|
5
|
-
us: us # United States
|
|
6
|
-
mx: mx # México [Mexico]
|
|
7
|
-
bz: bz # Belize
|
|
8
|
-
gt: gt # Guatemala
|
|
9
|
-
cr: cr # Costa Rica
|
|
10
|
-
hn: hn # Honduras
|
|
11
|
-
sv: sv # El Salvador
|
|
12
|
-
ni: ni # Nicaragua
|
|
13
|
-
pa: pa # Panamá [Panama]
|
|
14
|
-
cu: cu # Cuba
|
|
15
|
-
jm: jm # Jamaica
|
|
16
|
-
pr: pr # Puerto Rico
|
|
17
|
-
do: do # Dominican Republic
|
|
18
|
-
ht: ht # Haiti
|
|
19
|
-
ag: ag # Antigua and Barbuda
|
|
20
|
-
bs: bs # Bahamas
|
|
21
|
-
bb: bb # Barbados
|
|
22
|
-
dm: dm # Dominica
|
|
23
|
-
gd: gd # Grenada
|
|
24
|
-
kn: kn # Saint Kitts and Nevis
|
|
25
|
-
lc: lc # Saint Lucia
|
|
26
|
-
vc: vc # Saint Vincent and the Grenadines
|
|
27
|
-
tt: tt # Trinidad and Tobago
|
|
28
|
-
ar: ar # Argentina
|
|
29
|
-
bo: bo # Bolivia
|
|
30
|
-
br: br # Brazil
|
|
31
|
-
cl: cl # Chile
|
|
32
|
-
co: co # Colombia
|
|
33
|
-
ec: ec # Ecuador
|
|
34
|
-
gy: gy # Guyana
|
|
35
|
-
pe: pe # Peru
|
|
36
|
-
sr: sr # Suriname
|
|
37
|
-
py: py # Paraguay
|
|
38
|
-
uy: uy # Uruguay
|
|
39
|
-
ve: ve # Venezuela
|