countries 4.2.3 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql-analysis.yml +70 -0
  3. data/.github/workflows/tests.yml +3 -7
  4. data/.rubocop.yml +40 -1
  5. data/.rubocop_todo.yml +8 -41
  6. data/CHANGELOG.md +35 -2
  7. data/Gemfile +5 -3
  8. data/README.markdown +56 -62
  9. data/Rakefile +21 -45
  10. data/UPGRADE.md +39 -0
  11. data/bin/console +1 -0
  12. data/countries.gemspec +7 -6
  13. data/lib/countries/cache/countries.json +1 -1
  14. data/lib/countries/cache/locales/ab.json +1 -1
  15. data/lib/countries/cache/locales/af.json +1 -1
  16. data/lib/countries/cache/locales/ak.json +1 -1
  17. data/lib/countries/cache/locales/am.json +1 -1
  18. data/lib/countries/cache/locales/an.json +1 -1
  19. data/lib/countries/cache/locales/ar.json +1 -1
  20. data/lib/countries/cache/locales/as.json +1 -1
  21. data/lib/countries/cache/locales/ay.json +1 -1
  22. data/lib/countries/cache/locales/az.json +1 -1
  23. data/lib/countries/cache/locales/ba.json +1 -1
  24. data/lib/countries/cache/locales/be.json +1 -1
  25. data/lib/countries/cache/locales/bg.json +1 -1
  26. data/lib/countries/cache/locales/bi.json +1 -1
  27. data/lib/countries/cache/locales/bn-in.json +1 -1
  28. data/lib/countries/cache/locales/bn.json +1 -1
  29. data/lib/countries/cache/locales/br.json +1 -1
  30. data/lib/countries/cache/locales/bs.json +1 -1
  31. data/lib/countries/cache/locales/ca.json +1 -1
  32. data/lib/countries/cache/locales/ce.json +1 -1
  33. data/lib/countries/cache/locales/ch.json +1 -1
  34. data/lib/countries/cache/locales/cs.json +1 -1
  35. data/lib/countries/cache/locales/cv.json +1 -1
  36. data/lib/countries/cache/locales/cy.json +1 -1
  37. data/lib/countries/cache/locales/da.json +1 -1
  38. data/lib/countries/cache/locales/de.json +1 -1
  39. data/lib/countries/cache/locales/dv.json +1 -1
  40. data/lib/countries/cache/locales/dz.json +1 -1
  41. data/lib/countries/cache/locales/ee.json +1 -1
  42. data/lib/countries/cache/locales/el.json +1 -1
  43. data/lib/countries/cache/locales/en.json +1 -1
  44. data/lib/countries/cache/locales/eo.json +1 -1
  45. data/lib/countries/cache/locales/es.json +1 -1
  46. data/lib/countries/cache/locales/et.json +1 -1
  47. data/lib/countries/cache/locales/eu.json +1 -1
  48. data/lib/countries/cache/locales/fa.json +1 -1
  49. data/lib/countries/cache/locales/ff.json +1 -1
  50. data/lib/countries/cache/locales/fi.json +1 -1
  51. data/lib/countries/cache/locales/fo.json +1 -1
  52. data/lib/countries/cache/locales/fr.json +1 -1
  53. data/lib/countries/cache/locales/fy.json +1 -1
  54. data/lib/countries/cache/locales/ga.json +1 -1
  55. data/lib/countries/cache/locales/gl.json +1 -1
  56. data/lib/countries/cache/locales/gn.json +1 -1
  57. data/lib/countries/cache/locales/gu.json +1 -1
  58. data/lib/countries/cache/locales/gv.json +1 -1
  59. data/lib/countries/cache/locales/ha.json +1 -1
  60. data/lib/countries/cache/locales/he.json +1 -1
  61. data/lib/countries/cache/locales/hi.json +1 -1
  62. data/lib/countries/cache/locales/hr.json +1 -1
  63. data/lib/countries/cache/locales/ht.json +1 -1
  64. data/lib/countries/cache/locales/hu.json +1 -1
  65. data/lib/countries/cache/locales/hy.json +1 -1
  66. data/lib/countries/cache/locales/ia.json +1 -1
  67. data/lib/countries/cache/locales/id.json +1 -1
  68. data/lib/countries/cache/locales/io.json +1 -1
  69. data/lib/countries/cache/locales/is.json +1 -1
  70. data/lib/countries/cache/locales/it.json +1 -1
  71. data/lib/countries/cache/locales/iu.json +1 -1
  72. data/lib/countries/cache/locales/ja.json +1 -1
  73. data/lib/countries/cache/locales/ka.json +1 -1
  74. data/lib/countries/cache/locales/ki.json +1 -1
  75. data/lib/countries/cache/locales/kk.json +1 -1
  76. data/lib/countries/cache/locales/kl.json +1 -1
  77. data/lib/countries/cache/locales/km.json +1 -1
  78. data/lib/countries/cache/locales/kn.json +1 -1
  79. data/lib/countries/cache/locales/ko.json +1 -1
  80. data/lib/countries/cache/locales/kv.json +1 -1
  81. data/lib/countries/cache/locales/kw.json +1 -1
  82. data/lib/countries/cache/locales/ky.json +1 -1
  83. data/lib/countries/cache/locales/lo.json +1 -1
  84. data/lib/countries/cache/locales/lt.json +1 -1
  85. data/lib/countries/cache/locales/lv.json +1 -1
  86. data/lib/countries/cache/locales/mi.json +1 -1
  87. data/lib/countries/cache/locales/mk.json +1 -1
  88. data/lib/countries/cache/locales/ml.json +1 -1
  89. data/lib/countries/cache/locales/mn.json +1 -1
  90. data/lib/countries/cache/locales/mr.json +1 -1
  91. data/lib/countries/cache/locales/ms.json +1 -1
  92. data/lib/countries/cache/locales/mt.json +1 -1
  93. data/lib/countries/cache/locales/my.json +1 -1
  94. data/lib/countries/cache/locales/na.json +1 -1
  95. data/lib/countries/cache/locales/nb.json +1 -1
  96. data/lib/countries/cache/locales/ne.json +1 -1
  97. data/lib/countries/cache/locales/nl.json +1 -1
  98. data/lib/countries/cache/locales/nn.json +1 -1
  99. data/lib/countries/cache/locales/nv.json +1 -1
  100. data/lib/countries/cache/locales/oc.json +1 -1
  101. data/lib/countries/cache/locales/or.json +1 -1
  102. data/lib/countries/cache/locales/pa.json +1 -1
  103. data/lib/countries/cache/locales/pi.json +1 -1
  104. data/lib/countries/cache/locales/pl.json +1 -1
  105. data/lib/countries/cache/locales/ps.json +1 -1
  106. data/lib/countries/cache/locales/pt-br.json +1 -1
  107. data/lib/countries/cache/locales/pt.json +1 -1
  108. data/lib/countries/cache/locales/ro.json +1 -1
  109. data/lib/countries/cache/locales/ru.json +1 -1
  110. data/lib/countries/cache/locales/rw.json +1 -1
  111. data/lib/countries/cache/locales/sc.json +1 -1
  112. data/lib/countries/cache/locales/sd.json +1 -1
  113. data/lib/countries/cache/locales/si.json +1 -1
  114. data/lib/countries/cache/locales/sk.json +1 -1
  115. data/lib/countries/cache/locales/sl.json +1 -1
  116. data/lib/countries/cache/locales/so.json +1 -1
  117. data/lib/countries/cache/locales/sq.json +1 -1
  118. data/lib/countries/cache/locales/sr.json +1 -1
  119. data/lib/countries/cache/locales/sv.json +1 -1
  120. data/lib/countries/cache/locales/sw.json +1 -1
  121. data/lib/countries/cache/locales/ta.json +1 -1
  122. data/lib/countries/cache/locales/te.json +1 -1
  123. data/lib/countries/cache/locales/tg.json +1 -1
  124. data/lib/countries/cache/locales/th.json +1 -1
  125. data/lib/countries/cache/locales/ti.json +1 -1
  126. data/lib/countries/cache/locales/tk.json +1 -1
  127. data/lib/countries/cache/locales/tl.json +1 -1
  128. data/lib/countries/cache/locales/tr.json +1 -1
  129. data/lib/countries/cache/locales/tt.json +1 -1
  130. data/lib/countries/cache/locales/ug.json +1 -1
  131. data/lib/countries/cache/locales/uk.json +1 -1
  132. data/lib/countries/cache/locales/ur.json +1 -1
  133. data/lib/countries/cache/locales/uz.json +1 -1
  134. data/lib/countries/cache/locales/ve.json +1 -1
  135. data/lib/countries/cache/locales/vi.json +1 -1
  136. data/lib/countries/cache/locales/wa.json +1 -1
  137. data/lib/countries/cache/locales/wo.json +1 -1
  138. data/lib/countries/cache/locales/xh.json +1 -1
  139. data/lib/countries/cache/locales/yo.json +1 -1
  140. data/lib/countries/cache/locales/zh-cn.json +1 -1
  141. data/lib/countries/cache/locales/zh-hk.json +1 -1
  142. data/lib/countries/cache/locales/zh-tw.json +1 -1
  143. data/lib/countries/cache/locales/zu.json +1 -1
  144. data/lib/countries/configuration.rb +2 -0
  145. data/lib/countries/country/class_methods.rb +20 -103
  146. data/lib/countries/country/currency_methods.rb +2 -0
  147. data/lib/countries/country/emoji.rb +2 -3
  148. data/lib/countries/country/finder_methods.rb +81 -0
  149. data/lib/countries/country.rb +32 -43
  150. data/lib/countries/data/countries/KN.yaml +0 -1
  151. data/lib/countries/data/subdivisions/AD.yaml +14 -7
  152. data/lib/countries/data/subdivisions/AE.yaml +14 -7
  153. data/lib/countries/data/subdivisions/AF.yaml +196 -201
  154. data/lib/countries/data/subdivisions/AG.yaml +16 -22
  155. data/lib/countries/data/subdivisions/AL.yaml +24 -12
  156. data/lib/countries/data/subdivisions/AM.yaml +22 -11
  157. data/lib/countries/data/subdivisions/AO.yaml +36 -18
  158. data/lib/countries/data/subdivisions/AR.yaml +48 -24
  159. data/lib/countries/data/subdivisions/AT.yaml +18 -9
  160. data/lib/countries/data/subdivisions/AU.yaml +16 -8
  161. data/lib/countries/data/subdivisions/AZ.yaml +434 -412
  162. data/lib/countries/data/subdivisions/BA.yaml +75 -223
  163. data/lib/countries/data/subdivisions/BB.yaml +22 -11
  164. data/lib/countries/data/subdivisions/BD.yaml +188 -116
  165. data/lib/countries/data/subdivisions/BE.yaml +174 -161
  166. data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
  167. data/lib/countries/data/subdivisions/BG.yaml +56 -28
  168. data/lib/countries/data/subdivisions/BH.yaml +8 -21
  169. data/lib/countries/data/subdivisions/BI.yaml +176 -157
  170. data/lib/countries/data/subdivisions/BJ.yaml +24 -12
  171. data/lib/countries/data/subdivisions/BN.yaml +8 -4
  172. data/lib/countries/data/subdivisions/BO.yaml +18 -9
  173. data/lib/countries/data/subdivisions/BQ.yaml +6 -3
  174. data/lib/countries/data/subdivisions/BR.yaml +54 -27
  175. data/lib/countries/data/subdivisions/BS.yaml +575 -697
  176. data/lib/countries/data/subdivisions/BT.yaml +40 -20
  177. data/lib/countries/data/subdivisions/BW.yaml +337 -321
  178. data/lib/countries/data/subdivisions/BY.yaml +106 -116
  179. data/lib/countries/data/subdivisions/BZ.yaml +12 -6
  180. data/lib/countries/data/subdivisions/CA.yaml +26 -13
  181. data/lib/countries/data/subdivisions/CD.yaml +488 -525
  182. data/lib/countries/data/subdivisions/CF.yaml +34 -17
  183. data/lib/countries/data/subdivisions/CG.yaml +40 -28
  184. data/lib/countries/data/subdivisions/CH.yaml +52 -26
  185. data/lib/countries/data/subdivisions/CI.yaml +244 -516
  186. data/lib/countries/data/subdivisions/CL.yaml +81 -65
  187. data/lib/countries/data/subdivisions/CM.yaml +20 -10
  188. data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
  189. data/lib/countries/data/subdivisions/CO.yaml +66 -33
  190. data/lib/countries/data/subdivisions/CR.yaml +14 -7
  191. data/lib/countries/data/subdivisions/CU.yaml +32 -16
  192. data/lib/countries/data/subdivisions/CV.yaml +427 -401
  193. data/lib/countries/data/subdivisions/CY.yaml +12 -6
  194. data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
  195. data/lib/countries/data/subdivisions/DE.yaml +32 -16
  196. data/lib/countries/data/subdivisions/DJ.yaml +12 -6
  197. data/lib/countries/data/subdivisions/DK.yaml +25 -17
  198. data/lib/countries/data/subdivisions/DM.yaml +20 -10
  199. data/lib/countries/data/subdivisions/DO.yaml +84 -42
  200. data/lib/countries/data/subdivisions/DZ.yaml +96 -48
  201. data/lib/countries/data/subdivisions/EC.yaml +158 -134
  202. data/lib/countries/data/subdivisions/EE.yaml +501 -334
  203. data/lib/countries/data/subdivisions/EG.yaml +54 -27
  204. data/lib/countries/data/subdivisions/ER.yaml +12 -6
  205. data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
  206. data/lib/countries/data/subdivisions/ET.yaml +22 -11
  207. data/lib/countries/data/subdivisions/FI.yaml +185 -1
  208. data/lib/countries/data/subdivisions/FJ.yaml +443 -424
  209. data/lib/countries/data/subdivisions/FM.yaml +8 -4
  210. data/lib/countries/data/subdivisions/FR.yaml +438 -275
  211. data/lib/countries/data/subdivisions/GA.yaml +18 -9
  212. data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
  213. data/lib/countries/data/subdivisions/GD.yaml +14 -7
  214. data/lib/countries/data/subdivisions/GE.yaml +24 -12
  215. data/lib/countries/data/subdivisions/GH.yaml +114 -155
  216. data/lib/countries/data/subdivisions/GL.yaml +24 -79
  217. data/lib/countries/data/subdivisions/GM.yaml +12 -6
  218. data/lib/countries/data/subdivisions/GN.yaml +444 -403
  219. data/lib/countries/data/subdivisions/GQ.yaml +24 -13
  220. data/lib/countries/data/subdivisions/GR.yaml +114 -73
  221. data/lib/countries/data/subdivisions/GT.yaml +44 -22
  222. data/lib/countries/data/subdivisions/GW.yaml +69 -57
  223. data/lib/countries/data/subdivisions/GY.yaml +20 -10
  224. data/lib/countries/data/subdivisions/HN.yaml +36 -18
  225. data/lib/countries/data/subdivisions/HR.yaml +42 -21
  226. data/lib/countries/data/subdivisions/HT.yaml +73 -63
  227. data/lib/countries/data/subdivisions/HU.yaml +106 -63
  228. data/lib/countries/data/subdivisions/ID.yaml +229 -188
  229. data/lib/countries/data/subdivisions/IE.yaml +128 -97
  230. data/lib/countries/data/subdivisions/IL.yaml +12 -6
  231. data/lib/countries/data/subdivisions/IN.yaml +245 -396
  232. data/lib/countries/data/subdivisions/IQ.yaml +111 -91
  233. data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
  234. data/lib/countries/data/subdivisions/IS.yaml +160 -25
  235. data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
  236. data/lib/countries/data/subdivisions/JM.yaml +28 -14
  237. data/lib/countries/data/subdivisions/JO.yaml +24 -12
  238. data/lib/countries/data/subdivisions/JP.yaml +94 -47
  239. data/lib/countries/data/subdivisions/KE.yaml +95 -48
  240. data/lib/countries/data/subdivisions/KG.yaml +95 -86
  241. data/lib/countries/data/subdivisions/KH.yaml +64 -39
  242. data/lib/countries/data/subdivisions/KI.yaml +6 -3
  243. data/lib/countries/data/subdivisions/KM.yaml +6 -3
  244. data/lib/countries/data/subdivisions/KN.yaml +32 -16
  245. data/lib/countries/data/subdivisions/KP.yaml +24 -227
  246. data/lib/countries/data/subdivisions/KR.yaml +34 -17
  247. data/lib/countries/data/subdivisions/KW.yaml +12 -6
  248. data/lib/countries/data/subdivisions/KZ.yaml +47 -102
  249. data/lib/countries/data/subdivisions/LA.yaml +36 -34
  250. data/lib/countries/data/subdivisions/LB.yaml +71 -63
  251. data/lib/countries/data/subdivisions/LC.yaml +116 -106
  252. data/lib/countries/data/subdivisions/LI.yaml +22 -11
  253. data/lib/countries/data/subdivisions/LK.yaml +445 -411
  254. data/lib/countries/data/subdivisions/LR.yaml +146 -129
  255. data/lib/countries/data/subdivisions/LS.yaml +20 -10
  256. data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
  257. data/lib/countries/data/subdivisions/LU.yaml +24 -12
  258. data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
  259. data/lib/countries/data/subdivisions/LY.yaml +44 -22
  260. data/lib/countries/data/subdivisions/MA.yaml +810 -1589
  261. data/lib/countries/data/subdivisions/MC.yaml +261 -244
  262. data/lib/countries/data/subdivisions/MD.yaml +74 -79
  263. data/lib/countries/data/subdivisions/ME.yaml +217 -195
  264. data/lib/countries/data/subdivisions/MG.yaml +12 -6
  265. data/lib/countries/data/subdivisions/MH.yaml +167 -140
  266. data/lib/countries/data/subdivisions/MK.yaml +160 -80
  267. data/lib/countries/data/subdivisions/ML.yaml +48 -37
  268. data/lib/countries/data/subdivisions/MM.yaml +30 -15
  269. data/lib/countries/data/subdivisions/MN.yaml +44 -22
  270. data/lib/countries/data/subdivisions/MR.yaml +30 -34
  271. data/lib/countries/data/subdivisions/MT.yaml +136 -68
  272. data/lib/countries/data/subdivisions/MU.yaml +24 -262
  273. data/lib/countries/data/subdivisions/MV.yaml +161 -254
  274. data/lib/countries/data/subdivisions/MW.yaml +250 -219
  275. data/lib/countries/data/subdivisions/MX.yaml +67 -47
  276. data/lib/countries/data/subdivisions/MY.yaml +32 -16
  277. data/lib/countries/data/subdivisions/MZ.yaml +22 -11
  278. data/lib/countries/data/subdivisions/NA.yaml +58 -44
  279. data/lib/countries/data/subdivisions/NE.yaml +16 -8
  280. data/lib/countries/data/subdivisions/NG.yaml +74 -37
  281. data/lib/countries/data/subdivisions/NI.yaml +34 -17
  282. data/lib/countries/data/subdivisions/NL.yaml +303 -285
  283. data/lib/countries/data/subdivisions/NO.yaml +39 -17
  284. data/lib/countries/data/subdivisions/NP.yaml +302 -276
  285. data/lib/countries/data/subdivisions/NR.yaml +28 -14
  286. data/lib/countries/data/subdivisions/NZ.yaml +34 -17
  287. data/lib/countries/data/subdivisions/OM.yaml +260 -311
  288. data/lib/countries/data/subdivisions/PA.yaml +57 -44
  289. data/lib/countries/data/subdivisions/PE.yaml +107 -81
  290. data/lib/countries/data/subdivisions/PG.yaml +163 -158
  291. data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
  292. data/lib/countries/data/subdivisions/PK.yaml +145 -235
  293. data/lib/countries/data/subdivisions/PL.yaml +51 -3
  294. data/lib/countries/data/subdivisions/PS.yaml +32 -16
  295. data/lib/countries/data/subdivisions/PT.yaml +53 -33
  296. data/lib/countries/data/subdivisions/PW.yaml +32 -16
  297. data/lib/countries/data/subdivisions/PY.yaml +36 -18
  298. data/lib/countries/data/subdivisions/QA.yaml +27 -78
  299. data/lib/countries/data/subdivisions/RO.yaml +84 -42
  300. data/lib/countries/data/subdivisions/RS.yaml +104 -72
  301. data/lib/countries/data/subdivisions/RU.yaml +166 -83
  302. data/lib/countries/data/subdivisions/RW.yaml +10 -5
  303. data/lib/countries/data/subdivisions/SA.yaml +26 -13
  304. data/lib/countries/data/subdivisions/SB.yaml +20 -10
  305. data/lib/countries/data/subdivisions/SC.yaml +54 -25
  306. data/lib/countries/data/subdivisions/SD.yaml +798 -780
  307. data/lib/countries/data/subdivisions/SE.yaml +42 -21
  308. data/lib/countries/data/subdivisions/SG.yaml +15 -10
  309. data/lib/countries/data/subdivisions/SH.yaml +21 -32
  310. data/lib/countries/data/subdivisions/SI.yaml +475 -263
  311. data/lib/countries/data/subdivisions/SK.yaml +16 -8
  312. data/lib/countries/data/subdivisions/SL.yaml +23 -18
  313. data/lib/countries/data/subdivisions/SM.yaml +18 -9
  314. data/lib/countries/data/subdivisions/SN.yaml +188 -174
  315. data/lib/countries/data/subdivisions/SO.yaml +36 -18
  316. data/lib/countries/data/subdivisions/SR.yaml +20 -10
  317. data/lib/countries/data/subdivisions/SS.yaml +20 -10
  318. data/lib/countries/data/subdivisions/ST.yaml +38 -52
  319. data/lib/countries/data/subdivisions/SV.yaml +28 -14
  320. data/lib/countries/data/subdivisions/SY.yaml +28 -14
  321. data/lib/countries/data/subdivisions/SZ.yaml +8 -4
  322. data/lib/countries/data/subdivisions/TD.yaml +312 -303
  323. data/lib/countries/data/subdivisions/TG.yaml +10 -5
  324. data/lib/countries/data/subdivisions/TH.yaml +211 -133
  325. data/lib/countries/data/subdivisions/TJ.yaml +161 -156
  326. data/lib/countries/data/subdivisions/TL.yaml +26 -13
  327. data/lib/countries/data/subdivisions/TM.yaml +12 -6
  328. data/lib/countries/data/subdivisions/TN.yaml +48 -24
  329. data/lib/countries/data/subdivisions/TO.yaml +10 -5
  330. data/lib/countries/data/subdivisions/TR.yaml +162 -81
  331. data/lib/countries/data/subdivisions/TT.yaml +128 -160
  332. data/lib/countries/data/subdivisions/TV.yaml +57 -63
  333. data/lib/countries/data/subdivisions/TW.yaml +143 -183
  334. data/lib/countries/data/subdivisions/TZ.yaml +62 -31
  335. data/lib/countries/data/subdivisions/UA.yaml +55 -28
  336. data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
  337. data/lib/countries/data/subdivisions/UM.yaml +18 -9
  338. data/lib/countries/data/subdivisions/US.yaml +114 -57
  339. data/lib/countries/data/subdivisions/UY.yaml +99 -80
  340. data/lib/countries/data/subdivisions/UZ.yaml +28 -14
  341. data/lib/countries/data/subdivisions/VC.yaml +12 -6
  342. data/lib/countries/data/subdivisions/VE.yaml +50 -25
  343. data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
  344. data/lib/countries/data/subdivisions/VU.yaml +12 -6
  345. data/lib/countries/data/subdivisions/WF.yaml +6 -3
  346. data/lib/countries/data/subdivisions/WS.yaml +22 -11
  347. data/lib/countries/data/subdivisions/YE.yaml +222 -200
  348. data/lib/countries/data/subdivisions/ZA.yaml +86 -100
  349. data/lib/countries/data/subdivisions/ZM.yaml +20 -10
  350. data/lib/countries/data/subdivisions/ZW.yaml +20 -10
  351. data/lib/countries/data/translations/countries-ab.yaml +254 -0
  352. data/lib/countries/data/translations/countries-af.yaml +254 -0
  353. data/lib/countries/data/translations/countries-ak.yaml +254 -0
  354. data/lib/countries/data/translations/countries-am.yaml +254 -0
  355. data/lib/countries/data/translations/countries-an.yaml +254 -0
  356. data/lib/countries/data/translations/countries-ar.yaml +254 -0
  357. data/lib/countries/data/translations/countries-as.yaml +254 -0
  358. data/lib/countries/data/translations/countries-ay.yaml +254 -0
  359. data/lib/countries/data/translations/countries-az.yaml +254 -0
  360. data/lib/countries/data/translations/countries-ba.yaml +254 -0
  361. data/lib/countries/data/translations/countries-be.yaml +254 -0
  362. data/lib/countries/data/translations/countries-bg.yaml +254 -0
  363. data/lib/countries/data/translations/countries-bi.yaml +254 -0
  364. data/lib/countries/data/translations/countries-bn.yaml +254 -0
  365. data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
  366. data/lib/countries/data/translations/countries-br.yaml +254 -0
  367. data/lib/countries/data/translations/countries-bs.yaml +254 -0
  368. data/lib/countries/data/translations/countries-ca.yaml +254 -0
  369. data/lib/countries/data/translations/countries-ce.yaml +254 -0
  370. data/lib/countries/data/translations/countries-ch.yaml +254 -0
  371. data/lib/countries/data/translations/countries-cs.yaml +254 -0
  372. data/lib/countries/data/translations/countries-cv.yaml +254 -0
  373. data/lib/countries/data/translations/countries-cy.yaml +254 -0
  374. data/lib/countries/data/translations/countries-da.yaml +254 -0
  375. data/lib/countries/data/translations/countries-de.yaml +254 -0
  376. data/lib/countries/data/translations/countries-dv.yaml +254 -0
  377. data/lib/countries/data/translations/countries-dz.yaml +254 -0
  378. data/lib/countries/data/translations/countries-ee.yaml +254 -0
  379. data/lib/countries/data/translations/countries-el.yaml +254 -0
  380. data/lib/countries/data/translations/countries-en.yaml +254 -0
  381. data/lib/countries/data/translations/countries-eo.yaml +254 -0
  382. data/lib/countries/data/translations/countries-es.yaml +254 -0
  383. data/lib/countries/data/translations/countries-et.yaml +254 -0
  384. data/lib/countries/data/translations/countries-eu.yaml +254 -0
  385. data/lib/countries/data/translations/countries-fa.yaml +254 -0
  386. data/lib/countries/data/translations/countries-ff.yaml +254 -0
  387. data/lib/countries/data/translations/countries-fi.yaml +254 -0
  388. data/lib/countries/data/translations/countries-fo.yaml +254 -0
  389. data/lib/countries/data/translations/countries-fr.yaml +254 -0
  390. data/lib/countries/data/translations/countries-fy.yaml +254 -0
  391. data/lib/countries/data/translations/countries-ga.yaml +254 -0
  392. data/lib/countries/data/translations/countries-gl.yaml +254 -0
  393. data/lib/countries/data/translations/countries-gn.yaml +254 -0
  394. data/lib/countries/data/translations/countries-gu.yaml +254 -0
  395. data/lib/countries/data/translations/countries-gv.yaml +254 -0
  396. data/lib/countries/data/translations/countries-ha.yaml +254 -0
  397. data/lib/countries/data/translations/countries-he.yaml +254 -0
  398. data/lib/countries/data/translations/countries-hi.yaml +254 -0
  399. data/lib/countries/data/translations/countries-hr.yaml +254 -0
  400. data/lib/countries/data/translations/countries-ht.yaml +254 -0
  401. data/lib/countries/data/translations/countries-hu.yaml +254 -0
  402. data/lib/countries/data/translations/countries-hy.yaml +254 -0
  403. data/lib/countries/data/translations/countries-ia.yaml +254 -0
  404. data/lib/countries/data/translations/countries-id.yaml +254 -0
  405. data/lib/countries/data/translations/countries-io.yaml +254 -0
  406. data/lib/countries/data/translations/countries-is.yaml +254 -0
  407. data/lib/countries/data/translations/countries-it.yaml +254 -0
  408. data/lib/countries/data/translations/countries-iu.yaml +254 -0
  409. data/lib/countries/data/translations/countries-ja.yaml +254 -0
  410. data/lib/countries/data/translations/countries-ka.yaml +254 -0
  411. data/lib/countries/data/translations/countries-ki.yaml +254 -0
  412. data/lib/countries/data/translations/countries-kk.yaml +254 -0
  413. data/lib/countries/data/translations/countries-kl.yaml +254 -0
  414. data/lib/countries/data/translations/countries-km.yaml +254 -0
  415. data/lib/countries/data/translations/countries-kn.yaml +254 -0
  416. data/lib/countries/data/translations/countries-ko.yaml +254 -0
  417. data/lib/countries/data/translations/countries-ku.yaml +254 -0
  418. data/lib/countries/data/translations/countries-kv.yaml +254 -0
  419. data/lib/countries/data/translations/countries-kw.yaml +254 -0
  420. data/lib/countries/data/translations/countries-ky.yaml +254 -0
  421. data/lib/countries/data/translations/countries-lo.yaml +254 -0
  422. data/lib/countries/data/translations/countries-lt.yaml +254 -0
  423. data/lib/countries/data/translations/countries-lv.yaml +254 -0
  424. data/lib/countries/data/translations/countries-mi.yaml +254 -0
  425. data/lib/countries/data/translations/countries-mk.yaml +254 -0
  426. data/lib/countries/data/translations/countries-ml.yaml +254 -0
  427. data/lib/countries/data/translations/countries-mn.yaml +254 -0
  428. data/lib/countries/data/translations/countries-mr.yaml +254 -0
  429. data/lib/countries/data/translations/countries-ms.yaml +254 -0
  430. data/lib/countries/data/translations/countries-mt.yaml +254 -0
  431. data/lib/countries/data/translations/countries-my.yaml +254 -0
  432. data/lib/countries/data/translations/countries-na.yaml +254 -0
  433. data/lib/countries/data/translations/countries-nb.yaml +254 -0
  434. data/lib/countries/data/translations/countries-ne.yaml +254 -0
  435. data/lib/countries/data/translations/countries-nl.yaml +254 -0
  436. data/lib/countries/data/translations/countries-nn.yaml +254 -0
  437. data/lib/countries/data/translations/countries-nv.yaml +254 -0
  438. data/lib/countries/data/translations/countries-oc.yaml +254 -0
  439. data/lib/countries/data/translations/countries-or.yaml +254 -0
  440. data/lib/countries/data/translations/countries-pa.yaml +254 -0
  441. data/lib/countries/data/translations/countries-pi.yaml +254 -0
  442. data/lib/countries/data/translations/countries-pl.yaml +254 -0
  443. data/lib/countries/data/translations/countries-ps.yaml +254 -0
  444. data/lib/countries/data/translations/countries-pt.yaml +254 -0
  445. data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
  446. data/lib/countries/data/translations/countries-ro.yaml +254 -0
  447. data/lib/countries/data/translations/countries-ru.yaml +254 -0
  448. data/lib/countries/data/translations/countries-rw.yaml +254 -0
  449. data/lib/countries/data/translations/countries-sc.yaml +254 -0
  450. data/lib/countries/data/translations/countries-sd.yaml +254 -0
  451. data/lib/countries/data/translations/countries-si.yaml +254 -0
  452. data/lib/countries/data/translations/countries-sk.yaml +254 -0
  453. data/lib/countries/data/translations/countries-sl.yaml +254 -0
  454. data/lib/countries/data/translations/countries-so.yaml +254 -0
  455. data/lib/countries/data/translations/countries-sq.yaml +254 -0
  456. data/lib/countries/data/translations/countries-sr.yaml +254 -0
  457. data/lib/countries/data/translations/countries-sv.yaml +254 -0
  458. data/lib/countries/data/translations/countries-sw.yaml +254 -0
  459. data/lib/countries/data/translations/countries-ta.yaml +254 -0
  460. data/lib/countries/data/translations/countries-te.yaml +254 -0
  461. data/lib/countries/data/translations/countries-tg.yaml +254 -0
  462. data/lib/countries/data/translations/countries-th.yaml +254 -0
  463. data/lib/countries/data/translations/countries-ti.yaml +254 -0
  464. data/lib/countries/data/translations/countries-tk.yaml +254 -0
  465. data/lib/countries/data/translations/countries-tl.yaml +254 -0
  466. data/lib/countries/data/translations/countries-tr.yaml +254 -0
  467. data/lib/countries/data/translations/countries-tt.yaml +254 -0
  468. data/lib/countries/data/translations/countries-ug.yaml +254 -0
  469. data/lib/countries/data/translations/countries-uk.yaml +254 -0
  470. data/lib/countries/data/translations/countries-ur.yaml +254 -0
  471. data/lib/countries/data/translations/countries-uz.yaml +254 -0
  472. data/lib/countries/data/translations/countries-ve.yaml +254 -0
  473. data/lib/countries/data/translations/countries-vi.yaml +254 -0
  474. data/lib/countries/data/translations/countries-wa.yaml +254 -0
  475. data/lib/countries/data/translations/countries-wo.yaml +254 -0
  476. data/lib/countries/data/translations/countries-xh.yaml +254 -0
  477. data/lib/countries/data/translations/countries-yo.yaml +254 -0
  478. data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
  479. data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
  480. data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
  481. data/lib/countries/data/translations/countries-zu.yaml +254 -0
  482. data/lib/countries/data.rb +45 -42
  483. data/lib/countries/global.rb +2 -0
  484. data/lib/countries/iso3166.rb +3 -1
  485. data/lib/countries/kwarg_struct.rb +2 -0
  486. data/lib/countries/mongoid.rb +2 -0
  487. data/lib/countries/sources/cldr/downloader.rb +8 -8
  488. data/lib/countries/sources/cldr/subdivision.rb +3 -0
  489. data/lib/countries/sources/cldr/subdivision_updater.rb +23 -17
  490. data/lib/countries/sources/local/cached_loader.rb +3 -0
  491. data/lib/countries/sources/local/subdivision.rb +5 -2
  492. data/lib/countries/sources.rb +2 -0
  493. data/lib/countries/structure.rb +1 -1
  494. data/lib/countries/subdivision.rb +21 -8
  495. data/lib/countries/tasks/geocoding.rake +15 -6
  496. data/lib/countries/tasks/postal_codes.rake +5 -3
  497. data/lib/countries/timezones.rb +5 -2
  498. data/lib/countries/translations.rb +2 -0
  499. data/lib/countries/version.rb +3 -1
  500. data/lib/countries.rb +2 -0
  501. data/spec/00_global_spec.rb +2 -0
  502. data/spec/configuration_spec.rb +11 -5
  503. data/spec/country_spec.rb +131 -38
  504. data/spec/data_spec.rb +85 -21
  505. data/spec/mongoid_spec.rb +2 -2
  506. data/spec/perf_spec.rb +16 -16
  507. data/spec/spec_helper.rb +2 -0
  508. data/spec/subdivision_spec.rb +6 -4
  509. data/spec/thread_safety_spec.rb +4 -3
  510. data/spec/timezone_spec.rb +2 -0
  511. metadata +146 -34
  512. data/lib/countries/cache/locales/zh.json +0 -1
  513. data/lib/countries/data/subdivisions/AI.yaml +0 -197
  514. data/lib/countries/data/subdivisions/BM.yaml +0 -155
  515. data/lib/countries/data/subdivisions/CK.yaml +0 -155
  516. data/lib/countries/data/subdivisions/EH.yaml +0 -80
  517. data/lib/countries/data/subdivisions/SJ.yaml +0 -29
  518. data/lib/countries/data/subdivisions/TK.yaml +0 -43
  519. data/lib/countries/data/translation_corrections.yaml +0 -51
  520. data/lib/countries/setup.rb +0 -18
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  BA:
3
3
  name: Baranya
4
- code:
4
+ code: BA
5
5
  unofficial_names: Baranya
6
6
  geo:
7
7
  latitude: 46.0484585
@@ -58,9 +58,10 @@ BA:
58
58
  az: Baranya əyaləti
59
59
  mk: Барања
60
60
  comments:
61
+ type: county
61
62
  BC:
62
63
  name: Békéscsaba
63
- code:
64
+ code: BC
64
65
  unofficial_names: Békéscsaba
65
66
  geo:
66
67
  latitude: 46.6735939
@@ -130,9 +131,10 @@ BC:
130
131
  mk: Бекешчаба
131
132
  'no': Békéscsaba
132
133
  comments:
134
+ type: city_with_county_rights
133
135
  BE:
134
136
  name: Békés
135
- code:
137
+ code: BE
136
138
  unofficial_names: Békés
137
139
  geo:
138
140
  latitude: 46.7711185
@@ -200,9 +202,10 @@ BE:
200
202
  mk: Бекеш
201
203
  'no': Bekes Fylke
202
204
  comments:
205
+ type: county
203
206
  BK:
204
207
  name: Bács-Kiskun
205
- code:
208
+ code: BK
206
209
  unofficial_names: Bács-Kiskun
207
210
  geo:
208
211
  latitude: 46.5661437
@@ -271,9 +274,10 @@ BK:
271
274
  mk: Бач-Кишкун
272
275
  'no': Bacs-Kiskun Fylke
273
276
  comments:
277
+ type: county
274
278
  BU:
275
279
  name: Budapest
276
- code:
280
+ code: BU
277
281
  unofficial_names: Budapest
278
282
  geo:
279
283
  latitude: 47.497912
@@ -367,9 +371,10 @@ BU:
367
371
  'no': Budapest
368
372
  yo_BJ: Budapest
369
373
  comments:
374
+ type: capital_city
370
375
  BZ:
371
376
  name: Borsod-Abaúj-Zemplén
372
- code:
377
+ code: BZ
373
378
  unofficial_names: Borsod-Abaúj-Zemplén
374
379
  geo:
375
380
  latitude: 48.2939401
@@ -438,9 +443,10 @@ BZ:
438
443
  mk: Боршод-Абауј-Земплен
439
444
  'no': Borsod Abauj Zemplen Fylke
440
445
  comments:
446
+ type: county
441
447
  CS:
442
448
  name: Csongrád
443
- code:
449
+ code: CS
444
450
  unofficial_names: Csongrád
445
451
  geo:
446
452
  latitude: 46.7084264
@@ -507,9 +513,10 @@ CS:
507
513
  mk: Чонград
508
514
  'no': Csongrád (fylke)
509
515
  comments:
516
+ type: county
510
517
  DE:
511
518
  name: Debrecen
512
- code:
519
+ code: DE
513
520
  unofficial_names: Debrecen
514
521
  geo:
515
522
  latitude: 47.5316049
@@ -589,9 +596,10 @@ DE:
589
596
  mk: Дебрецин
590
597
  'no': Debrecen
591
598
  comments:
599
+ type: city_with_county_rights
592
600
  DU:
593
601
  name: Dunaújváros
594
- code:
602
+ code: DU
595
603
  unofficial_names: Dunaújváros
596
604
  geo:
597
605
  latitude: 46.9619059
@@ -644,9 +652,10 @@ DU:
644
652
  az: Dunauyvaroş
645
653
  mk: Дунаујварош
646
654
  comments:
655
+ type: city_with_county_rights
647
656
  EG:
648
657
  name: Eger
649
- code:
658
+ code: EG
650
659
  unofficial_names: Eger
651
660
  geo:
652
661
  latitude: 47.9025348
@@ -706,9 +715,10 @@ EG:
706
715
  mk: Егер
707
716
  'no': Eger
708
717
  comments:
718
+ type: city_with_county_rights
709
719
  ER:
710
720
  name: Érd
711
- code:
721
+ code: ER
712
722
  unofficial_names: Érd
713
723
  geo:
714
724
  latitude: 47.3919718
@@ -759,9 +769,10 @@ ER:
759
769
  az: Erd
760
770
  mk: Ерд
761
771
  comments:
772
+ type: city_with_county_rights
762
773
  FE:
763
774
  name: Fejér
764
- code:
775
+ code: FE
765
776
  unofficial_names: Fejér
766
777
  geo:
767
778
  latitude: 47.1217932
@@ -831,9 +842,10 @@ FE:
831
842
  mk: Фејер
832
843
  'no': Fejer fylke
833
844
  comments:
845
+ type: county
834
846
  GS:
835
847
  name: Győr-Moson-Sopron
836
- code:
848
+ code: GS
837
849
  unofficial_names: Győr-Moson-Sopron
838
850
  geo:
839
851
  latitude: 47.6509285
@@ -903,9 +915,10 @@ GS:
903
915
  mk: Ѓер-Мошон-Шопрон
904
916
  'no': Gyor Moson Sopron Fylke
905
917
  comments:
918
+ type: county
906
919
  GY:
907
920
  name: Győr
908
- code:
921
+ code: GY
909
922
  unofficial_names: Győr
910
923
  geo:
911
924
  latitude: 47.6874569
@@ -981,9 +994,10 @@ GY:
981
994
  mk: Ѓер
982
995
  'no': Győr
983
996
  comments:
997
+ type: city_with_county_rights
984
998
  HB:
985
999
  name: Hajdú-Bihar
986
- code:
1000
+ code: HB
987
1001
  unofficial_names: Hajdú-Bihar
988
1002
  geo:
989
1003
  latitude: 47.4688355
@@ -1051,9 +1065,10 @@ HB:
1051
1065
  mk: Хајду-Бихар
1052
1066
  'no': Hajdu-Bihar Fylke
1053
1067
  comments:
1068
+ type: county
1054
1069
  HE:
1055
1070
  name: Heves
1056
- code:
1071
+ code: HE
1057
1072
  unofficial_names: Heves
1058
1073
  geo:
1059
1074
  latitude: 47.5971694
@@ -1122,9 +1137,10 @@ HE:
1122
1137
  mk: Хевеш
1123
1138
  'no': Heves Fylke
1124
1139
  comments:
1140
+ type: county
1125
1141
  HV:
1126
1142
  name: Hódmezővásárhely
1127
- code:
1143
+ code: HV
1128
1144
  unofficial_names: Hódmezővásárhely
1129
1145
  geo:
1130
1146
  latitude: 46.4181262
@@ -1181,9 +1197,10 @@ HV:
1181
1197
  mk: Ходмезевашархељ
1182
1198
  'no': Hódmezővásárhely
1183
1199
  comments:
1200
+ type: city_with_county_rights
1184
1201
  JN:
1185
1202
  name: Jász-Nagykun-Szolnok
1186
- code:
1203
+ code: JN
1187
1204
  unofficial_names: Jász-Nagykun-Szolnok
1188
1205
  geo:
1189
1206
  latitude: 47.2555579
@@ -1253,9 +1270,10 @@ JN:
1253
1270
  mk: Јас-Наѓкун-Солнок
1254
1271
  'no': Jasz Nagykun Szolnok fylke
1255
1272
  comments:
1273
+ type: county
1256
1274
  KE:
1257
1275
  name: Komárom-Esztergom
1258
- code:
1276
+ code: KE
1259
1277
  unofficial_names: Komárom-Esztergom
1260
1278
  geo:
1261
1279
  latitude: 47.7390852
@@ -1324,9 +1342,10 @@ KE:
1324
1342
  mk: Комаром-Естергом
1325
1343
  'no': Komarom-Esztergom fylke
1326
1344
  comments:
1345
+ type: county
1327
1346
  KM:
1328
1347
  name: Kecskemét
1329
- code:
1348
+ code: KM
1330
1349
  unofficial_names: Kecskemét
1331
1350
  geo:
1332
1351
  latitude: 46.8963711
@@ -1398,9 +1417,10 @@ KM:
1398
1417
  mk: Кечкемет
1399
1418
  'no': Kecskemet
1400
1419
  comments:
1420
+ type: city_with_county_rights
1401
1421
  KV:
1402
1422
  name: Kaposvár
1403
- code:
1423
+ code: KV
1404
1424
  unofficial_names: Kaposvár
1405
1425
  geo:
1406
1426
  latitude: 46.3593606
@@ -1472,9 +1492,10 @@ KV:
1472
1492
  mk: Капошвар
1473
1493
  'no': Kaposvár
1474
1494
  comments:
1495
+ type: city_with_county_rights
1475
1496
  MI:
1476
1497
  name: Miskolc
1477
- code:
1498
+ code: MI
1478
1499
  unofficial_names: Miskolc
1479
1500
  geo:
1480
1501
  latitude: 48.0963631
@@ -1548,9 +1569,10 @@ MI:
1548
1569
  mk: Мишколц
1549
1570
  'no': Miskolc
1550
1571
  comments:
1572
+ type: city_with_county_rights
1551
1573
  NK:
1552
1574
  name: Nagykanizsa
1553
- code:
1575
+ code: NK
1554
1576
  unofficial_names: Nagykanizsa
1555
1577
  geo:
1556
1578
  latitude: 46.4590218
@@ -1605,9 +1627,10 @@ NK:
1605
1627
  ccp: "\U0001111A\U00011109\U0001112D\U00011107\U0001111A\U00011128\U0001110C\U00011134\U00011125"
1606
1628
  'no': Nagykanizsa
1607
1629
  comments:
1630
+ type: city_with_county_rights
1608
1631
  'NO':
1609
1632
  name: Nógrád
1610
- code:
1633
+ code: 'NO'
1611
1634
  unofficial_names: Nógrád
1612
1635
  geo:
1613
1636
  latitude: 47.90410310000001
@@ -1676,9 +1699,10 @@ NK:
1676
1699
  mk: Ноград
1677
1700
  'no': Nógrád
1678
1701
  comments:
1702
+ type: county
1679
1703
  NY:
1680
1704
  name: Nyíregyháza
1681
- code:
1705
+ code: NY
1682
1706
  unofficial_names: Nyíregyháza
1683
1707
  geo:
1684
1708
  latitude: 47.9495324
@@ -1750,9 +1774,10 @@ NY:
1750
1774
  mk: Њиреѓхаза
1751
1775
  'no': Nyíregyháza
1752
1776
  comments:
1777
+ type: city_with_county_rights
1753
1778
  PE:
1754
1779
  name: Pest
1755
- code:
1780
+ code: PE
1756
1781
  unofficial_names: Pest
1757
1782
  geo:
1758
1783
  latitude: 47.44800009999999
@@ -1810,9 +1835,10 @@ PE:
1810
1835
  mk: Пешта
1811
1836
  'no': Pest
1812
1837
  comments:
1838
+ type: county
1813
1839
  PS:
1814
1840
  name: Pécs
1815
- code:
1841
+ code: PS
1816
1842
  unofficial_names: Pécs
1817
1843
  geo:
1818
1844
  latitude: 46.0727345
@@ -1886,9 +1912,10 @@ PS:
1886
1912
  mk: Печ
1887
1913
  'no': Pécs
1888
1914
  comments:
1915
+ type: city_with_county_rights
1889
1916
  SD:
1890
1917
  name: Szeged
1891
- code:
1918
+ code: SD
1892
1919
  unofficial_names: Szeged
1893
1920
  geo:
1894
1921
  latitude: 46.2530102
@@ -1961,9 +1988,10 @@ SD:
1961
1988
  mk: Сегедин
1962
1989
  'no': Szeged
1963
1990
  comments:
1991
+ type: city_with_county_rights
1964
1992
  SF:
1965
1993
  name: Székesfehérvár
1966
- code:
1994
+ code: SF
1967
1995
  unofficial_names: Székesfehérvár
1968
1996
  geo:
1969
1997
  latitude: 47.18602620000001
@@ -2035,9 +2063,10 @@ SF:
2035
2063
  mk: Секешфехервар
2036
2064
  'no': Székesfehérvár
2037
2065
  comments:
2066
+ type: city_with_county_rights
2038
2067
  SH:
2039
2068
  name: Szombathely
2040
- code:
2069
+ code: SH
2041
2070
  unofficial_names: Szombathely
2042
2071
  geo:
2043
2072
  latitude: 47.2306851
@@ -2108,9 +2137,10 @@ SH:
2108
2137
  mk: Сомбатхељ
2109
2138
  'no': Szombathely
2110
2139
  comments:
2140
+ type: city_with_county_rights
2111
2141
  SK:
2112
2142
  name: Szolnok
2113
- code:
2143
+ code: SK
2114
2144
  unofficial_names: Szolnok
2115
2145
  geo:
2116
2146
  latitude: 47.16213550000001
@@ -2181,9 +2211,10 @@ SK:
2181
2211
  mk: Солнок
2182
2212
  'no': Szolnok
2183
2213
  comments:
2214
+ type: city_with_county_rights
2184
2215
  SN:
2185
2216
  name: Sopron
2186
- code:
2217
+ code: SN
2187
2218
  unofficial_names: Sopron
2188
2219
  geo:
2189
2220
  latitude: 47.68166189999999
@@ -2245,9 +2276,10 @@ SN:
2245
2276
  mk: Шопрон
2246
2277
  'no': Sopron
2247
2278
  comments:
2279
+ type: city_with_county_rights
2248
2280
  SO:
2249
2281
  name: Somogy
2250
- code:
2282
+ code: SO
2251
2283
  unofficial_names: Somogy
2252
2284
  geo:
2253
2285
  latitude: 46.554859
@@ -2316,9 +2348,10 @@ SO:
2316
2348
  mk: Шомоѓ
2317
2349
  'no': Saomogy fylke
2318
2350
  comments:
2351
+ type: county
2319
2352
  SS:
2320
2353
  name: Szekszárd
2321
- code:
2354
+ code: SS
2322
2355
  unofficial_names: Szekszárd
2323
2356
  geo:
2324
2357
  latitude: 46.3474326
@@ -2336,7 +2369,7 @@ SS:
2336
2369
  cs: Szekszárd
2337
2370
  da: Szekszárd
2338
2371
  de: Szekszárd
2339
- el: Σέξαρντ
2372
+ el: Σέξαρντ (Σέκσαρντ)
2340
2373
  en: Szekszárd
2341
2374
  es: Szekszárd
2342
2375
  et: Szekszárd
@@ -2388,9 +2421,10 @@ SS:
2388
2421
  mk: Сексард
2389
2422
  'no': Szekszárd
2390
2423
  comments:
2424
+ type: city_with_county_rights
2391
2425
  ST:
2392
2426
  name: Salgótarján
2393
- code:
2427
+ code: ST
2394
2428
  unofficial_names: Salgótarján
2395
2429
  geo:
2396
2430
  latitude: 48.0935237
@@ -2459,9 +2493,10 @@ ST:
2459
2493
  mk: Шалготарјан
2460
2494
  'no': Salgótarján
2461
2495
  comments:
2496
+ type: city_with_county_rights
2462
2497
  SZ:
2463
2498
  name: Szabolcs-Szatmár-Bereg
2464
- code:
2499
+ code: SZ
2465
2500
  unofficial_names: Szabolcs-Szatmár-Bereg
2466
2501
  geo:
2467
2502
  latitude: 48.0394954
@@ -2531,9 +2566,10 @@ SZ:
2531
2566
  mk: Саболч-Сатмар-Берег
2532
2567
  'no': Szaboles Szatmar Bereg fylke
2533
2568
  comments:
2569
+ type: county
2534
2570
  TB:
2535
2571
  name: Tatabánya
2536
- code:
2572
+ code: TB
2537
2573
  unofficial_names: Tatabánya
2538
2574
  geo:
2539
2575
  latitude: 47.569246
@@ -2604,9 +2640,10 @@ TB:
2604
2640
  mk: Татабања
2605
2641
  'no': Tatabanya
2606
2642
  comments:
2643
+ type: city_with_county_rights
2607
2644
  TO:
2608
2645
  name: Tolna
2609
- code:
2646
+ code: TO
2610
2647
  unofficial_names: Tolna
2611
2648
  geo:
2612
2649
  latitude: 46.4258265
@@ -2674,9 +2711,10 @@ TO:
2674
2711
  mk: Толна
2675
2712
  'no': Tolna Fylke
2676
2713
  comments:
2714
+ type: county
2677
2715
  VA:
2678
2716
  name: Vas
2679
- code:
2717
+ code: VA
2680
2718
  unofficial_names: Vas
2681
2719
  geo:
2682
2720
  latitude: 47.09291109999999
@@ -2746,9 +2784,10 @@ VA:
2746
2784
  mk: Ваш
2747
2785
  'no': Vas Fylke
2748
2786
  comments:
2787
+ type: county
2749
2788
  VE:
2750
2789
  name: Veszprém
2751
- code:
2790
+ code: VE
2752
2791
  unofficial_names: Veszprém
2753
2792
  geo:
2754
2793
  latitude: 47.1028087
@@ -2817,9 +2856,10 @@ VE:
2817
2856
  mk: Веспрем
2818
2857
  'no': Veszprém
2819
2858
  comments:
2859
+ type: county
2820
2860
  VM:
2821
2861
  name: Veszprém
2822
- code:
2862
+ code: VM
2823
2863
  unofficial_names: Veszprém
2824
2864
  geo:
2825
2865
  latitude: 47.1028087
@@ -2832,20 +2872,20 @@ VM:
2832
2872
  ar: فيسبرم
2833
2873
  az: Vesprem
2834
2874
  be: Горад Веспрэм
2835
- bg: Веспрем
2875
+ bg: Веспрем²
2836
2876
  bn: ভেসপ্রেম
2837
- ca: Veszprém
2838
- cs: Veszprém
2839
- da: Veszprém
2877
+ ca: Veszprém²
2878
+ cs: Veszprém²
2879
+ da: Veszprém²
2840
2880
  de: Veszprém
2841
2881
  el: Βεσζπρέμ
2842
2882
  en: Veszprém
2843
- es: Veszprém
2883
+ es: Veszprém²
2844
2884
  et: Veszprém
2845
- eu: Veszprém
2885
+ eu: Veszprém²
2846
2886
  fa: وسپریم
2847
- fi: Veszprém
2848
- fr: Veszprém
2887
+ fi: Veszprém²
2888
+ fr: Veszprém²
2849
2889
  gl: Veszprém
2850
2890
  gu: વેસ્ઝપ્રેમ
2851
2891
  he: וספרם
@@ -2853,32 +2893,32 @@ VM:
2853
2893
  hr: Vesprim
2854
2894
  hu: Veszprém
2855
2895
  hy: Վեսպրեմ
2856
- id: Veszprém
2896
+ id: Veszprém²
2857
2897
  it: Veszprém
2858
2898
  ja: ヴェスプレーム
2859
2899
  ka: ვესპრემი
2860
2900
  kn: ವೆಸ್ಜ್ಪ್ರೆಮ್
2861
2901
  ko: 베스프렘
2862
- lt: Vesprėmas
2902
+ lt: Vesprėmas²
2863
2903
  mr: वेसीझप्रेम
2864
- ms: Veszprém
2904
+ ms: Veszprém²
2865
2905
  nb: Veszprém
2866
- nl: Veszprém
2906
+ nl: Veszprém²
2867
2907
  pl: Veszprém
2868
- pt: Veszprém
2908
+ pt: Veszprém²
2869
2909
  ro: Veszprém
2870
- ru: Веспрем
2910
+ ru: Веспрем²
2871
2911
  si: වෙස්ප්‍රේම්
2872
2912
  sk: Vesprém
2873
- sl: Veszprém
2874
- sr: Веспрем
2875
- sv: Veszprém
2876
- sw: Veszprém
2913
+ sl: Veszprém²
2914
+ sr: Веспрем²
2915
+ sv: Veszprém²
2916
+ sw: Veszprém²
2877
2917
  ta: வெஸ்பிரேம்
2878
2918
  te: వేస్జ్ ప్రేమ్
2879
2919
  th: เวสเปรม
2880
2920
  tr: Veszprém
2881
- uk: Веспрем
2921
+ uk: Веспрем²
2882
2922
  ur: ویسزپریم
2883
2923
  vi: Veszprém
2884
2924
  lv: Vesprēma
@@ -2890,9 +2930,10 @@ VM:
2890
2930
  mk: Веспрем²
2891
2931
  'no': Veszprém²
2892
2932
  comments:
2933
+ type: city_with_county_rights
2893
2934
  ZA:
2894
2935
  name: Zala
2895
- code:
2936
+ code: ZA
2896
2937
  unofficial_names: Zala
2897
2938
  geo:
2898
2939
  latitude: 46.73844039999999
@@ -2960,9 +3001,10 @@ ZA:
2960
3001
  mk: Зала
2961
3002
  'no': Zala Fylke
2962
3003
  comments:
3004
+ type: county
2963
3005
  ZE:
2964
3006
  name: Zalaegerszeg
2965
- code:
3007
+ code: ZE
2966
3008
  unofficial_names: Zalaegerszeg
2967
3009
  geo:
2968
3010
  latitude: 46.8416936
@@ -3033,3 +3075,4 @@ ZE:
3033
3075
  mk: Залаегерсег
3034
3076
  'no': Zalaegerszeg
3035
3077
  comments:
3078
+ type: city_with_county_rights