csdl 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/csdl/target_values.rb +61 -0
- data/lib/csdl/target_values/countries.rb +67 -0
- data/lib/csdl/target_values/languages.rb +135 -0
- data/lib/csdl/target_values/regions.rb +838 -0
- data/lib/csdl/target_values/topics.rb +244 -0
- data/lib/csdl/targets.rb +2 -396
- data/lib/csdl/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af17893ce28c0a0c67bbb39a469ef2dc528e48f4
|
4
|
+
data.tar.gz: 1d6745a282cf7819198fc5a51f333dc8724bd1bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3212d20e60b9d83860d4a59268659d62e11e8d1075583c679bf3ddb01431f1e0c5fa99ebc4d380eca95d0a9b3fbe0f3c75b42328b3bd5d07a1ca0d7391f919b
|
7
|
+
data.tar.gz: a7a1e0db9da2031a71652936d373c120d5e517957b93dcf910b66d9272cd5491ca553a84fececed6f653296e4c606480ace0c115f80f22040c9a8aa780113b9e
|
@@ -0,0 +1,61 @@
|
|
1
|
+
module CSDL
|
2
|
+
module TargetValues
|
3
|
+
|
4
|
+
AGES = %w(
|
5
|
+
18-24
|
6
|
+
25-34
|
7
|
+
35-44
|
8
|
+
45-54
|
9
|
+
55-64
|
10
|
+
65+
|
11
|
+
unknown
|
12
|
+
).freeze
|
13
|
+
|
14
|
+
AUTHOR_TYPES = %w(
|
15
|
+
page
|
16
|
+
user
|
17
|
+
).freeze
|
18
|
+
|
19
|
+
GENDERS = %w(
|
20
|
+
female
|
21
|
+
male
|
22
|
+
unknown
|
23
|
+
).freeze
|
24
|
+
|
25
|
+
INTERACTION_TYPES = %w(
|
26
|
+
comment
|
27
|
+
like
|
28
|
+
reshare
|
29
|
+
story
|
30
|
+
).freeze
|
31
|
+
|
32
|
+
INTERFACES = %w(
|
33
|
+
desktop
|
34
|
+
mobile
|
35
|
+
).freeze
|
36
|
+
|
37
|
+
MEDIA_TYPES = %w(
|
38
|
+
link
|
39
|
+
note
|
40
|
+
photo
|
41
|
+
post
|
42
|
+
reshare
|
43
|
+
video
|
44
|
+
).freeze
|
45
|
+
|
46
|
+
SENTIMENT = %w(
|
47
|
+
positive
|
48
|
+
negative
|
49
|
+
neutral
|
50
|
+
).freeze
|
51
|
+
|
52
|
+
UNBOUNDED = ::Float::INFINITY
|
53
|
+
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
require "csdl/target_values/countries"
|
58
|
+
require "csdl/target_values/languages"
|
59
|
+
require "csdl/target_values/regions"
|
60
|
+
require "csdl/target_values/topics"
|
61
|
+
|
@@ -0,0 +1,67 @@
|
|
1
|
+
module CSDL
|
2
|
+
module TargetValues
|
3
|
+
|
4
|
+
COUNTRY_CODES_BY_COUNTRY = {
|
5
|
+
"Austria" => "AT",
|
6
|
+
"Bahrain" => "BH",
|
7
|
+
"Belgium" => "BE",
|
8
|
+
"Bulgaria" => "BG",
|
9
|
+
"Croatia" => "HR",
|
10
|
+
"Cyprus" => "CY",
|
11
|
+
"Czech Republic" => "CZ",
|
12
|
+
"Denmark" => "DK",
|
13
|
+
"Egypt" => "EG",
|
14
|
+
"Estonia" => "EE",
|
15
|
+
"Finland" => "FI",
|
16
|
+
"France" => "FR",
|
17
|
+
"Germany" => "DE",
|
18
|
+
"Ghana" => "GH",
|
19
|
+
"Greece" => "GR",
|
20
|
+
"Hungary" => "HU",
|
21
|
+
"Iceland" => "IS",
|
22
|
+
"Iraq" => "IQ",
|
23
|
+
"Ireland" => "IE",
|
24
|
+
"Israel" => "IL",
|
25
|
+
"Italy" => "IT",
|
26
|
+
"Jordan" => "JO",
|
27
|
+
"Kenya" => "KE",
|
28
|
+
"Kuwait" => "KW",
|
29
|
+
"Latvia" => "LV",
|
30
|
+
"Lebanon" => "LB",
|
31
|
+
"Lithuania" => "LT",
|
32
|
+
"Luxembourg" => "LU",
|
33
|
+
"Macedonia, the former Yugoslav Republic of" => "MK",
|
34
|
+
"Malta" => "MT",
|
35
|
+
"Mauritius" => "MU",
|
36
|
+
"Morocco" => "MA",
|
37
|
+
"Netherlands" => "NL",
|
38
|
+
"Nigeria" => "NG",
|
39
|
+
"Norway" => "NO",
|
40
|
+
"Oman" => "OM",
|
41
|
+
"Palestinian territories" => "PS",
|
42
|
+
"Poland" => "PL",
|
43
|
+
"Portugal" => "PT",
|
44
|
+
"Qatar" => "QA",
|
45
|
+
"Romania" => "RO",
|
46
|
+
"Saudi Arabia" => "SA",
|
47
|
+
"Serbia" => "RS",
|
48
|
+
"Slovakia" => "SK",
|
49
|
+
"Slovenia" => "SI",
|
50
|
+
"South Africa" => "ZA",
|
51
|
+
"Spain" => "ES",
|
52
|
+
"Sweden" => "SE",
|
53
|
+
"Switzerland" => "CH",
|
54
|
+
"Tunisia" => "TN",
|
55
|
+
"Turkey" => "TR",
|
56
|
+
"Ukraine" => "UA",
|
57
|
+
"United Arab Emirates" => "AE",
|
58
|
+
"United Kingdom" => "GB",
|
59
|
+
"United States" => "US",
|
60
|
+
}.freeze
|
61
|
+
|
62
|
+
COUNTRIES = COUNTRY_CODES_BY_COUNTRY.keys.freeze
|
63
|
+
|
64
|
+
COUNTRY_CODES = COUNTRY_CODES_BY_COUNTRY.values.freeze
|
65
|
+
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,135 @@
|
|
1
|
+
module CSDL
|
2
|
+
module TargetValues
|
3
|
+
|
4
|
+
LANGUAGES_BY_LANGUAGE_CODE = {
|
5
|
+
"af" => "Afrikaans",
|
6
|
+
"ak" => "Akan",
|
7
|
+
"am" => "Amharic",
|
8
|
+
"ar" => "Arabic",
|
9
|
+
"as" => "Assamese",
|
10
|
+
"ay" => "Aymara",
|
11
|
+
"az" => "Azerbaijani",
|
12
|
+
"be" => "Belarusian",
|
13
|
+
"bg" => "Bulgarian",
|
14
|
+
"bn" => "Bengali",
|
15
|
+
"br" => "Breton",
|
16
|
+
"bs" => "Bosnian",
|
17
|
+
"ca" => "Catalan",
|
18
|
+
"cb" => "Sorani Kurdish",
|
19
|
+
"ck" => "Cherokee",
|
20
|
+
"co" => "Corsican",
|
21
|
+
"cs" => "Czech",
|
22
|
+
"cx" => "Cebuano",
|
23
|
+
"cy" => "Welsh",
|
24
|
+
"da" => "Danish",
|
25
|
+
"de" => "German",
|
26
|
+
"el" => "Greek",
|
27
|
+
"en" => "English",
|
28
|
+
"eo" => "Esperanto",
|
29
|
+
"es" => "Spanish",
|
30
|
+
"et" => "Estonian",
|
31
|
+
"eu" => "Basque",
|
32
|
+
"fa" => "Persian",
|
33
|
+
"ff" => "Fulah",
|
34
|
+
"fi" => "Finnish",
|
35
|
+
"fo" => "Faroese",
|
36
|
+
"fr" => "French",
|
37
|
+
"fy" => "Frisian",
|
38
|
+
"ga" => "Irish",
|
39
|
+
"gl" => "Galician",
|
40
|
+
"gn" => "Guarani",
|
41
|
+
"gu" => "Gujarati",
|
42
|
+
"gx" => "Classical Greek",
|
43
|
+
"ha" => "Hausa",
|
44
|
+
"he" => "Hebrew",
|
45
|
+
"hi" => "Hindi",
|
46
|
+
"hr" => "Croatian",
|
47
|
+
"hu" => "Hungarian",
|
48
|
+
"hy" => "Armenian",
|
49
|
+
"id" => "Indonesian",
|
50
|
+
"ig" => "Igbo",
|
51
|
+
"is" => "Icelandic",
|
52
|
+
"it" => "Italian",
|
53
|
+
"ja" => "Japanese",
|
54
|
+
"jv" => "Javanese",
|
55
|
+
"ka" => "Georgian",
|
56
|
+
"kk" => "Kazakh",
|
57
|
+
"km" => "Khmer",
|
58
|
+
"kn" => "Kannada",
|
59
|
+
"ko" => "Korean",
|
60
|
+
"ku" => "Kurdish (Kurmanji)",
|
61
|
+
"la" => "Latin",
|
62
|
+
"lg" => "Ganda",
|
63
|
+
"li" => "Limburgish",
|
64
|
+
"ln" => "Lingala",
|
65
|
+
"lo" => "Lao",
|
66
|
+
"lt" => "Lithuanian",
|
67
|
+
"lv" => "Latvian",
|
68
|
+
"mg" => "Malagasy",
|
69
|
+
"mk" => "Macedonian",
|
70
|
+
"ml" => "Malayalam",
|
71
|
+
"mn" => "Mongolian",
|
72
|
+
"mr" => "Marathi",
|
73
|
+
"ms" => "Malay",
|
74
|
+
"mt" => "Maltese",
|
75
|
+
"my" => "Burmese",
|
76
|
+
"nb" => "Norwegian (bokmal)",
|
77
|
+
"nd" => "Ndebele",
|
78
|
+
"ne" => "Nepali",
|
79
|
+
"nl" => "Dutch",
|
80
|
+
"nn" => "Norwegian (nynorsk)",
|
81
|
+
"ny" => "Chewa",
|
82
|
+
"or" => "Oriya",
|
83
|
+
"pa" => "Punjabi",
|
84
|
+
"pl" => "Polish",
|
85
|
+
"ps" => "Pashto",
|
86
|
+
"pt" => "Portuguese",
|
87
|
+
"qu" => "Quechua",
|
88
|
+
"rm" => "Romansh",
|
89
|
+
"ro" => "Romanian",
|
90
|
+
"ru" => "Russian",
|
91
|
+
"rw" => "Kinyarwanda",
|
92
|
+
"sa" => "Sanskrit",
|
93
|
+
"sc" => "Sardinian",
|
94
|
+
"se" => "Northern Sámi",
|
95
|
+
"si" => "Sinhala",
|
96
|
+
"sk" => "Slovak",
|
97
|
+
"sl" => "Slovenian",
|
98
|
+
"sn" => "Shona",
|
99
|
+
"so" => "Somali",
|
100
|
+
"sq" => "Albanian",
|
101
|
+
"sr" => "Serbian",
|
102
|
+
"sv" => "Swedish",
|
103
|
+
"sw" => "Swahili",
|
104
|
+
"sy" => "Syriac",
|
105
|
+
"sz" => "Silesian",
|
106
|
+
"ta" => "Tamil",
|
107
|
+
"te" => "Telugu",
|
108
|
+
"tg" => "Tajik",
|
109
|
+
"th" => "Thai",
|
110
|
+
"tk" => "Turkmen",
|
111
|
+
"tl" => "Filipino",
|
112
|
+
"tr" => "Turkish",
|
113
|
+
"tt" => "Tatar",
|
114
|
+
"tz" => "Tamazight",
|
115
|
+
"uk" => "Ukrainian",
|
116
|
+
"ur" => "Urdu",
|
117
|
+
"uz" => "Uzbek",
|
118
|
+
"vi" => "Vietnamese",
|
119
|
+
"wo" => "Wolof",
|
120
|
+
"xh" => "Xhosa",
|
121
|
+
"yi" => "Yiddish",
|
122
|
+
"yo" => "Yoruba",
|
123
|
+
"zh" => "Chinese",
|
124
|
+
"zu" => "Zulu",
|
125
|
+
"zz" => "Zazaki"
|
126
|
+
}.freeze
|
127
|
+
|
128
|
+
LANGUAGE_CODES = LANGUAGES_BY_LANGUAGE_CODE.keys.freeze
|
129
|
+
|
130
|
+
LANGUAGES = LANGUAGES_BY_LANGUAGE_CODE.values.freeze
|
131
|
+
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
|
@@ -0,0 +1,838 @@
|
|
1
|
+
module CSDL
|
2
|
+
module TargetValues
|
3
|
+
|
4
|
+
REGIONS_BY_COUNTRY = {
|
5
|
+
"Austria" => [
|
6
|
+
"Burgenland",
|
7
|
+
"Kärnten",
|
8
|
+
"Niederösterreich",
|
9
|
+
"Oberösterreich",
|
10
|
+
"Salzburg",
|
11
|
+
"Steiermark",
|
12
|
+
"Tirol",
|
13
|
+
"Vorarlberg",
|
14
|
+
"Wien"
|
15
|
+
].freeze,
|
16
|
+
|
17
|
+
"Bahrain" => [
|
18
|
+
"Al Muharraq"
|
19
|
+
].freeze,
|
20
|
+
|
21
|
+
"Belgium" => [
|
22
|
+
"Région De Bruxelles-Capitale"
|
23
|
+
].freeze,
|
24
|
+
|
25
|
+
"Bulgaria" => [
|
26
|
+
"Blagoevgrad",
|
27
|
+
"Burgas",
|
28
|
+
"Dobrich",
|
29
|
+
"Gabrovo",
|
30
|
+
"Grad Sofiya",
|
31
|
+
"Khaskovo",
|
32
|
+
"Kurdzhali",
|
33
|
+
"Kyustendil",
|
34
|
+
"Lovech",
|
35
|
+
"Montana",
|
36
|
+
"Pazardzhik",
|
37
|
+
"Pernik",
|
38
|
+
"Pleven",
|
39
|
+
"Plovdiv",
|
40
|
+
"Razgrad",
|
41
|
+
"Ruse",
|
42
|
+
"Shumen",
|
43
|
+
"Silistra",
|
44
|
+
"Sliven",
|
45
|
+
"Smolyan",
|
46
|
+
"Sofiya",
|
47
|
+
"Stara Zagora",
|
48
|
+
"Turgovishte",
|
49
|
+
"Varna",
|
50
|
+
"Veliko Turnovo",
|
51
|
+
"Vidin",
|
52
|
+
"Vratsa",
|
53
|
+
"Yambol"
|
54
|
+
].freeze,
|
55
|
+
|
56
|
+
"Croatia" => [
|
57
|
+
"Bjelovarsko-Bilogorska",
|
58
|
+
"Brodsko-Posavska",
|
59
|
+
"Dubrovacko-Neretvanska",
|
60
|
+
"Grad Zagreb",
|
61
|
+
"Istarska",
|
62
|
+
"Karlovacka",
|
63
|
+
"Koprivnicko-Krizevacka",
|
64
|
+
"Krapinsko-Zagorska",
|
65
|
+
"Medimurska",
|
66
|
+
"Osjecko-Baranjska",
|
67
|
+
"Primorsko-Goranska",
|
68
|
+
"Sisacko-Moslavacka",
|
69
|
+
"Splitsko-Dalmatinska",
|
70
|
+
"Varazdinska",
|
71
|
+
"Viroviticko-Podravska",
|
72
|
+
"Vukovarsko-Srijemska",
|
73
|
+
"Zadarska",
|
74
|
+
"Zagrebacka"
|
75
|
+
].freeze,
|
76
|
+
|
77
|
+
"Cyprus" => [
|
78
|
+
"Famagusta",
|
79
|
+
"Kyrenia",
|
80
|
+
"Larnaca",
|
81
|
+
"Limassol",
|
82
|
+
"Paphos"
|
83
|
+
].freeze,
|
84
|
+
|
85
|
+
"Czech Republic" => [
|
86
|
+
"Hlavni Mesto Praha",
|
87
|
+
"Hradec Kralove",
|
88
|
+
"Jihocesky Kraj",
|
89
|
+
"Jihomoravsky Kraj",
|
90
|
+
"Karlovarsky Kraj",
|
91
|
+
"Liberecky Kraj",
|
92
|
+
"Moravskoslezsky Kraj",
|
93
|
+
"Olomoucky Kraj",
|
94
|
+
"Pardubicky Kraj",
|
95
|
+
"Plzensky Kraj",
|
96
|
+
"Stredocesky Kraj",
|
97
|
+
"Ustecky Kraj",
|
98
|
+
"Vysocina",
|
99
|
+
"Zlinsky Kraj"
|
100
|
+
].freeze,
|
101
|
+
|
102
|
+
"Denmark" => [
|
103
|
+
"Arhus",
|
104
|
+
"Nordjylland"
|
105
|
+
].freeze,
|
106
|
+
|
107
|
+
"Egypt" => [
|
108
|
+
"Ad Daqahliyah",
|
109
|
+
"Al Bahr al Ahmar",
|
110
|
+
"Al Buhayrah",
|
111
|
+
"Al Fayyum",
|
112
|
+
"Al Gharbiyah",
|
113
|
+
"Al Iskandariyah",
|
114
|
+
"Al Isma'iliyah",
|
115
|
+
"Al Jizah",
|
116
|
+
"Al Minufiyah",
|
117
|
+
"Al Minya",
|
118
|
+
"Al Qahirah",
|
119
|
+
"Al Qalyubiyah",
|
120
|
+
"As Suways",
|
121
|
+
"Ash Sharqiyah",
|
122
|
+
"Aswan",
|
123
|
+
"Asyut",
|
124
|
+
"Bani Suwayf",
|
125
|
+
"Bur Sa'id",
|
126
|
+
"Dumyat",
|
127
|
+
"Janub Sina'",
|
128
|
+
"Kafr ash Shaykh",
|
129
|
+
"Matruh",
|
130
|
+
"Qina",
|
131
|
+
"Shamal Sina'",
|
132
|
+
"Suhaj"
|
133
|
+
].freeze,
|
134
|
+
|
135
|
+
"Estonia" => [
|
136
|
+
"Harjumaa",
|
137
|
+
"Tartumaa"
|
138
|
+
].freeze,
|
139
|
+
|
140
|
+
"Finland" => [
|
141
|
+
"Åland",
|
142
|
+
"Lapland"
|
143
|
+
].freeze,
|
144
|
+
|
145
|
+
"France" => [
|
146
|
+
"Alsace",
|
147
|
+
"Aquitaine",
|
148
|
+
"Auvergne",
|
149
|
+
"Basse-Normandie",
|
150
|
+
"Bourgogne",
|
151
|
+
"Bretagne",
|
152
|
+
"Centre",
|
153
|
+
"Champagne-Ardenne",
|
154
|
+
"Corse",
|
155
|
+
"Franche-Comté",
|
156
|
+
"Haute-Normandie",
|
157
|
+
"Île-de-France",
|
158
|
+
"Languedoc-Roussillon",
|
159
|
+
"Limousin",
|
160
|
+
"Lorraine",
|
161
|
+
"Midi-Pyrénées",
|
162
|
+
"Nord-Pas-de-Calais",
|
163
|
+
"Pays de la Loire",
|
164
|
+
"Picardie",
|
165
|
+
"Poitou-Charentes",
|
166
|
+
"Provence-Alpes-Côte d'Azur",
|
167
|
+
"Rhône-Alpes"
|
168
|
+
].freeze,
|
169
|
+
|
170
|
+
"Germany" => [
|
171
|
+
"Baden-Württemberg",
|
172
|
+
"Bayern",
|
173
|
+
"Berlin",
|
174
|
+
"Brandenburg",
|
175
|
+
"Bremen",
|
176
|
+
"Hamburg",
|
177
|
+
"Hessen",
|
178
|
+
"Mecklenburg-Vorpommern",
|
179
|
+
"Niedersachsen",
|
180
|
+
"Nordrhein-Westfalen",
|
181
|
+
"Rheinland-Pfalz",
|
182
|
+
"Saarland",
|
183
|
+
"Sachsen",
|
184
|
+
"Sachsen-Anhalt",
|
185
|
+
"Schleswig-Holstein",
|
186
|
+
"Thüringen"
|
187
|
+
].freeze,
|
188
|
+
|
189
|
+
"Ghana" => [
|
190
|
+
"Ashanti",
|
191
|
+
"Greater Accra"
|
192
|
+
].freeze,
|
193
|
+
|
194
|
+
"Greece" => [
|
195
|
+
"Attiki",
|
196
|
+
"Thessaloniki"
|
197
|
+
].freeze,
|
198
|
+
|
199
|
+
"Hungary" => [
|
200
|
+
"Bacs-Kiskun",
|
201
|
+
"Baranya",
|
202
|
+
"Bekes",
|
203
|
+
"Borsod-Abauj-Zemplen",
|
204
|
+
"Budapest",
|
205
|
+
"Csongrad",
|
206
|
+
"Fejer",
|
207
|
+
"Gyor-Moson-Sopron",
|
208
|
+
"Hajdu-Bihar",
|
209
|
+
"Heves",
|
210
|
+
"Jasz-Nagykun-Szolnok",
|
211
|
+
"Komarom-Esztergom",
|
212
|
+
"Nograd",
|
213
|
+
"Pest",
|
214
|
+
"Somogy",
|
215
|
+
"Szabolcs-Szatmar-Bereg",
|
216
|
+
"Tolna",
|
217
|
+
"Vas",
|
218
|
+
"Veszprem",
|
219
|
+
"Zala"
|
220
|
+
].freeze,
|
221
|
+
|
222
|
+
"Iceland" => [].freeze,
|
223
|
+
|
224
|
+
"Iraq" => [
|
225
|
+
"Al Anbar",
|
226
|
+
"Al Basrah",
|
227
|
+
"Al Muthanna",
|
228
|
+
"Al Qadisiyah",
|
229
|
+
"An Najaf",
|
230
|
+
"Arbil",
|
231
|
+
"As Sulaymaniyah",
|
232
|
+
"At Ta'mim",
|
233
|
+
"Babil",
|
234
|
+
"Baghdad",
|
235
|
+
"Dahuk",
|
236
|
+
"Dhi Qar",
|
237
|
+
"Diyala",
|
238
|
+
"Karbala'",
|
239
|
+
"Maysan",
|
240
|
+
"Ninawa",
|
241
|
+
"Salah ad Din",
|
242
|
+
"Wasit"
|
243
|
+
].freeze,
|
244
|
+
|
245
|
+
"Ireland" => [
|
246
|
+
"Carlow",
|
247
|
+
"Cavan",
|
248
|
+
"Clare",
|
249
|
+
"Cork",
|
250
|
+
"Donegal",
|
251
|
+
"Dublin",
|
252
|
+
"Galway",
|
253
|
+
"Kerry",
|
254
|
+
"Kildare",
|
255
|
+
"Kilkenny",
|
256
|
+
"Laois",
|
257
|
+
"Leitrim",
|
258
|
+
"Limerick",
|
259
|
+
"Longford",
|
260
|
+
"Louth",
|
261
|
+
"Mayo",
|
262
|
+
"Meath",
|
263
|
+
"Monaghan",
|
264
|
+
"Offaly",
|
265
|
+
"Roscommon",
|
266
|
+
"Sligo",
|
267
|
+
"Tipperary",
|
268
|
+
"Waterford",
|
269
|
+
"Westmeath",
|
270
|
+
"Wexford",
|
271
|
+
"Wicklow"
|
272
|
+
].freeze,
|
273
|
+
|
274
|
+
"Israel" => [
|
275
|
+
"HaDarom",
|
276
|
+
"HaMerkaz",
|
277
|
+
"HaTzafon",
|
278
|
+
"Heifa",
|
279
|
+
"Tel Aviv",
|
280
|
+
"Yerushalayim"
|
281
|
+
].freeze,
|
282
|
+
|
283
|
+
"Italy" => [
|
284
|
+
"Abruzzo",
|
285
|
+
"Basilicata",
|
286
|
+
"Calabria",
|
287
|
+
"Campania",
|
288
|
+
"Emilia-Romagna",
|
289
|
+
"Friuli-Venezia Giulia",
|
290
|
+
"Lazio",
|
291
|
+
"Liguria",
|
292
|
+
"Lombardia",
|
293
|
+
"Marche",
|
294
|
+
"Molise",
|
295
|
+
"Piemonte",
|
296
|
+
"Puglia",
|
297
|
+
"Sardegna",
|
298
|
+
"Sicilia",
|
299
|
+
"Toscana",
|
300
|
+
"Trentino-Alto Adige",
|
301
|
+
"Umbria",
|
302
|
+
"Valle d'Aosta",
|
303
|
+
"Veneto"
|
304
|
+
].freeze,
|
305
|
+
|
306
|
+
"Jordan" => [
|
307
|
+
"Al Balqa'",
|
308
|
+
"Al Karak",
|
309
|
+
"Al Mafraq",
|
310
|
+
"Amman",
|
311
|
+
"At Tafilah",
|
312
|
+
"Az Zarqa",
|
313
|
+
"Irbid",
|
314
|
+
"Ma"
|
315
|
+
].freeze,
|
316
|
+
|
317
|
+
"Kenya" => [
|
318
|
+
"Central",
|
319
|
+
"Coast",
|
320
|
+
"Nairobi",
|
321
|
+
"Rift Valley"
|
322
|
+
].freeze,
|
323
|
+
|
324
|
+
"Kuwait" => [].freeze,
|
325
|
+
|
326
|
+
"Latvia" => [].freeze,
|
327
|
+
|
328
|
+
"Lebanon" => [
|
329
|
+
"Beyrouth",
|
330
|
+
"Liban-Nord",
|
331
|
+
"Liban-Sud",
|
332
|
+
"Mont-Liban"
|
333
|
+
].freeze,
|
334
|
+
|
335
|
+
"Lithuania" => [
|
336
|
+
"Kauno Apskritis",
|
337
|
+
"Klaipedos Apskritis",
|
338
|
+
"Panevezio Apskritis",
|
339
|
+
"Siauliu Apskritis",
|
340
|
+
"Vilniaus Apskritis"
|
341
|
+
].freeze,
|
342
|
+
|
343
|
+
"Luxembourg" => [
|
344
|
+
"Diekirch",
|
345
|
+
"Grevenmacher",
|
346
|
+
"Luxembourg"
|
347
|
+
].freeze,
|
348
|
+
|
349
|
+
"Macedonia, the former Yugoslav Republic of" => [
|
350
|
+
"Kumanovo",
|
351
|
+
"Ohrid",
|
352
|
+
"Prilep",
|
353
|
+
"Struga",
|
354
|
+
"Strumica",
|
355
|
+
"Tetovo",
|
356
|
+
"Veles",
|
357
|
+
"Stip",
|
358
|
+
"Gostivar"
|
359
|
+
].freeze,
|
360
|
+
|
361
|
+
"Malta" => [
|
362
|
+
].freeze,
|
363
|
+
|
364
|
+
"Mauritius" => [
|
365
|
+
"Flacq",
|
366
|
+
"Grand Port",
|
367
|
+
"Pamplemousses",
|
368
|
+
"Plaines Wilhems",
|
369
|
+
"Port Louis",
|
370
|
+
"Riviere du Rempart"
|
371
|
+
].freeze,
|
372
|
+
|
373
|
+
"Morocco" => [
|
374
|
+
"Casablanca",
|
375
|
+
"Fes",
|
376
|
+
"Marrakech",
|
377
|
+
"Meknes",
|
378
|
+
"Rabat-Sale",
|
379
|
+
"Tanger",
|
380
|
+
"Taza"
|
381
|
+
].freeze,
|
382
|
+
|
383
|
+
"Netherlands" => [
|
384
|
+
"Drenthe",
|
385
|
+
"Flevoland",
|
386
|
+
"Friesland",
|
387
|
+
"Gelderland",
|
388
|
+
"Groningen",
|
389
|
+
"Limburg",
|
390
|
+
"Noord-Brabant",
|
391
|
+
"Noord-Holland",
|
392
|
+
"Overijssel",
|
393
|
+
"Utrecht",
|
394
|
+
"Zeeland",
|
395
|
+
"Zuid-Holland"
|
396
|
+
].freeze,
|
397
|
+
|
398
|
+
"Nigeria" => [
|
399
|
+
"Abia",
|
400
|
+
"Akwa Ibom",
|
401
|
+
"Anambra",
|
402
|
+
"Benue",
|
403
|
+
"Cross River",
|
404
|
+
"Delta",
|
405
|
+
"Edo",
|
406
|
+
"Enugu",
|
407
|
+
"Federal Capital Territory",
|
408
|
+
"Imo",
|
409
|
+
"Kaduna",
|
410
|
+
"Kano",
|
411
|
+
"Kwara",
|
412
|
+
"Lagos",
|
413
|
+
"Ogun",
|
414
|
+
"Ondo",
|
415
|
+
"Osun",
|
416
|
+
"Oyo",
|
417
|
+
"Plateau",
|
418
|
+
"Rivers",
|
419
|
+
"Niger",
|
420
|
+
"Adamawa",
|
421
|
+
"Ekiti"
|
422
|
+
].freeze,
|
423
|
+
|
424
|
+
"Norway" => [
|
425
|
+
"Akershus",
|
426
|
+
"Aust-Agder",
|
427
|
+
"Buskerud",
|
428
|
+
"Finnmark",
|
429
|
+
"Hedmark",
|
430
|
+
"Hordaland",
|
431
|
+
"Møre og Romsdal",
|
432
|
+
"Nord-Trøndelag",
|
433
|
+
"Nordland",
|
434
|
+
"Oppland",
|
435
|
+
"Oslo",
|
436
|
+
"Østfold",
|
437
|
+
"Rogaland",
|
438
|
+
"Sogn og Fjordane",
|
439
|
+
"Sør-Trøndelag",
|
440
|
+
"Telemark",
|
441
|
+
"Troms",
|
442
|
+
"Vest-Agder",
|
443
|
+
"Vestfold"
|
444
|
+
].freeze,
|
445
|
+
|
446
|
+
"Oman" => [
|
447
|
+
"Al Batinah",
|
448
|
+
"Masqat",
|
449
|
+
"Zufar"
|
450
|
+
].freeze,
|
451
|
+
|
452
|
+
"Palestinian territories" => [].freeze,
|
453
|
+
|
454
|
+
"Poland" => [
|
455
|
+
"Dolnoslaskie",
|
456
|
+
"Kujawsko-Pomorskie",
|
457
|
+
"Lodzkie",
|
458
|
+
"Lubelskie",
|
459
|
+
"Lubuskie",
|
460
|
+
"Malopolskie",
|
461
|
+
"Opolskie",
|
462
|
+
"Podkarpackie",
|
463
|
+
"Podlaskie",
|
464
|
+
"Pomorskie",
|
465
|
+
"Slaskie",
|
466
|
+
"Swietokrzyskie",
|
467
|
+
"Warminsko-Mazurskie",
|
468
|
+
"Wielkopolskie",
|
469
|
+
"Zachodniopomorskie"
|
470
|
+
].freeze,
|
471
|
+
|
472
|
+
"Portugal" => [
|
473
|
+
"Aveiro",
|
474
|
+
"Azores",
|
475
|
+
"Beja",
|
476
|
+
"Braga",
|
477
|
+
"Braganca",
|
478
|
+
"Castelo Branco",
|
479
|
+
"Coimbra",
|
480
|
+
"Evora",
|
481
|
+
"Faro",
|
482
|
+
"Guarda",
|
483
|
+
"Leiria",
|
484
|
+
"Lisboa",
|
485
|
+
"Madeira",
|
486
|
+
"Portalegre",
|
487
|
+
"Porto",
|
488
|
+
"Santarem",
|
489
|
+
"Setubal",
|
490
|
+
"Viana do Castelo",
|
491
|
+
"Vila Real",
|
492
|
+
"Viseu"
|
493
|
+
].freeze,
|
494
|
+
|
495
|
+
"Qatar" => [
|
496
|
+
"Ad Dawhah"
|
497
|
+
].freeze,
|
498
|
+
|
499
|
+
"Romania" => [
|
500
|
+
"Alba",
|
501
|
+
"Arad",
|
502
|
+
"Arges",
|
503
|
+
"Bacau",
|
504
|
+
"Bihor",
|
505
|
+
"Bistrita-Nasaud",
|
506
|
+
"Botosani",
|
507
|
+
"Braila",
|
508
|
+
"Brasov",
|
509
|
+
"Bucuresti",
|
510
|
+
"Buzau",
|
511
|
+
"Calarasi",
|
512
|
+
"Caras-Severin",
|
513
|
+
"Cluj",
|
514
|
+
"Constanta",
|
515
|
+
"Covasna",
|
516
|
+
"Dambovita",
|
517
|
+
"Dolj",
|
518
|
+
"Galati",
|
519
|
+
"Giurgiu",
|
520
|
+
"Gorj",
|
521
|
+
"Harghita",
|
522
|
+
"Hunedoara",
|
523
|
+
"Ialomita",
|
524
|
+
"Iasi",
|
525
|
+
"Ilfov",
|
526
|
+
"Maramures",
|
527
|
+
"Mehedinti",
|
528
|
+
"Mures",
|
529
|
+
"Neamt",
|
530
|
+
"Olt",
|
531
|
+
"Prahova",
|
532
|
+
"Salaj",
|
533
|
+
"Satu Mare",
|
534
|
+
"Sibiu",
|
535
|
+
"Suceava",
|
536
|
+
"Teleorman",
|
537
|
+
"Timis",
|
538
|
+
"Tulcea",
|
539
|
+
"Valcea",
|
540
|
+
"Vaslui",
|
541
|
+
"Vrancea"
|
542
|
+
].freeze,
|
543
|
+
|
544
|
+
"Saudi Arabia" => [
|
545
|
+
"Al Jawf",
|
546
|
+
"Al Madinah",
|
547
|
+
"Al Qasim",
|
548
|
+
"Ar Riyad",
|
549
|
+
"Ash Sharqiyah",
|
550
|
+
"Ha'il",
|
551
|
+
"Jizan",
|
552
|
+
"Makkah",
|
553
|
+
"Tabuk"
|
554
|
+
].freeze,
|
555
|
+
|
556
|
+
"Serbia" => [].freeze,
|
557
|
+
|
558
|
+
"Slovakia" => [
|
559
|
+
"Banska Bystrica",
|
560
|
+
"Bratislava",
|
561
|
+
"Kosice",
|
562
|
+
"Nitra",
|
563
|
+
"Presov",
|
564
|
+
"Trencin",
|
565
|
+
"Trnava",
|
566
|
+
"Zilina"
|
567
|
+
].freeze,
|
568
|
+
|
569
|
+
"Slovenia" => [].freeze,
|
570
|
+
|
571
|
+
"South Africa" => [
|
572
|
+
"Eastern Cape",
|
573
|
+
"Free State",
|
574
|
+
"Gauteng",
|
575
|
+
"KwaZulu-Natal",
|
576
|
+
"Limpopo",
|
577
|
+
"Mpumalanga",
|
578
|
+
"North-West",
|
579
|
+
"Northern Cape",
|
580
|
+
"Western Cape"
|
581
|
+
].freeze,
|
582
|
+
|
583
|
+
"Spain" => [
|
584
|
+
"Andalucía",
|
585
|
+
"Aragón",
|
586
|
+
"Asturias",
|
587
|
+
"Cantabria",
|
588
|
+
"Castilla y Leon",
|
589
|
+
"Castilla-La Mancha",
|
590
|
+
"Cataluña",
|
591
|
+
"Comunidad de Madrid",
|
592
|
+
"Comunidad Valenciana",
|
593
|
+
"Extremadura",
|
594
|
+
"Galicia",
|
595
|
+
"Islas Baleares",
|
596
|
+
"Islas Canarias",
|
597
|
+
"La Rioja",
|
598
|
+
"Murcia",
|
599
|
+
"Navarra"
|
600
|
+
].freeze,
|
601
|
+
|
602
|
+
"Sweden" => [
|
603
|
+
"Blekinge Län",
|
604
|
+
"Dalarnas Län",
|
605
|
+
"Gävleborgs Län",
|
606
|
+
"Gotlands Län",
|
607
|
+
"Hallands Län",
|
608
|
+
"Jämtlands Län",
|
609
|
+
"Jönköpings Län",
|
610
|
+
"Kalmar Län",
|
611
|
+
"Kronobergs Län",
|
612
|
+
"Norrbottens Län",
|
613
|
+
"Örebro Län",
|
614
|
+
"Östergötlands Län",
|
615
|
+
"Skåne Län",
|
616
|
+
"Södermanlands Län",
|
617
|
+
"Stockholms Län",
|
618
|
+
"Uppsala Län",
|
619
|
+
"Värmlands Län",
|
620
|
+
"Västerbottens Län",
|
621
|
+
"Västernorrlands Län",
|
622
|
+
"Västmanlands Län",
|
623
|
+
"Västra Götaland"
|
624
|
+
].freeze,
|
625
|
+
|
626
|
+
"Switzerland" => [
|
627
|
+
"Aargau",
|
628
|
+
"Basel-Landschaft",
|
629
|
+
"Basel-Stadt",
|
630
|
+
"Bern",
|
631
|
+
"Fribourg",
|
632
|
+
"Geneve",
|
633
|
+
"Glarus",
|
634
|
+
"Graubünden",
|
635
|
+
"Jura",
|
636
|
+
"Luzern",
|
637
|
+
"Neuchâtel",
|
638
|
+
"Schaffhausen",
|
639
|
+
"Schwyz",
|
640
|
+
"Solothurn",
|
641
|
+
"St. Gallen",
|
642
|
+
"Thurgau",
|
643
|
+
"Ticino",
|
644
|
+
"Valais",
|
645
|
+
"Vaud",
|
646
|
+
"Zug",
|
647
|
+
"Zürich"
|
648
|
+
].freeze,
|
649
|
+
|
650
|
+
"Tunisia" => [
|
651
|
+
"Al Mahdiyah",
|
652
|
+
"Al Munastir",
|
653
|
+
"Al Qasrayn",
|
654
|
+
"Al Qayrawan",
|
655
|
+
"Bajah",
|
656
|
+
"Banzart",
|
657
|
+
"Bin",
|
658
|
+
"Jundubah",
|
659
|
+
"Kef",
|
660
|
+
"Madanin",
|
661
|
+
"Nabul",
|
662
|
+
"Qabis",
|
663
|
+
"Safaqis",
|
664
|
+
"Sidi Bu Zayd",
|
665
|
+
"Susah",
|
666
|
+
"Tunis"
|
667
|
+
].freeze,
|
668
|
+
|
669
|
+
"Turkey" => [
|
670
|
+
"Adana",
|
671
|
+
"Adiyaman",
|
672
|
+
"Afyonkarahisar",
|
673
|
+
"Ağrı",
|
674
|
+
"Amasya",
|
675
|
+
"Ankara",
|
676
|
+
"Antalya",
|
677
|
+
"Artvin",
|
678
|
+
"Aydin",
|
679
|
+
"Balikesir",
|
680
|
+
"Batman",
|
681
|
+
"Bilecik",
|
682
|
+
"Bingöl",
|
683
|
+
"Bitlis",
|
684
|
+
"Bolu",
|
685
|
+
"Burdur",
|
686
|
+
"Bursa",
|
687
|
+
"Çanakkale",
|
688
|
+
"Cankiri",
|
689
|
+
"Çorum",
|
690
|
+
"Denizli",
|
691
|
+
"Diyarbakir",
|
692
|
+
"Edirne",
|
693
|
+
"Elazığ",
|
694
|
+
"Erzincan",
|
695
|
+
"Erzurum",
|
696
|
+
"Eskişehir",
|
697
|
+
"Gaziantep",
|
698
|
+
"Giresun",
|
699
|
+
"Gumushane",
|
700
|
+
"Hakkari",
|
701
|
+
"Hatay",
|
702
|
+
"Icel",
|
703
|
+
"Isparta",
|
704
|
+
"Istanbul",
|
705
|
+
"Izmir",
|
706
|
+
"Kahramanmaraş",
|
707
|
+
"Karaman",
|
708
|
+
"Kars",
|
709
|
+
"Kastamonu",
|
710
|
+
"Kayseri",
|
711
|
+
"Kilis",
|
712
|
+
"Kirklareli",
|
713
|
+
"Kırşehir",
|
714
|
+
"Kocaeli",
|
715
|
+
"Konya",
|
716
|
+
"Kütahya",
|
717
|
+
"Malatya",
|
718
|
+
"Manisa",
|
719
|
+
"Muğla",
|
720
|
+
"Muş",
|
721
|
+
"Nevşehir",
|
722
|
+
"Nigde",
|
723
|
+
"Ordu",
|
724
|
+
"Osmaniye",
|
725
|
+
"Rize",
|
726
|
+
"Sakarya",
|
727
|
+
"Samsun",
|
728
|
+
"Şanlıurfa",
|
729
|
+
"Sinop",
|
730
|
+
"Sirnak",
|
731
|
+
"Sivas",
|
732
|
+
"Tekirdağ",
|
733
|
+
"Tokat",
|
734
|
+
"Trabzon",
|
735
|
+
"Tunceli",
|
736
|
+
"Uşak",
|
737
|
+
"Van",
|
738
|
+
"Yalova",
|
739
|
+
"Yozgat",
|
740
|
+
"Zonguldak",
|
741
|
+
"Ardahan"
|
742
|
+
].freeze,
|
743
|
+
|
744
|
+
"Ukraine" => [
|
745
|
+
"Dnipropetrovs'ka Oblast'",
|
746
|
+
"Donets'ka Oblast'",
|
747
|
+
"Ivano-Frankivs'ka Oblast'",
|
748
|
+
"Kharkivs'ka Oblast'",
|
749
|
+
"Krym",
|
750
|
+
"Kyyivs'ka Oblast'",
|
751
|
+
"L'vivs'ka Oblast'",
|
752
|
+
"Odes'ka Oblast'",
|
753
|
+
"Vinnyts'ka Oblast'",
|
754
|
+
"Zakarpats'ka Oblast'",
|
755
|
+
"Zaporiz'ka Oblast'",
|
756
|
+
"Cherkas'ka Oblast'",
|
757
|
+
"Chernivets'ka Oblast'",
|
758
|
+
"Mikolayivs'ka Oblast'",
|
759
|
+
"Poltavs'ka Oblast'",
|
760
|
+
"Rivnens'ka Oblast'",
|
761
|
+
"Ternopil's'ka Oblast'",
|
762
|
+
"Volyns'ka Oblast'"
|
763
|
+
].freeze,
|
764
|
+
|
765
|
+
"United Arab Emirates" => [
|
766
|
+
"Abu Dhabi",
|
767
|
+
"Ajman",
|
768
|
+
"Dubai",
|
769
|
+
"Fujairah",
|
770
|
+
"Ras Al Khaimah",
|
771
|
+
"Sharjah"
|
772
|
+
].freeze,
|
773
|
+
|
774
|
+
"United Kingdom" => [
|
775
|
+
"England",
|
776
|
+
"Scotland",
|
777
|
+
"Wales",
|
778
|
+
"Northern Ireland"
|
779
|
+
].freeze,
|
780
|
+
|
781
|
+
"United States" => [
|
782
|
+
"Alabama",
|
783
|
+
"Alaska",
|
784
|
+
"Arizona",
|
785
|
+
"Arkansas",
|
786
|
+
"California",
|
787
|
+
"Colorado",
|
788
|
+
"Connecticut",
|
789
|
+
"Delaware",
|
790
|
+
"Florida",
|
791
|
+
"Georgia",
|
792
|
+
"Hawaii",
|
793
|
+
"Idaho",
|
794
|
+
"Illinois",
|
795
|
+
"Indiana",
|
796
|
+
"Iowa",
|
797
|
+
"Kansas",
|
798
|
+
"Kentucky",
|
799
|
+
"Louisiana",
|
800
|
+
"Maine",
|
801
|
+
"Maryland",
|
802
|
+
"Massachusetts",
|
803
|
+
"Michigan",
|
804
|
+
"Minnesota",
|
805
|
+
"Mississippi",
|
806
|
+
"Missouri",
|
807
|
+
"Montana",
|
808
|
+
"Nebraska",
|
809
|
+
"Nevada",
|
810
|
+
"New Hampshire",
|
811
|
+
"New Jersey",
|
812
|
+
"New Mexico",
|
813
|
+
"New York",
|
814
|
+
"North Carolina",
|
815
|
+
"North Dakota",
|
816
|
+
"Ohio",
|
817
|
+
"Oklahoma",
|
818
|
+
"Oregon",
|
819
|
+
"Pennsylvania",
|
820
|
+
"Rhode Island",
|
821
|
+
"South Carolina",
|
822
|
+
"South Dakota",
|
823
|
+
"Tennessee",
|
824
|
+
"Texas",
|
825
|
+
"Utah",
|
826
|
+
"Vermont",
|
827
|
+
"Virginia",
|
828
|
+
"Washington",
|
829
|
+
"West Virginia",
|
830
|
+
"Wisconsin",
|
831
|
+
"Wyoming"
|
832
|
+
].freeze
|
833
|
+
}.freeze
|
834
|
+
|
835
|
+
REGIONS = REGIONS_BY_COUNTRY.values.flatten.freeze
|
836
|
+
|
837
|
+
end
|
838
|
+
end
|