uk_county_locator 0.1.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.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +19 -0
- data/Appraisals +21 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +168 -0
- data/Rakefile +12 -0
- data/lib/uk_county_locator/aliases/ceremonial_county_aliases.rb +180 -0
- data/lib/uk_county_locator/aliases/current_county_and_unitary_authority_aliases.rb +541 -0
- data/lib/uk_county_locator/aliases/historic_county_aliases.rb +316 -0
- data/lib/uk_county_locator/argument_validator.rb +56 -0
- data/lib/uk_county_locator/locator.rb +63 -0
- data/lib/uk_county_locator/polygon_fetcher.rb +81 -0
- data/lib/uk_county_locator/polygons/ceremonial_county_polygons.rb +85 -0
- data/lib/uk_county_locator/polygons/current_county_and_unitary_authority_polygons.rb +232 -0
- data/lib/uk_county_locator/polygons/historic_county_polygons.rb +103 -0
- data/lib/uk_county_locator/polylines_service.rb +31 -0
- data/lib/uk_county_locator/version.rb +5 -0
- data/lib/uk_county_locator.rb +35 -0
- data/sig/uk_county_locator.rbs +4 -0
- data/uk_county_locator-0.0.2.gem +0 -0
- data/uk_county_locator.gemspec +43 -0
- metadata +132 -0
@@ -0,0 +1,541 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module UkCountyLocator
|
4
|
+
module Aliases
|
5
|
+
# rubocop:disable Metrics/ModuleLength
|
6
|
+
module CurrentCountyAndUnitaryAuthorityAliases
|
7
|
+
CURRENT_COUNTY_AND_UNITARY_AUTHORITY_ALIASES = {
|
8
|
+
'Bracknell' => 'Bracknell Forest',
|
9
|
+
'London Borough of Tower Hamlets' => 'Tower Hamlets',
|
10
|
+
'The London Borough of Tower Hamlets' => 'Tower Hamlets',
|
11
|
+
'City of Coventry' => 'Coventry',
|
12
|
+
'Windsor & Maidenhead' => 'Windsor and Maidenhead',
|
13
|
+
'Royal Borough of Windsor and Maidenhead' => 'Windsor and Maidenhead',
|
14
|
+
'The Royal Borough of Windsor and Maidenhead' => 'Windsor and Maidenhead',
|
15
|
+
'Royal Borough of Windsor & Maidenhead' => 'Windsor and Maidenhead',
|
16
|
+
'The Royal Borough of Windsor & Maidenhead' => 'Windsor and Maidenhead',
|
17
|
+
'Windsor' => 'Windsor and Maidenhead',
|
18
|
+
'Maidenhead' => 'Windsor and Maidenhead',
|
19
|
+
'City of Nottingham' => 'Nottingham',
|
20
|
+
'Royal Borough of Greenwich' => 'Greenwich',
|
21
|
+
'The Royal Borough of Greenwich' => 'Greenwich',
|
22
|
+
'London Borough of Greenwich' => 'Greenwich',
|
23
|
+
'The London Borough of Greenwich' => 'Greenwich',
|
24
|
+
'Dundee' => 'Dundee City',
|
25
|
+
'Dev' => 'Devon',
|
26
|
+
'Cambs' => 'Cambridgeshire',
|
27
|
+
'City of Salford' => 'Salford',
|
28
|
+
'London Borough of Havering' => 'Havering',
|
29
|
+
'The London Borough of Havering' => 'Havering',
|
30
|
+
'Scilly Isles' => 'Isles of Scilly',
|
31
|
+
'Scilly' => 'Isles of Scilly',
|
32
|
+
'Scilly, Isles of' => 'Isles of Scilly',
|
33
|
+
'London Borough of Merton' => 'Merton',
|
34
|
+
'The London Borough of Merton' => 'Merton',
|
35
|
+
'Norf' => 'Norfolk',
|
36
|
+
'Suff' => 'Suffolk',
|
37
|
+
'City of Portsmouth' => 'Portsmouth',
|
38
|
+
'Neath Port Talbot County Borough' => 'Neath Port Talbot',
|
39
|
+
'Castell-nedd Port Talbot' => 'Neath Port Talbot',
|
40
|
+
'Bwrdeistref Sirol Castell-nedd Port Talbot' => 'Neath Port Talbot',
|
41
|
+
'London Borough of Bexley' => 'Bexley',
|
42
|
+
'The London Borough of Bexley' => 'Bexley',
|
43
|
+
'Lisburn & Castlereagh' => 'Lisburn and Castlereagh',
|
44
|
+
'Conway' => 'Conwy',
|
45
|
+
'Wilts' => 'Wiltshire',
|
46
|
+
'City of Leeds' => 'Leeds',
|
47
|
+
'E Sussex' => 'East Sussex',
|
48
|
+
'East Sx' => 'East Sussex',
|
49
|
+
'E Sx' => 'East Sussex',
|
50
|
+
'E Ssx' => 'East Sussex',
|
51
|
+
'East Ssx' => 'East Sussex',
|
52
|
+
'East Suss' => 'East Sussex',
|
53
|
+
'E Suss' => 'East Sussex',
|
54
|
+
'N Lanarkshire' => 'North Lanarkshire',
|
55
|
+
'North Lanark' => 'North Lanarkshire',
|
56
|
+
'N Lanark' => 'North Lanarkshire',
|
57
|
+
'Siorrachd Lannraig a Tuath' => 'North Lanarkshire',
|
58
|
+
'Lannraig a Tuath' => 'North Lanarkshire',
|
59
|
+
'London Borough of Sutton' => 'Sutton',
|
60
|
+
'The London Borough of Sutton' => 'Sutton',
|
61
|
+
'Borough of Halton' => 'Halton',
|
62
|
+
'Sir Fynwy' => 'Monmouthshire',
|
63
|
+
'Fynwy' => 'Monmouthshire',
|
64
|
+
'Monmouth' => 'Monmouthshire',
|
65
|
+
'N Lincolnshire' => 'North Lincolnshire',
|
66
|
+
'North Lincs' => 'North Lincolnshire',
|
67
|
+
'N Lincs' => 'North Lincolnshire',
|
68
|
+
'St Helens' => 'St. Helens',
|
69
|
+
'Saint Helens' => 'St. Helens',
|
70
|
+
'Metropolitan Borough of St. Helens' => 'St. Helens',
|
71
|
+
'Metropolitan Borough of St Helens' => 'St. Helens',
|
72
|
+
'Metropolitan Borough of Saint Helens' => 'St. Helens',
|
73
|
+
'Caerphilly County Borough' => 'Caerphilly',
|
74
|
+
'Bwrdeistref Sirol Caerffili' => 'Caerphilly',
|
75
|
+
'Caerffili' => 'Caerphilly',
|
76
|
+
'South Glos' => 'South Gloucestershire',
|
77
|
+
'South Gloucs' => 'South Gloucestershire',
|
78
|
+
'S Gloucestershire' => 'South Gloucestershire',
|
79
|
+
'S Glos' => 'South Gloucestershire',
|
80
|
+
'S Gloucs' => 'South Gloucestershire',
|
81
|
+
'Glos' => 'Gloucestershire',
|
82
|
+
'Gloucs' => 'Gloucestershire',
|
83
|
+
'Wrexham County Borough' => 'Wrexham',
|
84
|
+
'Bwrdeistref Sirol Wrecsam' => 'Wrexham',
|
85
|
+
'Wrecsam' => 'Wrexham',
|
86
|
+
'Ard Mhacha, Droichead na Banna agus Creag Abhann' => 'Armagh City, Banbridge and Craigavon',
|
87
|
+
'Airmagh, Bannbrig an Craigavon' => 'Armagh City, Banbridge and Craigavon',
|
88
|
+
'Armagh City, Banbridge & Craigavon' => 'Armagh City, Banbridge and Craigavon',
|
89
|
+
'Armagh City' => 'Armagh City, Banbridge and Craigavon',
|
90
|
+
'Banbridge' => 'Armagh City, Banbridge and Craigavon',
|
91
|
+
'Craigavon' => 'Armagh City, Banbridge and Craigavon',
|
92
|
+
'Metropolitan Borough of Walsall' => 'Walsall',
|
93
|
+
'Bournemouth, Christchurch & Poole' => 'Bournemouth, Christchurch and Poole',
|
94
|
+
'Bournemouth Christchurch Poole' => 'Bournemouth, Christchurch and Poole',
|
95
|
+
'Aber' => 'Aberdeenshire',
|
96
|
+
'County of Aberdeen' => 'Aberdeenshire',
|
97
|
+
'Siorrachd Obar Dheathain' => 'Aberdeenshire',
|
98
|
+
'London Borough of Camden' => 'Camden',
|
99
|
+
'The London Borough of Camden' => 'Camden',
|
100
|
+
'East Cheshire' => 'Cheshire East',
|
101
|
+
'E Ches' => 'Cheshire East',
|
102
|
+
'Ches East' => 'Cheshire East',
|
103
|
+
'Ches E' => 'Cheshire East',
|
104
|
+
'City of Belfast' => 'Belfast',
|
105
|
+
'Béal Feirste' => 'Belfast',
|
106
|
+
'Beal Feirste' => 'Belfast',
|
107
|
+
'Bilfawst' => 'Belfast',
|
108
|
+
'Aberdeen' => 'Aberdeen City',
|
109
|
+
'Obar Dheathain' => 'Aberdeen City',
|
110
|
+
'Edinburgh' => 'City of Edinburgh',
|
111
|
+
'Dùn Èideann' => 'City of Edinburgh',
|
112
|
+
'Dun Eideann' => 'City of Edinburgh',
|
113
|
+
'Comhairle Baile Dhùn Èideann' => 'City of Edinburgh',
|
114
|
+
'Comhairle Baile Dhun Eideann' => 'City of Edinburgh',
|
115
|
+
'Westmorland & Furness' => 'Westmorland and Furness',
|
116
|
+
'Westmorland' => 'Westmorland and Furness',
|
117
|
+
'Furness' => 'Westmorland and Furness',
|
118
|
+
'North East Lincs' => 'North East Lincolnshire',
|
119
|
+
'NE Lincolnshire' => 'North East Lincolnshire',
|
120
|
+
'NE Lincs' => 'North East Lincolnshire',
|
121
|
+
'City of Bristol' => 'Bristol',
|
122
|
+
'City of Leicester' => 'Leicester',
|
123
|
+
'London Borough of Harrow' => 'Harrow',
|
124
|
+
'The London Borough of Harrow' => 'Harrow',
|
125
|
+
'Ards & North Down' => 'Ards and North Down',
|
126
|
+
'Ards' => 'Ards and North Down',
|
127
|
+
'North Down' => 'Ards and North Down',
|
128
|
+
'Na hArda agus an Dún Thuaidh' => 'Ards and North Down',
|
129
|
+
'Na hArda agus an Dun Thuaidh' => 'Ards and North Down',
|
130
|
+
'Causeway Coast & Glens' => 'Causeway Coast and Glens',
|
131
|
+
'Causeway Coast' => 'Causeway Coast and Glens',
|
132
|
+
'Glens' => 'Causeway Coast and Glens',
|
133
|
+
'Cósta an Chlocháin agus na Gleannta' => 'Causeway Coast and Glens',
|
134
|
+
'Costa an Chlochain agus na Gleannta' => 'Causeway Coast and Glens',
|
135
|
+
'Causey Coast an Glens' => 'Causeway Coast and Glens',
|
136
|
+
'London Borough of Newham' => 'Newham',
|
137
|
+
'The London Borough of Newham' => 'Newham',
|
138
|
+
'Metropolitan Borough of Gateshead' => 'Gateshead',
|
139
|
+
'Worcs' => 'Worcestershire',
|
140
|
+
'Worsts' => 'Worcestershire',
|
141
|
+
'Flint' => 'Flintshire',
|
142
|
+
'Flints' => 'Flintshire',
|
143
|
+
'Sir y Fflint' => 'Flintshire',
|
144
|
+
'Fflint' => 'Flintshire',
|
145
|
+
'Mid-Ulster' => 'Mid Ulster',
|
146
|
+
'Ceantar Lár Uladh' => 'Mid Ulster',
|
147
|
+
'Ceantar Lar Uladh' => 'Mid Ulster',
|
148
|
+
'Torfaen County Borough' => 'Torfaen',
|
149
|
+
'Bwrdeistref Sirol Torfaen' => 'Torfaen',
|
150
|
+
'E Renfrewshire' => 'East Renfrewshire',
|
151
|
+
'East Renfrew' => 'East Renfrewshire',
|
152
|
+
'E Renfrew' => 'East Renfrewshire',
|
153
|
+
'Siorrachd Rinn Friù an Ear' => 'East Renfrewshire',
|
154
|
+
'Siorrachd Rinn Friu an Ear' => 'East Renfrewshire',
|
155
|
+
'Orkney' => 'Orkney Islands',
|
156
|
+
'Arcaibh' => 'Orkney Islands',
|
157
|
+
'Metropolitan Borough of Rotherham' => 'Rotherham',
|
158
|
+
'Borough of Torbay' => 'Torbay',
|
159
|
+
'W Sussex' => 'West Sussex',
|
160
|
+
'West Sx' => 'West Sussex',
|
161
|
+
'W Sx' => 'West Sussex',
|
162
|
+
'W Ssx' => 'West Sussex',
|
163
|
+
'West Ssx' => 'West Sussex',
|
164
|
+
'West Suss' => 'West Sussex',
|
165
|
+
'W Suss' => 'West Sussex',
|
166
|
+
'West Northants' => 'West Northamptonshire',
|
167
|
+
'W Northamptonshire' => 'West Northamptonshire',
|
168
|
+
'W Northants' => 'West Northamptonshire',
|
169
|
+
'W Lothian' => 'West Lothian',
|
170
|
+
'West Loth' => 'West Lothian',
|
171
|
+
'W Loth' => 'West Lothian',
|
172
|
+
'Lodainn an Iar' => 'West Lothian',
|
173
|
+
'Bucks' => 'Buckinghamshire',
|
174
|
+
'Hants' => 'Hampshire',
|
175
|
+
'Barking & Dagenham' => 'Barking and Dagenham',
|
176
|
+
'London Borough of Barking & Dagenham' => 'Barking and Dagenham',
|
177
|
+
'The London Borough of Barking & Dagenham' => 'Barking and Dagenham',
|
178
|
+
'London Borough of Barking and Dagenham' => 'Barking and Dagenham',
|
179
|
+
'The London Borough of Barking and Dagenham' => 'Barking and Dagenham',
|
180
|
+
'Argyll & Bute' => 'Argyll and Bute',
|
181
|
+
'Argyll' => 'Argyll and Bute',
|
182
|
+
'Bute' => 'Argyll and Bute',
|
183
|
+
'Earra-Ghaidheal agus Bòd' => 'Argyll and Bute',
|
184
|
+
'Earra-Ghaidheal agus Bod' => 'Argyll and Bute',
|
185
|
+
'Bridgend County Borough' => 'Bridgend',
|
186
|
+
'Bwrdeistref Sirol Pen-y-bont ar Ogwr' => 'Bridgend',
|
187
|
+
'Pen-y-bont ar Ogwr' => 'Bridgend',
|
188
|
+
'London Borough of Southwark' => 'Southwark',
|
189
|
+
'The London Borough of Southwark' => 'Southwark',
|
190
|
+
'Staffs' => 'Staffordshire',
|
191
|
+
'Staf' => 'Staffordshire',
|
192
|
+
'Perth & Kinross' => 'Perth and Kinross',
|
193
|
+
'Perth' => 'Perth and Kinross',
|
194
|
+
'Kinross' => 'Perth and Kinross',
|
195
|
+
'Peairt agus Ceann Rois' => 'Perth and Kinross',
|
196
|
+
'Rhondda Cynon Taf County Borough' => 'Rhondda Cynon Taf',
|
197
|
+
'Bwrdeistref Sirol Rhondda Cynon Taf' => 'Rhondda Cynon Taf',
|
198
|
+
'London Borough of Brent' => 'Brent',
|
199
|
+
'The London Borough of Brent' => 'Brent',
|
200
|
+
'Rutlandshire' => 'Rutland',
|
201
|
+
'Rut' => 'Rutland',
|
202
|
+
'City of Milton Keynes' => 'Milton Keynes',
|
203
|
+
'Northumb' => 'Northumberland',
|
204
|
+
'Northd' => 'Northumberland',
|
205
|
+
'Inbhir Chluaidh' => 'Inverclyde',
|
206
|
+
'Eilean Siar (Western Isles)' => 'Na h-Eileanan Siar',
|
207
|
+
'Western Isles' => 'Na h-Eileanan Siar',
|
208
|
+
'Eilean Siar' => 'Na h-Eileanan Siar',
|
209
|
+
'Outer Hebrides' => 'Na h-Eileanan Siar',
|
210
|
+
'London Borough of Hackney' => 'Hackney',
|
211
|
+
'The London Borough of Hackney' => 'Hackney',
|
212
|
+
'Telford & Wrekin' => 'Telford and Wrekin',
|
213
|
+
'Telford' => 'Telford and Wrekin',
|
214
|
+
'Metropolitan Borough of Rochdale' => 'Rochdale',
|
215
|
+
'Metropolitan Borough of Knowsley' => 'Knowsley',
|
216
|
+
'Merthyr Tydfil County Borough' => 'Merthyr Tydfil',
|
217
|
+
'Warks' => 'Warwickshire',
|
218
|
+
'War' => 'Warwickshire',
|
219
|
+
'Warw' => 'Warwickshire',
|
220
|
+
'Dumfries & Galloway' => 'Dumfries and Galloway',
|
221
|
+
'Dumfries' => 'Dumfries and Galloway',
|
222
|
+
'Galloway' => 'Dumfries and Galloway',
|
223
|
+
'Dùn Phris is Gall-Ghaidhealaibh' => 'Dumfries and Galloway',
|
224
|
+
'Dun Phris is Gall-Ghaidhealaibh' => 'Dumfries and Galloway',
|
225
|
+
'Dùn Phris' => 'Dumfries and Galloway',
|
226
|
+
'Dun Phris' => 'Dumfries and Galloway',
|
227
|
+
'Gall-Ghaidhealaibh' => 'Dumfries and Galloway',
|
228
|
+
'Surr' => 'Surrey',
|
229
|
+
'Sy' => 'Surrey',
|
230
|
+
'Casnewydd' => 'Newport',
|
231
|
+
'Clackm' => 'Clackmannanshire',
|
232
|
+
'Siorrachd Chlach Mhanann' => 'Clackmannanshire',
|
233
|
+
'Chlach Mhanann' => 'Clackmannanshire',
|
234
|
+
'City and County of Swansea' => 'Swansea',
|
235
|
+
'City of Swansea' => 'Swansea',
|
236
|
+
'Dinas a Sir Abertawe' => 'Swansea',
|
237
|
+
'Abertawe' => 'Swansea',
|
238
|
+
'City of Birmingham' => 'Birmingham',
|
239
|
+
'Vale of Glamorgan County Borough' => 'Vale of Glamorgan',
|
240
|
+
'Bwrdeistref Sirol Bro Morgannwg' => 'Vale of Glamorgan',
|
241
|
+
'Bro Morgannwg' => 'Vale of Glamorgan',
|
242
|
+
'Borough of Darlington' => 'Darlington',
|
243
|
+
'London Borough of Hillingdon' => 'Hillingdon',
|
244
|
+
'The London Borough of Hillingdon' => 'Hillingdon',
|
245
|
+
'Metropolitan Borough of Dudley' => 'Dudley',
|
246
|
+
'Borough of Dudley' => 'Dudley',
|
247
|
+
'Borough of Sandwell' => 'Sandwell',
|
248
|
+
'Herts' => 'Hertfordshire',
|
249
|
+
'City of Bradford' => 'Bradford',
|
250
|
+
'Metropolitan Borough of Solihull' => 'Solihull',
|
251
|
+
'Borough of Solihull' => 'Solihull',
|
252
|
+
'City of Manchester' => 'Manchester',
|
253
|
+
'Lincs' => 'Lincolnshire',
|
254
|
+
'London Borough of Kingston upon Thames' => 'Kingston upon Thames',
|
255
|
+
'London Borough of Kingston' => 'Kingston upon Thames',
|
256
|
+
'Kingston' => 'Kingston upon Thames',
|
257
|
+
'The London Borough of Kingston upon Thames' => 'Kingston upon Thames',
|
258
|
+
'The Royal Borough of Kingston upon Thames' => 'Kingston upon Thames',
|
259
|
+
'Royal Borough of Kingston upon Thames' => 'Kingston upon Thames',
|
260
|
+
'Stoke on Trent' => 'Stoke-on-Trent',
|
261
|
+
'Stoke' => 'Stoke-on-Trent',
|
262
|
+
'City of Stoke-on-Trent' => 'Stoke-on-Trent',
|
263
|
+
'City of Stoke on Trent' => 'Stoke-on-Trent',
|
264
|
+
'Shetland' => 'Shetland Islands',
|
265
|
+
'Zetland' => 'Shetland Islands',
|
266
|
+
'Sealtainn' => 'Shetland Islands',
|
267
|
+
'Leics' => 'Leicestershire',
|
268
|
+
'City of Derby' => 'Derby',
|
269
|
+
'Bath & North East Somerset' => 'Bath and North East Somerset',
|
270
|
+
'Bath' => 'Bath and North East Somerset',
|
271
|
+
'Bath and North East Som' => 'Bath and North East Somerset',
|
272
|
+
'Bath & North East Som' => 'Bath and North East Somerset',
|
273
|
+
'Bath and NE Somerset' => 'Bath and North East Somerset',
|
274
|
+
'Bath & NE Somerset' => 'Bath and North East Somerset',
|
275
|
+
'Bath and NE Som' => 'Bath and North East Somerset',
|
276
|
+
'Bath & NE Som' => 'Bath and North East Somerset',
|
277
|
+
'North East Somerset' => 'Bath and North East Somerset',
|
278
|
+
'North East Som' => 'Bath and North East Somerset',
|
279
|
+
'NE Somerset' => 'Bath and North East Somerset',
|
280
|
+
'NE Som' => 'Bath and North East Somerset',
|
281
|
+
'Hull' => 'City of Kingston upon Hull',
|
282
|
+
'Kingston upon Hull' => 'City of Kingston upon Hull',
|
283
|
+
'Carms' => 'Carmarthenshire',
|
284
|
+
'Carmarthen' => 'Carmarthenshire',
|
285
|
+
'Sir Gaerfyrddin' => 'Carmarthenshire',
|
286
|
+
'Gaerfyrddin' => 'Carmarthenshire',
|
287
|
+
'Renfrew' => 'Renfrewshire',
|
288
|
+
'Siorrachd Rinn Friù' => 'Renfrewshire',
|
289
|
+
'Siorrachd Rinn Friu' => 'Renfrewshire',
|
290
|
+
'Rinn Friù' => 'Renfrewshire',
|
291
|
+
'Rinn Friu' => 'Renfrewshire',
|
292
|
+
'Borough of Bedford' => 'Bedford',
|
293
|
+
'Isle Wight' => 'Isle of Wight',
|
294
|
+
'London Borough of Wandsworth' => 'Wandsworth',
|
295
|
+
'The London Borough of Wandsworth' => 'Wandsworth',
|
296
|
+
'City of Wakefield' => 'Wakefield',
|
297
|
+
'Denbigh' => 'Denbighshire',
|
298
|
+
'Denbs' => 'Denbighshire',
|
299
|
+
'Sir Ddinbych' => 'Denbighshire',
|
300
|
+
'Ddinbych' => 'Denbighshire',
|
301
|
+
'Newcastle' => 'Newcastle upon Tyne',
|
302
|
+
'West Berks' => 'West Berkshire',
|
303
|
+
'W Berkshire' => 'West Berkshire',
|
304
|
+
'W Berks' => 'West Berkshire',
|
305
|
+
'Southend on Sea' => 'Southend-on-Sea',
|
306
|
+
'Southend' => 'Southend-on-Sea',
|
307
|
+
'City of Southend-on-Sea' => 'Southend-on-Sea',
|
308
|
+
'City of Wolverhampton' => 'Wolverhampton',
|
309
|
+
'South Lanarks' => 'South Lanarkshire',
|
310
|
+
'S Lanarkshire' => 'South Lanarkshire',
|
311
|
+
'S Lanarks' => 'South Lanarkshire',
|
312
|
+
'Siorrachd Lannraig a Deas' => 'South Lanarkshire',
|
313
|
+
'Borough of Tameside' => 'Tameside',
|
314
|
+
'Blaenau Gwent County Borough' => 'Blaenau Gwent',
|
315
|
+
'Bwrdeistref Sirol Blaenau Gwent' => 'Blaenau Gwent',
|
316
|
+
'Derbs' => 'Derbyshire',
|
317
|
+
'East Ayr' => 'East Ayrshire',
|
318
|
+
'E Ayrshire' => 'East Ayrshire',
|
319
|
+
'E Ayr' => 'East Ayrshire',
|
320
|
+
'Siorrachd Àir an Ear' => 'East Ayrshire',
|
321
|
+
'Siorrachd Air an Ear' => 'East Ayrshire',
|
322
|
+
'Kensington & Chelsea' => 'Kensington and Chelsea',
|
323
|
+
'London Borough of Kensington and Chelsea' => 'Kensington and Chelsea',
|
324
|
+
'London Borough of Kensington & Chelsea' => 'Kensington and Chelsea',
|
325
|
+
'The London Borough of Kensington and Chelsea' => 'Kensington and Chelsea',
|
326
|
+
'The London Borough of Kensington & Chelsea' => 'Kensington and Chelsea',
|
327
|
+
'Royal Borough of Kensington and Chelsea' => 'Kensington and Chelsea',
|
328
|
+
'Royal Borough of Kensington & Chelsea' => 'Kensington and Chelsea',
|
329
|
+
'The Royal Borough of Kensington and Chelsea' => 'Kensington and Chelsea',
|
330
|
+
'The Royal Borough of Kensington & Chelsea' => 'Kensington and Chelsea',
|
331
|
+
'Mid & East Antrim' => 'Mid and East Antrim',
|
332
|
+
'Mid Antrim' => 'Mid and East Antrim',
|
333
|
+
'East Antrim' => 'Mid and East Antrim',
|
334
|
+
'Lár agus Oir-Aontroime' => 'Mid and East Antrim',
|
335
|
+
'Lar agus Oir-Aontroime' => 'Mid and East Antrim',
|
336
|
+
'Newry Mourne Down' => 'Newry, Mourne and Down',
|
337
|
+
'Newry' => 'Newry, Mourne and Down',
|
338
|
+
'Mourne' => 'Newry, Mourne and Down',
|
339
|
+
'Down' => 'Newry, Mourne and Down',
|
340
|
+
'Newry, Mourne & Down' => 'Newry, Mourne and Down',
|
341
|
+
'Iúr Cinn Trá, Múrna agus An Dún' => 'Newry, Mourne and Down',
|
342
|
+
'Iur Cinn Tra, Múrna agus An Dun' => 'Newry, Mourne and Down',
|
343
|
+
'Newrie, Morne an Doon' => 'Newry, Mourne and Down',
|
344
|
+
'Cardiganshire' => 'Ceredigion',
|
345
|
+
'Sir Ceredigion' => 'Ceredigion',
|
346
|
+
'Dor' => 'Dorset',
|
347
|
+
'London Borough of Ealing' => 'Ealing',
|
348
|
+
'The London Borough of Ealing' => 'Ealing',
|
349
|
+
'Oxon' => 'Oxfordshire',
|
350
|
+
'City of Plymouth' => 'Plymouth',
|
351
|
+
'Fìobha' => 'Fife',
|
352
|
+
'Fiobha' => 'Fife',
|
353
|
+
'West Dunbar' => 'West Dunbartonshire',
|
354
|
+
'W Dunbartonshire' => 'West Dunbartonshire',
|
355
|
+
'W Dunbar' => 'West Dunbartonshire',
|
356
|
+
'Siorrachd Dhùn Breatann an Iar' => 'West Dunbartonshire',
|
357
|
+
'Siorrachd Dhun Breatann an Iar' => 'West Dunbartonshire',
|
358
|
+
'City of Sunderland' => 'Sunderland',
|
359
|
+
'Moray' => 'Morayshire',
|
360
|
+
'County of Moray' => 'Morayshire',
|
361
|
+
'Moireibh' => 'Morayshire',
|
362
|
+
'Metropolitan Borough of Oldham' => 'Oldham',
|
363
|
+
'Borough of Oldham' => 'Oldham',
|
364
|
+
'London Borough of Hounslow' => 'Hounslow',
|
365
|
+
'The London Borough of Hounslow' => 'Hounslow',
|
366
|
+
'Blackburn' => 'Blackburn with Darwen',
|
367
|
+
'Blackburn & Darwen' => 'Blackburn with Darwen',
|
368
|
+
'Borough of Blackburn with Darwen' => 'Blackburn with Darwen',
|
369
|
+
'Metropolitan Borough of Wirral' => 'Wirral',
|
370
|
+
'Borough of Wirral' => 'Wirral',
|
371
|
+
'Borough of Luton' => 'Luton',
|
372
|
+
'Caerdydd' => 'Cardiff',
|
373
|
+
'City of Cardiff' => 'Cardiff',
|
374
|
+
'London Borough of Bromley' => 'Bromley',
|
375
|
+
'The London Borough of Bromley' => 'Bromley',
|
376
|
+
'London Borough of Islington' => 'Islington',
|
377
|
+
'The London Borough of Islington' => 'Islington',
|
378
|
+
'N Yorkshire' => 'North Yorkshire',
|
379
|
+
'N Yorks' => 'North Yorkshire',
|
380
|
+
'North Yorks' => 'North Yorkshire',
|
381
|
+
'City of Sheffield' => 'Sheffield',
|
382
|
+
'City of Westminster' => 'Westminster',
|
383
|
+
'London Borough of the City of Westminster' => 'Westminster',
|
384
|
+
'The London Borough of the City of Westminster' => 'Westminster',
|
385
|
+
'London Borough of Westminster' => 'Westminster',
|
386
|
+
'The London Borough of Westminster' => 'Westminster',
|
387
|
+
'City of Peterborough' => 'Peterborough',
|
388
|
+
'Borough of Wokingham' => 'Wokingham',
|
389
|
+
'Redcar & Cleveland' => 'Redcar and Cleveland',
|
390
|
+
'Redcar' => 'Redcar and Cleveland',
|
391
|
+
'Cleveland' => 'Redcar and Cleveland',
|
392
|
+
'Borough of Redcar and Cleveland' => 'Redcar and Cleveland',
|
393
|
+
'Borough of Redcar & Cleveland' => 'Redcar and Cleveland',
|
394
|
+
'Borough of Reading' => 'Reading',
|
395
|
+
'Anglesey' => 'Isle of Anglesey',
|
396
|
+
'Ynys Môn' => 'Isle of Anglesey',
|
397
|
+
'Ynys Mon' => 'Isle of Anglesey',
|
398
|
+
'Midloth' => 'Midlothian',
|
399
|
+
'Meadhan Lodainn' => 'Midlothian',
|
400
|
+
'Glasgow' => 'Glasgow City',
|
401
|
+
'Glaschu' => 'Glasgow City',
|
402
|
+
'Aonghas' => 'Angus',
|
403
|
+
'London Borough of Croydon' => 'Croydon',
|
404
|
+
'The London Borough of Croydon' => 'Croydon',
|
405
|
+
'Metropolitan Borough of Barnsley' => 'Barnsley',
|
406
|
+
'Borough of Barnsley' => 'Barnsley',
|
407
|
+
'North Ayr' => 'North Ayrshire',
|
408
|
+
'N Ayrshire' => 'North Ayrshire',
|
409
|
+
'N Ayr' => 'North Ayrshire',
|
410
|
+
'Siorrachd Àir a Tuath' => 'North Ayrshire',
|
411
|
+
'Siorrachd Air a Tuath' => 'North Ayrshire',
|
412
|
+
'Àir a Tuath' => 'North Ayrshire',
|
413
|
+
'Air a Tuath' => 'North Ayrshire',
|
414
|
+
'North Som' => 'North Somerset',
|
415
|
+
'N Somerset' => 'North Somerset',
|
416
|
+
'N Som' => 'North Somerset',
|
417
|
+
'Borough of Thurrock' => 'Thurrock',
|
418
|
+
'East Yorkshire' => 'East Riding of Yorkshire',
|
419
|
+
'East Yorks' => 'East Riding of Yorkshire',
|
420
|
+
'E Yorkshire' => 'East Riding of Yorkshire',
|
421
|
+
'E Yorks' => 'East Riding of Yorkshire',
|
422
|
+
'Durham' => 'County Durham',
|
423
|
+
'Co Durham' => 'County Durham',
|
424
|
+
'Co Dur' => 'County Durham',
|
425
|
+
'Dur' => 'County Durham',
|
426
|
+
'Metropolitan Borough of Bury' => 'Bury',
|
427
|
+
'Borough of Bury' => 'Bury',
|
428
|
+
'London Borough of Barnet' => 'Barnet',
|
429
|
+
'The London Borough of Barnet' => 'Barnet',
|
430
|
+
'East Dunbar' => 'East Dunbartonshire',
|
431
|
+
'E Dunbartonshire' => 'East Dunbartonshire',
|
432
|
+
'Siorrachd Dhùn Bhreatann an Ear ' => 'East Dunbartonshire',
|
433
|
+
'Siorrachd Dhun Bhreatann an Ear ' => 'East Dunbartonshire',
|
434
|
+
'Dhùn Bhreatann an Ear ' => 'East Dunbartonshire',
|
435
|
+
'Dhun Bhreatann an Ear ' => 'East Dunbartonshire',
|
436
|
+
'Cheshire West & Chester' => 'Cheshire West and Chester',
|
437
|
+
'Cheshire West' => 'Cheshire West and Chester',
|
438
|
+
'Chester' => 'Cheshire West and Chester',
|
439
|
+
'West Cheshire' => 'Cheshire West and Chester',
|
440
|
+
'West Ches' => 'Cheshire West and Chester',
|
441
|
+
'W Ches' => 'Cheshire West and Chester',
|
442
|
+
'Brighton & Hove' => 'Brighton and Hove',
|
443
|
+
'Brighton' => 'Brighton and Hove',
|
444
|
+
'City of Brighton and Hove' => 'Brighton and Hove',
|
445
|
+
'City of Brighton & Hove' => 'Brighton and Hove',
|
446
|
+
'Sruighlea' => 'Stirling',
|
447
|
+
'London Borough of Redbridge' => 'Redbridge',
|
448
|
+
'The London Borough of Redbridge' => 'Redbridge',
|
449
|
+
'London Borough of Enfield' => 'Enfield',
|
450
|
+
'The London Borough of Enfield' => 'Enfield',
|
451
|
+
'City of Doncaster' => 'Doncaster',
|
452
|
+
'Shrops' => 'Shropshire',
|
453
|
+
'Salop' => 'Shropshire',
|
454
|
+
'Pembs' => 'Pembrokeshire',
|
455
|
+
'Pem' => 'Pembrokeshire',
|
456
|
+
'Pemb' => 'Pembrokeshire',
|
457
|
+
'Pembroke' => 'Pembrokeshire',
|
458
|
+
'Sir Benfro' => 'Pembrokeshire',
|
459
|
+
'Benfro' => 'Pembrokeshire',
|
460
|
+
'Sir Penfro' => 'Pembrokeshire',
|
461
|
+
'Penfro' => 'Pembrokeshire',
|
462
|
+
'Borough of Slough' => 'Slough',
|
463
|
+
'S Ayrshire' => 'South Ayrshire',
|
464
|
+
'S Ayr' => 'South Ayrshire',
|
465
|
+
'Siorrachd Àir a Deas' => 'South Ayrshire',
|
466
|
+
'Siorrachd Air a Deas' => 'South Ayrshire',
|
467
|
+
'Àir a Deas' => 'South Ayrshire',
|
468
|
+
'Air a Deas' => 'South Ayrshire',
|
469
|
+
'London Borough of Waltham Forest' => 'Waltham Forest',
|
470
|
+
'The London Borough of Waltham Forest' => 'Waltham Forest',
|
471
|
+
'Derry City & Strabane' => 'Derry City and Strabane',
|
472
|
+
'Derry City' => 'Derry City and Strabane',
|
473
|
+
'Doire agus An Srath Bán' => 'Derry City and Strabane',
|
474
|
+
'Doire agus An Srath Ban' => 'Derry City and Strabane',
|
475
|
+
'Derry Cittie an Stràbane' => 'Derry City and Strabane',
|
476
|
+
'Derry Cittie an Strabane' => 'Derry City and Strabane',
|
477
|
+
'Hammersmith & Fulham' => 'Hammersmith and Fulham',
|
478
|
+
'London Borough of Hammersmith and Fulham' => 'Hammersmith and Fulham',
|
479
|
+
'London Borough of Hammersmith & Fulham' => 'Hammersmith and Fulham',
|
480
|
+
'The London Borough of Hammersmith and Fulham' => 'Hammersmith and Fulham',
|
481
|
+
'The London Borough of Hammersmith & Fulham' => 'Hammersmith and Fulham',
|
482
|
+
'Metropolitan Borough of South Tyneside' => 'South Tyneside',
|
483
|
+
'Borough of South Tyneside' => 'South Tyneside',
|
484
|
+
'S Tyneside' => 'South Tyneside',
|
485
|
+
'East Loth' => 'East Lothian',
|
486
|
+
'E Lothian' => 'East Lothian',
|
487
|
+
'E Loth' => 'East Lothian',
|
488
|
+
'Lodainn an Ear' => 'East Lothian',
|
489
|
+
'London Borough of Lambeth' => 'Lambeth',
|
490
|
+
'The London Borough of Lambeth' => 'Lambeth',
|
491
|
+
'Here' => 'Herefordshire',
|
492
|
+
'Heref' => 'Herefordshire',
|
493
|
+
'Fermanagh & Omagh' => 'Fermanagh and Omagh',
|
494
|
+
'Fermanagh' => 'Fermanagh and Omagh',
|
495
|
+
'Omagh' => 'Fermanagh and Omagh',
|
496
|
+
'Fear Manach agus An Ómaigh' => 'Fermanagh and Omagh',
|
497
|
+
'Fear Manach agus An Omaigh' => 'Fermanagh and Omagh',
|
498
|
+
'Fermanay an Omey' => 'Fermanagh and Omagh',
|
499
|
+
'Richmond' => 'Richmond upon Thames',
|
500
|
+
'London Borough of Richmond upon Thames' => 'Richmond upon Thames',
|
501
|
+
'The London Borough of Richmond upon Thames' => 'Richmond upon Thames',
|
502
|
+
'Borough of Hartlepool' => 'Hartlepool',
|
503
|
+
'N Northamptonshire' => 'North Northamptonshire',
|
504
|
+
'North Northants' => 'North Northamptonshire',
|
505
|
+
'N Northants' => 'North Northamptonshire',
|
506
|
+
'The City of London' => 'City of London',
|
507
|
+
'Borough of Middlesbrough' => 'Middlesbrough',
|
508
|
+
'Stockton on Tees' => 'Stockton-on-Tees',
|
509
|
+
'Stockton' => 'Stockton-on-Tees',
|
510
|
+
'Borough of Stockton-on-Tees' => 'Stockton-on-Tees',
|
511
|
+
'Borough of Stockton on Tees' => 'Stockton-on-Tees',
|
512
|
+
'City of York' => 'York',
|
513
|
+
'London Borough of Lewisham' => 'Lewisham',
|
514
|
+
'The London Borough of Lewisham' => 'Lewisham',
|
515
|
+
'An Eaglais Bhreac' => 'Falkirk',
|
516
|
+
'Som' => 'Somerset',
|
517
|
+
'Borough of Calderdale' => 'Calderdale',
|
518
|
+
'Notts' => 'Nottinghamshire',
|
519
|
+
'Corn' => 'Cornwall',
|
520
|
+
'Cornw' => 'Cornwall',
|
521
|
+
'Metropolitan Borough of Sefton' => 'Sefton',
|
522
|
+
'Borough of Sefton' => 'Sefton',
|
523
|
+
'City of Southampton' => 'Southampton',
|
524
|
+
'London Borough of Haringey' => 'Haringey',
|
525
|
+
'The London Borough of Haringey' => 'Haringey',
|
526
|
+
'Antrim & Newtownabbey' => 'Antrim and Newtownabbey',
|
527
|
+
'Aontroim agus Baile Nua na Mainistreach' => 'Antrim and Newtownabbey',
|
528
|
+
'Anthrim an Newtownabbey' => 'Antrim and Newtownabbey',
|
529
|
+
'City of Liverpool' => 'Liverpool',
|
530
|
+
'Borders' => 'Scottish Borders',
|
531
|
+
'Crìochan na h-Alba' => 'Scottish Borders',
|
532
|
+
'Criochan na h-Alba' => 'Scottish Borders',
|
533
|
+
'Metropolitan Borough of North Tyneside' => 'North Tyneside',
|
534
|
+
'Borough of North Tyneside' => 'North Tyneside',
|
535
|
+
'N Tyneside' => 'North Tyneside',
|
536
|
+
'Lancs' => 'Lancashire'
|
537
|
+
}.freeze
|
538
|
+
end
|
539
|
+
# rubocop:enable Metrics/ModuleLength
|
540
|
+
end
|
541
|
+
end
|