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
  '10':
3
3
  name: Krung Thep Maha Nakhon [Bangkok]
4
- code:
4
+ code: '10'
5
5
  unofficial_names:
6
6
  - Krung Thep
7
7
  - Bangkok
@@ -103,9 +103,10 @@
103
103
  'no': Bangkok
104
104
  yo_BJ: Bangkok
105
105
  comments:
106
+ type: metropolitan_administration
106
107
  '11':
107
108
  name: Samut Prakan
108
- code:
109
+ code: '11'
109
110
  unofficial_names: Samut Prakan
110
111
  geo:
111
112
  latitude: 13.5990961
@@ -161,9 +162,10 @@
161
162
  yue: 北欖府
162
163
  'no': Samut Prakan
163
164
  comments:
165
+ type: province
164
166
  '12':
165
167
  name: Nonthaburi
166
- code:
168
+ code: '12'
167
169
  unofficial_names: Nonthaburi
168
170
  geo:
169
171
  latitude: 13.8621125
@@ -222,9 +224,10 @@
222
224
  mk: Нонтабури
223
225
  'no': Nonthaburi
224
226
  comments:
227
+ type: province
225
228
  '13':
226
229
  name: Pathum Thani
227
- code:
230
+ code: '13'
228
231
  unofficial_names: Pathum Thani
229
232
  geo:
230
233
  latitude: 14.0208391
@@ -280,9 +283,10 @@
280
283
  yue: 巴吞他尼府
281
284
  'no': Pathum Thani
282
285
  comments:
286
+ type: province
283
287
  '14':
284
288
  name: Phra Nakhon Si Ayutthaya
285
- code:
289
+ code: '14'
286
290
  unofficial_names: Phra Nakhon Si Ayutthaya
287
291
  geo:
288
292
  latitude: 14.3532128
@@ -340,9 +344,10 @@
340
344
  yue: 大城府
341
345
  'no': Ayutthaya
342
346
  comments:
347
+ type: province
343
348
  '15':
344
349
  name: Ang Thong
345
- code:
350
+ code: '15'
346
351
  unofficial_names: Ang Thong
347
352
  geo:
348
353
  latitude: 14.5896054
@@ -399,9 +404,10 @@
399
404
  yue: 紅統府
400
405
  'no': Ang Thong
401
406
  comments:
407
+ type: province
402
408
  '16':
403
409
  name: Lop Buri
404
- code:
410
+ code: '16'
405
411
  unofficial_names: Lop Buri
406
412
  geo:
407
413
  latitude: 14.7995081
@@ -458,9 +464,10 @@
458
464
  yue: 華富里府
459
465
  'no': Lop Buri
460
466
  comments:
467
+ type: province
461
468
  '17':
462
469
  name: Sing Buri
463
- code:
470
+ code: '17'
464
471
  unofficial_names: Sing Buri
465
472
  geo:
466
473
  latitude: 14.8936253
@@ -516,9 +523,10 @@
516
523
  yue: 信武里府
517
524
  'no': Sing Buri
518
525
  comments:
526
+ type: province
519
527
  '18':
520
528
  name: Chai Nat
521
- code:
529
+ code: '18'
522
530
  unofficial_names:
523
531
  - Chainat
524
532
  - Jainat
@@ -577,9 +585,10 @@
577
585
  yue: 猜納府
578
586
  'no': Chainat
579
587
  comments:
588
+ type: province
580
589
  '19':
581
590
  name: Saraburi
582
- code:
591
+ code: '19'
583
592
  unofficial_names: Saraburi
584
593
  geo:
585
594
  latitude: 14.5289154
@@ -636,9 +645,10 @@
636
645
  yue: 北標府
637
646
  'no': Saraburi
638
647
  comments:
648
+ type: province
639
649
  '20':
640
650
  name: Chon Buri
641
- code:
651
+ code: '20'
642
652
  unofficial_names: Chon Buri
643
653
  geo:
644
654
  latitude: 13.3611431
@@ -697,9 +707,10 @@
697
707
  my: ချွန်ဘူရီ ပြည်နယ်
698
708
  'no': Chonburi
699
709
  comments:
710
+ type: province
700
711
  '21':
701
712
  name: Rayong
702
- code:
713
+ code: '21'
703
714
  unofficial_names: Rayong
704
715
  geo:
705
716
  latitude: 12.707434
@@ -772,9 +783,10 @@
772
783
  yue: 羅勇府
773
784
  'no': Rayong
774
785
  comments:
786
+ type: province
775
787
  '22':
776
788
  name: Chanthaburi
777
- code:
789
+ code: '22'
778
790
  unofficial_names: Chanthaburi
779
791
  geo:
780
792
  latitude: 12.6112485
@@ -833,9 +845,10 @@
833
845
  yue: 尖竹汶府
834
846
  'no': Chanthaburi
835
847
  comments:
848
+ type: province
836
849
  '23':
837
850
  name: Trat
838
- code:
851
+ code: '23'
839
852
  unofficial_names: Trat
840
853
  geo:
841
854
  latitude: 12.2427563
@@ -892,9 +905,10 @@
892
905
  yue: 桐艾
893
906
  'no': Trat
894
907
  comments:
908
+ type: province
895
909
  '24':
896
910
  name: Chachoengsao
897
- code:
911
+ code: '24'
898
912
  unofficial_names: Chachoengsao
899
913
  geo:
900
914
  latitude: 13.6904194
@@ -951,9 +965,10 @@
951
965
  yue: 北柳府
952
966
  'no': Chachoengsao
953
967
  comments:
968
+ type: province
954
969
  '25':
955
970
  name: Prachin Buri
956
- code:
971
+ code: '25'
957
972
  unofficial_names: Prachin Buri
958
973
  geo:
959
974
  latitude: 14.0420699
@@ -1010,9 +1025,10 @@
1010
1025
  yue: 巴真府
1011
1026
  'no': Prachinburi
1012
1027
  comments:
1028
+ type: province
1013
1029
  '26':
1014
1030
  name: Nakhon Nayok
1015
- code:
1031
+ code: '26'
1016
1032
  unofficial_names: Nakhon Nayok
1017
1033
  geo:
1018
1034
  latitude: 14.2038387
@@ -1069,9 +1085,10 @@
1069
1085
  yue: 坤西育府
1070
1086
  'no': Nakhon Nayok
1071
1087
  comments:
1088
+ type: province
1072
1089
  '27':
1073
1090
  name: Sa Kaeo
1074
- code:
1091
+ code: '27'
1075
1092
  unofficial_names: Sa Kaeo
1076
1093
  geo:
1077
1094
  latitude: 13.8240407
@@ -1128,9 +1145,10 @@
1128
1145
  yue: 沙繳府
1129
1146
  'no': Sa Kaeo
1130
1147
  comments:
1148
+ type: province
1131
1149
  '30':
1132
1150
  name: Nakhon Ratchasima
1133
- code:
1151
+ code: '30'
1134
1152
  unofficial_names: Nakhon Ratchasima
1135
1153
  geo:
1136
1154
  latitude: 14.9798997
@@ -1186,9 +1204,10 @@
1186
1204
  yue: 呵叻府
1187
1205
  'no': Nakhon Ratchasima
1188
1206
  comments:
1207
+ type: province
1189
1208
  '31':
1190
1209
  name: Buri Ram
1191
- code:
1210
+ code: '31'
1192
1211
  unofficial_names: Buri Ram
1193
1212
  geo:
1194
1213
  latitude: 14.9930017
@@ -1245,9 +1264,10 @@
1245
1264
  yue: 武里喃府
1246
1265
  'no': Buriram
1247
1266
  comments:
1267
+ type: province
1248
1268
  '32':
1249
1269
  name: Surin
1250
- code:
1270
+ code: '32'
1251
1271
  unofficial_names: Surin
1252
1272
  geo:
1253
1273
  latitude: 14.882905
@@ -1304,9 +1324,10 @@
1304
1324
  yue: 素輦府
1305
1325
  'no': Surin
1306
1326
  comments:
1327
+ type: province
1307
1328
  '33':
1308
1329
  name: Si Sa Ket
1309
- code:
1330
+ code: '33'
1310
1331
  unofficial_names: Si Sa Ket
1311
1332
  geo:
1312
1333
  latitude: 15.1186009
@@ -1362,9 +1383,10 @@
1362
1383
  yue: 四色菊府
1363
1384
  'no': Sisaket
1364
1385
  comments:
1386
+ type: province
1365
1387
  '34':
1366
1388
  name: Ubon Ratchathani
1367
- code:
1389
+ code: '34'
1368
1390
  unofficial_names: Ubon Ratchathani
1369
1391
  geo:
1370
1392
  latitude: 15.2286861
@@ -1422,9 +1444,10 @@
1422
1444
  yue: 烏汶府
1423
1445
  'no': Ubon Ratchathani
1424
1446
  comments:
1447
+ type: province
1425
1448
  '35':
1426
1449
  name: Yasothon
1427
- code:
1450
+ code: '35'
1428
1451
  unofficial_names: Yasothon
1429
1452
  geo:
1430
1453
  latitude: 15.792641
@@ -1480,9 +1503,10 @@
1480
1503
  yue: 益梭通府
1481
1504
  'no': Yasothon
1482
1505
  comments:
1506
+ type: province
1483
1507
  '36':
1484
1508
  name: Chaiyaphum
1485
- code:
1509
+ code: '36'
1486
1510
  unofficial_names: Chaiyaphum
1487
1511
  geo:
1488
1512
  latitude: 15.8068173
@@ -1538,9 +1562,10 @@
1538
1562
  yue: 猜也賁府
1539
1563
  'no': Chaiyaphum
1540
1564
  comments:
1565
+ type: province
1541
1566
  '37':
1542
1567
  name: Amnat Charoen
1543
- code:
1568
+ code: '37'
1544
1569
  unofficial_names: Amnat Charoen
1545
1570
  geo:
1546
1571
  latitude: 15.8656783
@@ -1596,9 +1621,67 @@
1596
1621
  yue: 安納乍能府
1597
1622
  'no': Amnat Charoen
1598
1623
  comments:
1624
+ type: province
1625
+ '38':
1626
+ name: จังหวัดบึงกาฬ
1627
+ code: '38'
1628
+ unofficial_names:
1629
+ geo:
1630
+ latitude:
1631
+ longitude:
1632
+ min_latitude:
1633
+ min_longitude:
1634
+ max_latitude:
1635
+ max_longitude:
1636
+ translations:
1637
+ ar: بوينغ كان
1638
+ bn: বুয়েং কান
1639
+ da: Bueng Kan
1640
+ de: Bueng Kan
1641
+ el: Μπουένγκ Καν
1642
+ en: Bueng Kan
1643
+ es: Bueng Kan
1644
+ fi: Bueng Kan
1645
+ fr: Province de Bueng Kan
1646
+ gl: Provincia Bueng Kan
1647
+ gu: બુએન કાન
1648
+ hi: बुएंग कान प्रान्त
1649
+ id: Provinsi Bueng Kan
1650
+ it: provincia di Bueng Kan
1651
+ ja: ブンカーン県
1652
+ kn: ಬುಯಿಂಗ್ ಕನ್
1653
+ ko: 븡깐 주
1654
+ lo: ຈັງຫວັດບຶງການ
1655
+ mr: बुइंग कान
1656
+ ms: Bueng Kan
1657
+ nb: Bungkan
1658
+ nl: Bueng Kan
1659
+ pl: Bueng Kan
1660
+ pt: Bungkan
1661
+ ro: Provincia Bueng Kan
1662
+ ru: Бунгкан
1663
+ si: බුඑන්ග් කාන්
1664
+ sv: Bueng Kan
1665
+ ta: புயெங் காண்
1666
+ te: బుయెంగ్ కాన్
1667
+ th: จังหวัดบึงกาฬ
1668
+ tr: Bueng Kan
1669
+ ur: صوبہ بوئنگ کان
1670
+ vi: Bueng Kan (tỉnh)
1671
+ zh: 汶干府
1672
+ lv: Bungkana
1673
+ ceb: Changwat Bueng Kan
1674
+ lt: Bung Kanas
1675
+ yue_Hans: 汶干府
1676
+ ccp: "\U0001111D\U0001112A\U00011120\U0001112C\U00011101 \U00011107\U0001111A\U00011134"
1677
+ uk: Провінція Бунгкан
1678
+ yue: 汶幹府
1679
+ 'no': Bungkan
1680
+ comments:
1681
+ type: province
1599
1682
  '39':
1600
1683
  name: Nong Bua Lam Phu
1601
- code:
1684
+ code: '39'
1602
1685
  unofficial_names: Nong Bua Lam Phu
1603
1686
  geo:
1604
1687
  latitude: 17.2218247
@@ -1655,9 +1738,10 @@
1655
1738
  yue: 廊磨喃蒲府
1656
1739
  'no': Nongbua Lamphu
1657
1740
  comments:
1741
+ type: province
1658
1742
  '40':
1659
1743
  name: Khon Kaen
1660
- code:
1744
+ code: '40'
1661
1745
  unofficial_names: Khon Kaen
1662
1746
  geo:
1663
1747
  latitude: 16.4419355
@@ -1714,9 +1798,10 @@
1714
1798
  yue: 坤敬府
1715
1799
  'no': Khon Kaen
1716
1800
  comments:
1801
+ type: province
1717
1802
  '41':
1718
1803
  name: Udon Thani
1719
- code:
1804
+ code: '41'
1720
1805
  unofficial_names: Udon Thani
1721
1806
  geo:
1722
1807
  latitude: 17.4138413
@@ -1774,9 +1859,10 @@
1774
1859
  yue: 烏隆府
1775
1860
  'no': Udon Thani
1776
1861
  comments:
1862
+ type: province
1777
1863
  '42':
1778
1864
  name: Loei
1779
- code:
1865
+ code: '42'
1780
1866
  unofficial_names: Loei
1781
1867
  geo:
1782
1868
  latitude: 17.4860232
@@ -1832,9 +1918,10 @@
1832
1918
  yue: 黎府
1833
1919
  'no': Loei
1834
1920
  comments:
1921
+ type: province
1835
1922
  '43':
1836
1923
  name: Nong Khai
1837
- code:
1924
+ code: '43'
1838
1925
  unofficial_names: Nong Khai
1839
1926
  geo:
1840
1927
  latitude: 17.8782803
@@ -1890,9 +1977,10 @@
1890
1977
  yue: 廊開府
1891
1978
  'no': Nong Khai
1892
1979
  comments:
1980
+ type: province
1893
1981
  '44':
1894
1982
  name: Maha Sarakham
1895
- code:
1983
+ code: '44'
1896
1984
  unofficial_names: Maha Sarakham
1897
1985
  geo:
1898
1986
  latitude: 16.0132015
@@ -1949,9 +2037,10 @@
1949
2037
  yue: 嗎哈沙拉堪府
1950
2038
  'no': Maha Sarakham
1951
2039
  comments:
2040
+ type: province
1952
2041
  '45':
1953
2042
  name: Roi Et
1954
- code:
2043
+ code: '45'
1955
2044
  unofficial_names: Roi Et
1956
2045
  geo:
1957
2046
  latitude: 16.0538196
@@ -2006,9 +2095,10 @@
2006
2095
  yue: 橫逸府
2007
2096
  'no': Roi Et
2008
2097
  comments:
2098
+ type: province
2009
2099
  '46':
2010
2100
  name: Kalasin
2011
- code:
2101
+ code: '46'
2012
2102
  unofficial_names: Kalasin
2013
2103
  geo:
2014
2104
  latitude: 16.434167
@@ -2065,9 +2155,10 @@
2065
2155
  yue: 加拉信府
2066
2156
  'no': Kalasin
2067
2157
  comments:
2158
+ type: province
2068
2159
  '47':
2069
2160
  name: Sakon Nakhon
2070
- code:
2161
+ code: '47'
2071
2162
  unofficial_names: Sakon Nakhon
2072
2163
  geo:
2073
2164
  latitude: 17.1545995
@@ -2123,9 +2214,10 @@
2123
2214
  yue: 色軍府
2124
2215
  'no': Sakon Nakhon
2125
2216
  comments:
2217
+ type: province
2126
2218
  '48':
2127
2219
  name: Nakhon Phanom
2128
- code:
2220
+ code: '48'
2129
2221
  unofficial_names: Nakhon Phanom
2130
2222
  geo:
2131
2223
  latitude: 17.392039
@@ -2181,9 +2273,10 @@
2181
2273
  yue: 那空拍儂府
2182
2274
  'no': Nakhon Phanom
2183
2275
  comments:
2276
+ type: province
2184
2277
  '49':
2185
2278
  name: Mukdahan
2186
- code:
2279
+ code: '49'
2187
2280
  unofficial_names: Mukdahan
2188
2281
  geo:
2189
2282
  latitude: 16.5695723
@@ -2239,9 +2332,10 @@
2239
2332
  yue: 莫拉限府
2240
2333
  'no': Mukdahan
2241
2334
  comments:
2335
+ type: province
2242
2336
  '50':
2243
2337
  name: Chiang Mai
2244
- code:
2338
+ code: '50'
2245
2339
  unofficial_names:
2246
2340
  - Chiangmai
2247
2341
  - Chiengmai
@@ -2304,9 +2398,10 @@
2304
2398
  yue: 清邁府
2305
2399
  'no': Chiang Mai
2306
2400
  comments:
2401
+ type: province
2307
2402
  '51':
2308
2403
  name: Lamphun
2309
- code:
2404
+ code: '51'
2310
2405
  unofficial_names: Lamphun
2311
2406
  geo:
2312
2407
  latitude: 18.5744606
@@ -2364,9 +2459,10 @@
2364
2459
  yue: 南奔府
2365
2460
  'no': Lamphun
2366
2461
  comments:
2462
+ type: province
2367
2463
  '52':
2368
2464
  name: Lampang
2369
- code:
2465
+ code: '52'
2370
2466
  unofficial_names: Lampang
2371
2467
  geo:
2372
2468
  latitude: 18.2888404
@@ -2424,9 +2520,10 @@
2424
2520
  yue: 南邦府
2425
2521
  'no': Lampang
2426
2522
  comments:
2523
+ type: province
2427
2524
  '53':
2428
2525
  name: Uttaradit
2429
- code:
2526
+ code: '53'
2430
2527
  unofficial_names: Uttaradit
2431
2528
  geo:
2432
2529
  latitude: 17.6200886
@@ -2483,9 +2580,10 @@
2483
2580
  yue: 程逸府
2484
2581
  'no': Uttaradit
2485
2582
  comments:
2583
+ type: province
2486
2584
  '54':
2487
2585
  name: Phrae
2488
- code:
2586
+ code: '54'
2489
2587
  unofficial_names: Phrae
2490
2588
  geo:
2491
2589
  latitude: 18.1445774
@@ -2542,9 +2640,10 @@
2542
2640
  yue: 帕府
2543
2641
  'no': Phrae
2544
2642
  comments:
2643
+ type: province
2545
2644
  '55':
2546
2645
  name: Nan
2547
- code:
2646
+ code: '55'
2548
2647
  unofficial_names: Nan
2549
2648
  geo:
2550
2649
  latitude: 18.7756318
@@ -2602,9 +2701,10 @@
2602
2701
  yue: 楠府
2603
2702
  'no': Nan
2604
2703
  comments:
2704
+ type: province
2605
2705
  '56':
2606
2706
  name: Phayao
2607
- code:
2707
+ code: '56'
2608
2708
  unofficial_names: Phayao
2609
2709
  geo:
2610
2710
  latitude: 19.2154367
@@ -2661,9 +2761,10 @@
2661
2761
  yue: 拍天府
2662
2762
  'no': Phayao
2663
2763
  comments:
2764
+ type: province
2664
2765
  '57':
2665
2766
  name: Chiang Rai
2666
- code:
2767
+ code: '57'
2667
2768
  unofficial_names:
2668
2769
  - Chianpai
2669
2770
  - Chienrai
@@ -2726,9 +2827,10 @@
2726
2827
  yue: 清萊
2727
2828
  'no': Chiang Rai
2728
2829
  comments:
2830
+ type: province
2729
2831
  '58':
2730
2832
  name: Mae Hong Son
2731
- code:
2833
+ code: '58'
2732
2834
  unofficial_names: Mae Hong Son
2733
2835
  geo:
2734
2836
  latitude: 19.3020296
@@ -2785,9 +2887,10 @@
2785
2887
  yue: 湄宏順府
2786
2888
  'no': Mae Hong Son
2787
2889
  comments:
2890
+ type: province
2788
2891
  '60':
2789
2892
  name: Nakhon Sawan
2790
- code:
2893
+ code: '60'
2791
2894
  unofficial_names: Nakhon Sawan
2792
2895
  geo:
2793
2896
  latitude: 15.6930072
@@ -2844,9 +2947,10 @@
2844
2947
  mk: Након Саван
2845
2948
  'no': Nakhon Sawan
2846
2949
  comments:
2950
+ type: province
2847
2951
  '61':
2848
2952
  name: Uthai Thani
2849
- code:
2953
+ code: '61'
2850
2954
  unofficial_names: Uthai Thani
2851
2955
  geo:
2852
2956
  latitude: 15.3835001
@@ -2902,9 +3006,10 @@
2902
3006
  yue: 烏泰他尼府
2903
3007
  'no': Uthai Thani
2904
3008
  comments:
3009
+ type: province
2905
3010
  '62':
2906
3011
  name: Kamphaeng Phet
2907
- code:
3012
+ code: '62'
2908
3013
  unofficial_names: Kamphaeng Phet
2909
3014
  geo:
2910
3015
  latitude: 16.4827798
@@ -2960,9 +3065,10 @@
2960
3065
  yue: 甘烹碧府
2961
3066
  'no': Kamphaeng Phet
2962
3067
  comments:
3068
+ type: province
2963
3069
  '63':
2964
3070
  name: Tak
2965
- code:
3071
+ code: '63'
2966
3072
  unofficial_names: Tak
2967
3073
  geo:
2968
3074
  latitude: 16.8839901
@@ -3020,9 +3126,10 @@
3020
3126
  yue: 來興府
3021
3127
  'no': Tak
3022
3128
  comments:
3129
+ type: province
3023
3130
  '64':
3024
3131
  name: Sukhothai
3025
- code:
3132
+ code: '64'
3026
3133
  unofficial_names:
3027
3134
  - Sakhothai
3028
3135
  geo:
@@ -3080,9 +3187,10 @@
3080
3187
  yue: 素可泰府
3081
3188
  'no': Sukhothai
3082
3189
  comments:
3190
+ type: province
3083
3191
  '65':
3084
3192
  name: Phitsanulok
3085
- code:
3193
+ code: '65'
3086
3194
  unofficial_names: Phitsanulok
3087
3195
  geo:
3088
3196
  latitude: 16.8211238
@@ -3140,9 +3248,10 @@
3140
3248
  yue: 彭世洛府
3141
3249
  'no': Phitsanulok
3142
3250
  comments:
3251
+ type: province
3143
3252
  '66':
3144
3253
  name: Phichit
3145
- code:
3254
+ code: '66'
3146
3255
  unofficial_names: Phichit
3147
3256
  geo:
3148
3257
  latitude: 16.2740876
@@ -3198,9 +3307,10 @@
3198
3307
  yue: 披集府
3199
3308
  'no': Phichit
3200
3309
  comments:
3310
+ type: province
3201
3311
  '67':
3202
3312
  name: Phetchabun
3203
- code:
3313
+ code: '67'
3204
3314
  unofficial_names: Phetchabun
3205
3315
  geo:
3206
3316
  latitude: 16.301669
@@ -3256,9 +3366,10 @@
3256
3366
  yue: 碧差汶府
3257
3367
  'no': Phetchabun
3258
3368
  comments:
3369
+ type: province
3259
3370
  '70':
3260
3371
  name: Ratchaburi
3261
- code:
3372
+ code: '70'
3262
3373
  unofficial_names: Ratchaburi
3263
3374
  geo:
3264
3375
  latitude: 13.5282893
@@ -3315,9 +3426,10 @@
3315
3426
  yue: 叻丕府
3316
3427
  'no': Ratchaburi
3317
3428
  comments:
3429
+ type: province
3318
3430
  '71':
3319
3431
  name: Kanchanaburi
3320
- code:
3432
+ code: '71'
3321
3433
  unofficial_names: Kanchanaburi
3322
3434
  geo:
3323
3435
  latitude: 14.0227797
@@ -3375,9 +3487,10 @@
3375
3487
  yue: 北碧府
3376
3488
  'no': Kanchanaburi
3377
3489
  comments:
3490
+ type: province
3378
3491
  '72':
3379
3492
  name: Suphan Buri
3380
- code:
3493
+ code: '72'
3381
3494
  unofficial_names: Suphan Buri
3382
3495
  geo:
3383
3496
  latitude: 14.4744892
@@ -3433,9 +3546,10 @@
3433
3546
  yue: 素攀武里府
3434
3547
  'no': Suphan Buri
3435
3548
  comments:
3549
+ type: province
3436
3550
  '73':
3437
3551
  name: Nakhon Pathom
3438
- code:
3552
+ code: '73'
3439
3553
  unofficial_names: Nakhon Pathom
3440
3554
  geo:
3441
3555
  latitude: 13.8199206
@@ -3491,9 +3605,10 @@
3491
3605
  yue: 佛統府
3492
3606
  'no': Nakhon Pathom
3493
3607
  comments:
3608
+ type: province
3494
3609
  '74':
3495
3610
  name: Samut Sakhon
3496
- code:
3611
+ code: '74'
3497
3612
  unofficial_names: Samut Sakhon
3498
3613
  geo:
3499
3614
  latitude: 13.5475216
@@ -3549,9 +3664,10 @@
3549
3664
  yue: 龍仔厝府
3550
3665
  'no': Samut Sakhon
3551
3666
  comments:
3667
+ type: province
3552
3668
  '75':
3553
3669
  name: Samut Songkhram
3554
- code:
3670
+ code: '75'
3555
3671
  unofficial_names: Samut Songkhram
3556
3672
  geo:
3557
3673
  latitude: 13.4098217
@@ -3609,9 +3725,10 @@
3609
3725
  yue: 夜功府
3610
3726
  'no': Samut Songkhram
3611
3727
  comments:
3728
+ type: province
3612
3729
  '76':
3613
3730
  name: Phetchaburi
3614
- code:
3731
+ code: '76'
3615
3732
  unofficial_names: Phetchaburi
3616
3733
  geo:
3617
3734
  latitude: 12.9649215
@@ -3669,9 +3786,10 @@
3669
3786
  yue: 佛丕府
3670
3787
  'no': Phetchaburi
3671
3788
  comments:
3789
+ type: province
3672
3790
  '77':
3673
3791
  name: Prachuap Khiri Khan
3674
- code:
3792
+ code: '77'
3675
3793
  unofficial_names: Prachuap Khiri Khan
3676
3794
  geo:
3677
3795
  latitude: 11.816667
@@ -3731,9 +3849,10 @@
3731
3849
  yue: 班武里府
3732
3850
  'no': Prachuap Khiri Khan
3733
3851
  comments:
3852
+ type: province
3734
3853
  '80':
3735
3854
  name: Nakhon Si Thammarat
3736
- code:
3855
+ code: '80'
3737
3856
  unofficial_names: Nakhon Si Thammarat
3738
3857
  geo:
3739
3858
  latitude: 8.4303975
@@ -3791,9 +3910,10 @@
3791
3910
  yue: 洛坤府
3792
3911
  'no': Nakhon Si Thammarat
3793
3912
  comments:
3913
+ type: province
3794
3914
  '81':
3795
3915
  name: Krabi
3796
- code:
3916
+ code: '81'
3797
3917
  unofficial_names: Krabi
3798
3918
  geo:
3799
3919
  latitude: 8.0862997
@@ -3852,9 +3972,10 @@
3852
3972
  yue: 甲米府
3853
3973
  'no': Krabi
3854
3974
  comments:
3975
+ type: province
3855
3976
  '82':
3856
3977
  name: Phangnga
3857
- code:
3978
+ code: '82'
3858
3979
  unofficial_names: Phangnga
3859
3980
  geo:
3860
3981
  latitude: 8.4501414
@@ -3911,9 +4032,10 @@
3911
4032
  yue: 攀牙府
3912
4033
  'no': Phang Nga
3913
4034
  comments:
4035
+ type: province
3914
4036
  '83':
3915
4037
  name: Phuket
3916
- code:
4038
+ code: '83'
3917
4039
  unofficial_names: Phuket
3918
4040
  geo:
3919
4041
  latitude: 7.9519331
@@ -3981,9 +4103,10 @@
3981
4103
  yue: 布吉府
3982
4104
  'no': Phuket
3983
4105
  comments:
4106
+ type: province
3984
4107
  '84':
3985
4108
  name: Surat Thani
3986
- code:
4109
+ code: '84'
3987
4110
  unofficial_names: Surat Thani
3988
4111
  geo:
3989
4112
  latitude: 9.1382389
@@ -4043,9 +4166,10 @@
4043
4166
  yue: 素叻府
4044
4167
  'no': Surat Thani
4045
4168
  comments:
4169
+ type: province
4046
4170
  '85':
4047
4171
  name: Ranong
4048
- code:
4172
+ code: '85'
4049
4173
  unofficial_names: Ranong
4050
4174
  geo:
4051
4175
  latitude: 9.9528702
@@ -4102,9 +4226,10 @@
4102
4226
  yue: 拉廊府
4103
4227
  'no': Ranong
4104
4228
  comments:
4229
+ type: province
4105
4230
  '86':
4106
4231
  name: Chumphon
4107
- code:
4232
+ code: '86'
4108
4233
  unofficial_names: Chumphon
4109
4234
  geo:
4110
4235
  latitude: 10.4930496
@@ -4160,9 +4285,10 @@
4160
4285
  yue: 春蓬府
4161
4286
  'no': Chumphon
4162
4287
  comments:
4288
+ type: province
4163
4289
  '90':
4164
4290
  name: Songkhla
4165
- code:
4291
+ code: '90'
4166
4292
  unofficial_names: Songkhla
4167
4293
  geo:
4168
4294
  latitude: 7.1756004
@@ -4219,9 +4345,10 @@
4219
4345
  yue: 宋卡府
4220
4346
  'no': Songkhla
4221
4347
  comments:
4348
+ type: province
4222
4349
  '91':
4223
4350
  name: Satun
4224
- code:
4351
+ code: '91'
4225
4352
  unofficial_names: Satun
4226
4353
  geo:
4227
4354
  latitude: 6.6238158
@@ -4277,9 +4404,10 @@
4277
4404
  yue: 沙敦府
4278
4405
  'no': Satun
4279
4406
  comments:
4407
+ type: province
4280
4408
  '92':
4281
4409
  name: Trang
4282
- code:
4410
+ code: '92'
4283
4411
  unofficial_names: Trang
4284
4412
  geo:
4285
4413
  latitude: 7.5593851
@@ -4336,9 +4464,10 @@
4336
4464
  yue: 董里府
4337
4465
  'no': Trang
4338
4466
  comments:
4467
+ type: province
4339
4468
  '93':
4340
4469
  name: Phatthalung
4341
- code:
4470
+ code: '93'
4342
4471
  unofficial_names: Phatthalung
4343
4472
  geo:
4344
4473
  latitude: 7.6166823
@@ -4394,9 +4523,10 @@
4394
4523
  yue: 博他侖府
4395
4524
  'no': Phattalung
4396
4525
  comments:
4526
+ type: province
4397
4527
  '94':
4398
4528
  name: Pattani
4399
- code:
4529
+ code: '94'
4400
4530
  unofficial_names: Pattani
4401
4531
  geo:
4402
4532
  latitude: 6.761830799999999
@@ -4454,9 +4584,10 @@
4454
4584
  az: Pattani
4455
4585
  'no': Pattani
4456
4586
  comments:
4587
+ type: province
4457
4588
  '95':
4458
4589
  name: Yala
4459
- code:
4590
+ code: '95'
4460
4591
  unofficial_names: Yala
4461
4592
  geo:
4462
4593
  latitude: 6.541147
@@ -4513,9 +4644,10 @@
4513
4644
  yue: 惹拉府
4514
4645
  'no': Yala
4515
4646
  comments:
4647
+ type: province
4516
4648
  '96':
4517
4649
  name: Narathiwat
4518
- code:
4650
+ code: '96'
4519
4651
  unofficial_names: Narathiwat
4520
4652
  geo:
4521
4653
  latitude: 6.4254607
@@ -4573,9 +4705,10 @@
4573
4705
  yue: 陶公府
4574
4706
  'no': Narathiwat
4575
4707
  comments:
4708
+ type: province
4576
4709
  S:
4577
4710
  name: Phatthaya
4578
- code:
4711
+ code: S
4579
4712
  unofficial_names: Phatthaya
4580
4713
  geo:
4581
4714
  latitude: 12.9276082
@@ -4645,59 +4778,4 @@ S:
4645
4778
  mk: Патаја
4646
4779
  'no': Pattaya
4647
4780
  comments:
4648
- '38':
4649
- name: จังหวัดบึงกาฬ
4650
- code:
4651
- unofficial_names:
4652
- geo:
4653
- latitude:
4654
- longitude:
4655
- min_latitude:
4656
- min_longitude:
4657
- max_latitude:
4658
- max_longitude:
4659
- translations:
4660
- ar: بوينغ كان
4661
- bn: বুয়েং কান
4662
- da: Bueng Kan
4663
- de: Bueng Kan
4664
- el: Μπουένγκ Καν
4665
- en: Bueng Kan
4666
- es: Bueng Kan
4667
- fi: Bueng Kan
4668
- fr: Province de Bueng Kan
4669
- gl: Provincia Bueng Kan
4670
- gu: બુએન કાન
4671
- hi: बुएंग कान प्रान्त
4672
- id: Provinsi Bueng Kan
4673
- it: provincia di Bueng Kan
4674
- ja: ブンカーン県
4675
- kn: ಬುಯಿಂಗ್ ಕನ್
4676
- ko: 븡깐 주
4677
- lo: ຈັງຫວັດບຶງການ
4678
- mr: बुइंग कान
4679
- ms: Bueng Kan
4680
- nb: Bungkan
4681
- nl: Bueng Kan
4682
- pl: Bueng Kan
4683
- pt: Bungkan
4684
- ro: Provincia Bueng Kan
4685
- ru: Бунгкан
4686
- si: බුඑන්ග් කාන්
4687
- sv: Bueng Kan
4688
- ta: புயெங் காண்
4689
- te: బుయెంగ్ కాన్
4690
- th: จังหวัดบึงกาฬ
4691
- tr: Bueng Kan
4692
- ur: صوبہ بوئنگ کان
4693
- vi: Bueng Kan (tỉnh)
4694
- zh: 汶干府
4695
- lv: Bungkana
4696
- ceb: Changwat Bueng Kan
4697
- lt: Bung Kanas
4698
- yue_Hans: 汶干府
4699
- ccp: "\U0001111D\U0001112A\U00011120\U0001112C\U00011101 \U00011107\U0001111A\U00011134"
4700
- uk: Провінція Бунгкан
4701
- yue: 汶幹府
4702
- 'no': Bungkan
4703
- comments:
4781
+ type: special_administrative_city