countries 4.2.3 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/tests.yml +3 -7
- data/.rubocop.yml +40 -1
- data/.rubocop_todo.yml +8 -41
- data/CHANGELOG.md +35 -2
- data/Gemfile +5 -3
- data/README.markdown +56 -62
- data/Rakefile +21 -45
- data/UPGRADE.md +39 -0
- data/bin/console +1 -0
- data/countries.gemspec +7 -6
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/ab.json +1 -1
- data/lib/countries/cache/locales/af.json +1 -1
- data/lib/countries/cache/locales/ak.json +1 -1
- data/lib/countries/cache/locales/am.json +1 -1
- data/lib/countries/cache/locales/an.json +1 -1
- data/lib/countries/cache/locales/ar.json +1 -1
- data/lib/countries/cache/locales/as.json +1 -1
- data/lib/countries/cache/locales/ay.json +1 -1
- data/lib/countries/cache/locales/az.json +1 -1
- data/lib/countries/cache/locales/ba.json +1 -1
- data/lib/countries/cache/locales/be.json +1 -1
- data/lib/countries/cache/locales/bg.json +1 -1
- data/lib/countries/cache/locales/bi.json +1 -1
- data/lib/countries/cache/locales/bn-in.json +1 -1
- data/lib/countries/cache/locales/bn.json +1 -1
- data/lib/countries/cache/locales/br.json +1 -1
- data/lib/countries/cache/locales/bs.json +1 -1
- data/lib/countries/cache/locales/ca.json +1 -1
- data/lib/countries/cache/locales/ce.json +1 -1
- data/lib/countries/cache/locales/ch.json +1 -1
- data/lib/countries/cache/locales/cs.json +1 -1
- data/lib/countries/cache/locales/cv.json +1 -1
- data/lib/countries/cache/locales/cy.json +1 -1
- data/lib/countries/cache/locales/da.json +1 -1
- data/lib/countries/cache/locales/de.json +1 -1
- data/lib/countries/cache/locales/dv.json +1 -1
- data/lib/countries/cache/locales/dz.json +1 -1
- data/lib/countries/cache/locales/ee.json +1 -1
- data/lib/countries/cache/locales/el.json +1 -1
- data/lib/countries/cache/locales/en.json +1 -1
- data/lib/countries/cache/locales/eo.json +1 -1
- data/lib/countries/cache/locales/es.json +1 -1
- data/lib/countries/cache/locales/et.json +1 -1
- data/lib/countries/cache/locales/eu.json +1 -1
- data/lib/countries/cache/locales/fa.json +1 -1
- data/lib/countries/cache/locales/ff.json +1 -1
- data/lib/countries/cache/locales/fi.json +1 -1
- data/lib/countries/cache/locales/fo.json +1 -1
- data/lib/countries/cache/locales/fr.json +1 -1
- data/lib/countries/cache/locales/fy.json +1 -1
- data/lib/countries/cache/locales/ga.json +1 -1
- data/lib/countries/cache/locales/gl.json +1 -1
- data/lib/countries/cache/locales/gn.json +1 -1
- data/lib/countries/cache/locales/gu.json +1 -1
- data/lib/countries/cache/locales/gv.json +1 -1
- data/lib/countries/cache/locales/ha.json +1 -1
- data/lib/countries/cache/locales/he.json +1 -1
- data/lib/countries/cache/locales/hi.json +1 -1
- data/lib/countries/cache/locales/hr.json +1 -1
- data/lib/countries/cache/locales/ht.json +1 -1
- data/lib/countries/cache/locales/hu.json +1 -1
- data/lib/countries/cache/locales/hy.json +1 -1
- data/lib/countries/cache/locales/ia.json +1 -1
- data/lib/countries/cache/locales/id.json +1 -1
- data/lib/countries/cache/locales/io.json +1 -1
- data/lib/countries/cache/locales/is.json +1 -1
- data/lib/countries/cache/locales/it.json +1 -1
- data/lib/countries/cache/locales/iu.json +1 -1
- data/lib/countries/cache/locales/ja.json +1 -1
- data/lib/countries/cache/locales/ka.json +1 -1
- data/lib/countries/cache/locales/ki.json +1 -1
- data/lib/countries/cache/locales/kk.json +1 -1
- data/lib/countries/cache/locales/kl.json +1 -1
- data/lib/countries/cache/locales/km.json +1 -1
- data/lib/countries/cache/locales/kn.json +1 -1
- data/lib/countries/cache/locales/ko.json +1 -1
- data/lib/countries/cache/locales/kv.json +1 -1
- data/lib/countries/cache/locales/kw.json +1 -1
- data/lib/countries/cache/locales/ky.json +1 -1
- data/lib/countries/cache/locales/lo.json +1 -1
- data/lib/countries/cache/locales/lt.json +1 -1
- data/lib/countries/cache/locales/lv.json +1 -1
- data/lib/countries/cache/locales/mi.json +1 -1
- data/lib/countries/cache/locales/mk.json +1 -1
- data/lib/countries/cache/locales/ml.json +1 -1
- data/lib/countries/cache/locales/mn.json +1 -1
- data/lib/countries/cache/locales/mr.json +1 -1
- data/lib/countries/cache/locales/ms.json +1 -1
- data/lib/countries/cache/locales/mt.json +1 -1
- data/lib/countries/cache/locales/my.json +1 -1
- data/lib/countries/cache/locales/na.json +1 -1
- data/lib/countries/cache/locales/nb.json +1 -1
- data/lib/countries/cache/locales/ne.json +1 -1
- data/lib/countries/cache/locales/nl.json +1 -1
- data/lib/countries/cache/locales/nn.json +1 -1
- data/lib/countries/cache/locales/nv.json +1 -1
- data/lib/countries/cache/locales/oc.json +1 -1
- data/lib/countries/cache/locales/or.json +1 -1
- data/lib/countries/cache/locales/pa.json +1 -1
- data/lib/countries/cache/locales/pi.json +1 -1
- data/lib/countries/cache/locales/pl.json +1 -1
- data/lib/countries/cache/locales/ps.json +1 -1
- data/lib/countries/cache/locales/pt-br.json +1 -1
- data/lib/countries/cache/locales/pt.json +1 -1
- data/lib/countries/cache/locales/ro.json +1 -1
- data/lib/countries/cache/locales/ru.json +1 -1
- data/lib/countries/cache/locales/rw.json +1 -1
- data/lib/countries/cache/locales/sc.json +1 -1
- data/lib/countries/cache/locales/sd.json +1 -1
- data/lib/countries/cache/locales/si.json +1 -1
- data/lib/countries/cache/locales/sk.json +1 -1
- data/lib/countries/cache/locales/sl.json +1 -1
- data/lib/countries/cache/locales/so.json +1 -1
- data/lib/countries/cache/locales/sq.json +1 -1
- data/lib/countries/cache/locales/sr.json +1 -1
- data/lib/countries/cache/locales/sv.json +1 -1
- data/lib/countries/cache/locales/sw.json +1 -1
- data/lib/countries/cache/locales/ta.json +1 -1
- data/lib/countries/cache/locales/te.json +1 -1
- data/lib/countries/cache/locales/tg.json +1 -1
- data/lib/countries/cache/locales/th.json +1 -1
- data/lib/countries/cache/locales/ti.json +1 -1
- data/lib/countries/cache/locales/tk.json +1 -1
- data/lib/countries/cache/locales/tl.json +1 -1
- data/lib/countries/cache/locales/tr.json +1 -1
- data/lib/countries/cache/locales/tt.json +1 -1
- data/lib/countries/cache/locales/ug.json +1 -1
- data/lib/countries/cache/locales/uk.json +1 -1
- data/lib/countries/cache/locales/ur.json +1 -1
- data/lib/countries/cache/locales/uz.json +1 -1
- data/lib/countries/cache/locales/ve.json +1 -1
- data/lib/countries/cache/locales/vi.json +1 -1
- data/lib/countries/cache/locales/wa.json +1 -1
- data/lib/countries/cache/locales/wo.json +1 -1
- data/lib/countries/cache/locales/xh.json +1 -1
- data/lib/countries/cache/locales/yo.json +1 -1
- data/lib/countries/cache/locales/zh-cn.json +1 -1
- data/lib/countries/cache/locales/zh-hk.json +1 -1
- data/lib/countries/cache/locales/zh-tw.json +1 -1
- data/lib/countries/cache/locales/zu.json +1 -1
- data/lib/countries/configuration.rb +2 -0
- data/lib/countries/country/class_methods.rb +20 -103
- data/lib/countries/country/currency_methods.rb +2 -0
- data/lib/countries/country/emoji.rb +2 -3
- data/lib/countries/country/finder_methods.rb +81 -0
- data/lib/countries/country.rb +32 -43
- data/lib/countries/data/countries/KN.yaml +0 -1
- data/lib/countries/data/subdivisions/AD.yaml +14 -7
- data/lib/countries/data/subdivisions/AE.yaml +14 -7
- data/lib/countries/data/subdivisions/AF.yaml +196 -201
- data/lib/countries/data/subdivisions/AG.yaml +16 -22
- data/lib/countries/data/subdivisions/AL.yaml +24 -12
- data/lib/countries/data/subdivisions/AM.yaml +22 -11
- data/lib/countries/data/subdivisions/AO.yaml +36 -18
- data/lib/countries/data/subdivisions/AR.yaml +48 -24
- data/lib/countries/data/subdivisions/AT.yaml +18 -9
- data/lib/countries/data/subdivisions/AU.yaml +16 -8
- data/lib/countries/data/subdivisions/AZ.yaml +434 -412
- data/lib/countries/data/subdivisions/BA.yaml +75 -223
- data/lib/countries/data/subdivisions/BB.yaml +22 -11
- data/lib/countries/data/subdivisions/BD.yaml +188 -116
- data/lib/countries/data/subdivisions/BE.yaml +174 -161
- data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
- data/lib/countries/data/subdivisions/BG.yaml +56 -28
- data/lib/countries/data/subdivisions/BH.yaml +8 -21
- data/lib/countries/data/subdivisions/BI.yaml +176 -157
- data/lib/countries/data/subdivisions/BJ.yaml +24 -12
- data/lib/countries/data/subdivisions/BN.yaml +8 -4
- data/lib/countries/data/subdivisions/BO.yaml +18 -9
- data/lib/countries/data/subdivisions/BQ.yaml +6 -3
- data/lib/countries/data/subdivisions/BR.yaml +54 -27
- data/lib/countries/data/subdivisions/BS.yaml +575 -697
- data/lib/countries/data/subdivisions/BT.yaml +40 -20
- data/lib/countries/data/subdivisions/BW.yaml +337 -321
- data/lib/countries/data/subdivisions/BY.yaml +106 -116
- data/lib/countries/data/subdivisions/BZ.yaml +12 -6
- data/lib/countries/data/subdivisions/CA.yaml +26 -13
- data/lib/countries/data/subdivisions/CD.yaml +488 -525
- data/lib/countries/data/subdivisions/CF.yaml +34 -17
- data/lib/countries/data/subdivisions/CG.yaml +40 -28
- data/lib/countries/data/subdivisions/CH.yaml +52 -26
- data/lib/countries/data/subdivisions/CI.yaml +244 -516
- data/lib/countries/data/subdivisions/CL.yaml +81 -65
- data/lib/countries/data/subdivisions/CM.yaml +20 -10
- data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
- data/lib/countries/data/subdivisions/CO.yaml +66 -33
- data/lib/countries/data/subdivisions/CR.yaml +14 -7
- data/lib/countries/data/subdivisions/CU.yaml +32 -16
- data/lib/countries/data/subdivisions/CV.yaml +427 -401
- data/lib/countries/data/subdivisions/CY.yaml +12 -6
- data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
- data/lib/countries/data/subdivisions/DE.yaml +32 -16
- data/lib/countries/data/subdivisions/DJ.yaml +12 -6
- data/lib/countries/data/subdivisions/DK.yaml +25 -17
- data/lib/countries/data/subdivisions/DM.yaml +20 -10
- data/lib/countries/data/subdivisions/DO.yaml +84 -42
- data/lib/countries/data/subdivisions/DZ.yaml +96 -48
- data/lib/countries/data/subdivisions/EC.yaml +158 -134
- data/lib/countries/data/subdivisions/EE.yaml +501 -334
- data/lib/countries/data/subdivisions/EG.yaml +54 -27
- data/lib/countries/data/subdivisions/ER.yaml +12 -6
- data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
- data/lib/countries/data/subdivisions/ET.yaml +22 -11
- data/lib/countries/data/subdivisions/FI.yaml +185 -1
- data/lib/countries/data/subdivisions/FJ.yaml +443 -424
- data/lib/countries/data/subdivisions/FM.yaml +8 -4
- data/lib/countries/data/subdivisions/FR.yaml +438 -275
- data/lib/countries/data/subdivisions/GA.yaml +18 -9
- data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
- data/lib/countries/data/subdivisions/GD.yaml +14 -7
- data/lib/countries/data/subdivisions/GE.yaml +24 -12
- data/lib/countries/data/subdivisions/GH.yaml +114 -155
- data/lib/countries/data/subdivisions/GL.yaml +24 -79
- data/lib/countries/data/subdivisions/GM.yaml +12 -6
- data/lib/countries/data/subdivisions/GN.yaml +444 -403
- data/lib/countries/data/subdivisions/GQ.yaml +24 -13
- data/lib/countries/data/subdivisions/GR.yaml +114 -73
- data/lib/countries/data/subdivisions/GT.yaml +44 -22
- data/lib/countries/data/subdivisions/GW.yaml +69 -57
- data/lib/countries/data/subdivisions/GY.yaml +20 -10
- data/lib/countries/data/subdivisions/HN.yaml +36 -18
- data/lib/countries/data/subdivisions/HR.yaml +42 -21
- data/lib/countries/data/subdivisions/HT.yaml +73 -63
- data/lib/countries/data/subdivisions/HU.yaml +106 -63
- data/lib/countries/data/subdivisions/ID.yaml +229 -188
- data/lib/countries/data/subdivisions/IE.yaml +128 -97
- data/lib/countries/data/subdivisions/IL.yaml +12 -6
- data/lib/countries/data/subdivisions/IN.yaml +245 -396
- data/lib/countries/data/subdivisions/IQ.yaml +111 -91
- data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
- data/lib/countries/data/subdivisions/IS.yaml +160 -25
- data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
- data/lib/countries/data/subdivisions/JM.yaml +28 -14
- data/lib/countries/data/subdivisions/JO.yaml +24 -12
- data/lib/countries/data/subdivisions/JP.yaml +94 -47
- data/lib/countries/data/subdivisions/KE.yaml +95 -48
- data/lib/countries/data/subdivisions/KG.yaml +95 -86
- data/lib/countries/data/subdivisions/KH.yaml +64 -39
- data/lib/countries/data/subdivisions/KI.yaml +6 -3
- data/lib/countries/data/subdivisions/KM.yaml +6 -3
- data/lib/countries/data/subdivisions/KN.yaml +32 -16
- data/lib/countries/data/subdivisions/KP.yaml +24 -227
- data/lib/countries/data/subdivisions/KR.yaml +34 -17
- data/lib/countries/data/subdivisions/KW.yaml +12 -6
- data/lib/countries/data/subdivisions/KZ.yaml +47 -102
- data/lib/countries/data/subdivisions/LA.yaml +36 -34
- data/lib/countries/data/subdivisions/LB.yaml +71 -63
- data/lib/countries/data/subdivisions/LC.yaml +116 -106
- data/lib/countries/data/subdivisions/LI.yaml +22 -11
- data/lib/countries/data/subdivisions/LK.yaml +445 -411
- data/lib/countries/data/subdivisions/LR.yaml +146 -129
- data/lib/countries/data/subdivisions/LS.yaml +20 -10
- data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
- data/lib/countries/data/subdivisions/LU.yaml +24 -12
- data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
- data/lib/countries/data/subdivisions/LY.yaml +44 -22
- data/lib/countries/data/subdivisions/MA.yaml +810 -1589
- data/lib/countries/data/subdivisions/MC.yaml +261 -244
- data/lib/countries/data/subdivisions/MD.yaml +74 -79
- data/lib/countries/data/subdivisions/ME.yaml +217 -195
- data/lib/countries/data/subdivisions/MG.yaml +12 -6
- data/lib/countries/data/subdivisions/MH.yaml +167 -140
- data/lib/countries/data/subdivisions/MK.yaml +160 -80
- data/lib/countries/data/subdivisions/ML.yaml +48 -37
- data/lib/countries/data/subdivisions/MM.yaml +30 -15
- data/lib/countries/data/subdivisions/MN.yaml +44 -22
- data/lib/countries/data/subdivisions/MR.yaml +30 -34
- data/lib/countries/data/subdivisions/MT.yaml +136 -68
- data/lib/countries/data/subdivisions/MU.yaml +24 -262
- data/lib/countries/data/subdivisions/MV.yaml +161 -254
- data/lib/countries/data/subdivisions/MW.yaml +250 -219
- data/lib/countries/data/subdivisions/MX.yaml +67 -47
- data/lib/countries/data/subdivisions/MY.yaml +32 -16
- data/lib/countries/data/subdivisions/MZ.yaml +22 -11
- data/lib/countries/data/subdivisions/NA.yaml +58 -44
- data/lib/countries/data/subdivisions/NE.yaml +16 -8
- data/lib/countries/data/subdivisions/NG.yaml +74 -37
- data/lib/countries/data/subdivisions/NI.yaml +34 -17
- data/lib/countries/data/subdivisions/NL.yaml +303 -285
- data/lib/countries/data/subdivisions/NO.yaml +39 -17
- data/lib/countries/data/subdivisions/NP.yaml +302 -276
- data/lib/countries/data/subdivisions/NR.yaml +28 -14
- data/lib/countries/data/subdivisions/NZ.yaml +34 -17
- data/lib/countries/data/subdivisions/OM.yaml +260 -311
- data/lib/countries/data/subdivisions/PA.yaml +57 -44
- data/lib/countries/data/subdivisions/PE.yaml +107 -81
- data/lib/countries/data/subdivisions/PG.yaml +163 -158
- data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
- data/lib/countries/data/subdivisions/PK.yaml +145 -235
- data/lib/countries/data/subdivisions/PL.yaml +51 -3
- data/lib/countries/data/subdivisions/PS.yaml +32 -16
- data/lib/countries/data/subdivisions/PT.yaml +53 -33
- data/lib/countries/data/subdivisions/PW.yaml +32 -16
- data/lib/countries/data/subdivisions/PY.yaml +36 -18
- data/lib/countries/data/subdivisions/QA.yaml +27 -78
- data/lib/countries/data/subdivisions/RO.yaml +84 -42
- data/lib/countries/data/subdivisions/RS.yaml +104 -72
- data/lib/countries/data/subdivisions/RU.yaml +166 -83
- data/lib/countries/data/subdivisions/RW.yaml +10 -5
- data/lib/countries/data/subdivisions/SA.yaml +26 -13
- data/lib/countries/data/subdivisions/SB.yaml +20 -10
- data/lib/countries/data/subdivisions/SC.yaml +54 -25
- data/lib/countries/data/subdivisions/SD.yaml +798 -780
- data/lib/countries/data/subdivisions/SE.yaml +42 -21
- data/lib/countries/data/subdivisions/SG.yaml +15 -10
- data/lib/countries/data/subdivisions/SH.yaml +21 -32
- data/lib/countries/data/subdivisions/SI.yaml +475 -263
- data/lib/countries/data/subdivisions/SK.yaml +16 -8
- data/lib/countries/data/subdivisions/SL.yaml +23 -18
- data/lib/countries/data/subdivisions/SM.yaml +18 -9
- data/lib/countries/data/subdivisions/SN.yaml +188 -174
- data/lib/countries/data/subdivisions/SO.yaml +36 -18
- data/lib/countries/data/subdivisions/SR.yaml +20 -10
- data/lib/countries/data/subdivisions/SS.yaml +20 -10
- data/lib/countries/data/subdivisions/ST.yaml +38 -52
- data/lib/countries/data/subdivisions/SV.yaml +28 -14
- data/lib/countries/data/subdivisions/SY.yaml +28 -14
- data/lib/countries/data/subdivisions/SZ.yaml +8 -4
- data/lib/countries/data/subdivisions/TD.yaml +312 -303
- data/lib/countries/data/subdivisions/TG.yaml +10 -5
- data/lib/countries/data/subdivisions/TH.yaml +211 -133
- data/lib/countries/data/subdivisions/TJ.yaml +161 -156
- data/lib/countries/data/subdivisions/TL.yaml +26 -13
- data/lib/countries/data/subdivisions/TM.yaml +12 -6
- data/lib/countries/data/subdivisions/TN.yaml +48 -24
- data/lib/countries/data/subdivisions/TO.yaml +10 -5
- data/lib/countries/data/subdivisions/TR.yaml +162 -81
- data/lib/countries/data/subdivisions/TT.yaml +128 -160
- data/lib/countries/data/subdivisions/TV.yaml +57 -63
- data/lib/countries/data/subdivisions/TW.yaml +143 -183
- data/lib/countries/data/subdivisions/TZ.yaml +62 -31
- data/lib/countries/data/subdivisions/UA.yaml +55 -28
- data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
- data/lib/countries/data/subdivisions/UM.yaml +18 -9
- data/lib/countries/data/subdivisions/US.yaml +114 -57
- data/lib/countries/data/subdivisions/UY.yaml +99 -80
- data/lib/countries/data/subdivisions/UZ.yaml +28 -14
- data/lib/countries/data/subdivisions/VC.yaml +12 -6
- data/lib/countries/data/subdivisions/VE.yaml +50 -25
- data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
- data/lib/countries/data/subdivisions/VU.yaml +12 -6
- data/lib/countries/data/subdivisions/WF.yaml +6 -3
- data/lib/countries/data/subdivisions/WS.yaml +22 -11
- data/lib/countries/data/subdivisions/YE.yaml +222 -200
- data/lib/countries/data/subdivisions/ZA.yaml +86 -100
- data/lib/countries/data/subdivisions/ZM.yaml +20 -10
- data/lib/countries/data/subdivisions/ZW.yaml +20 -10
- data/lib/countries/data/translations/countries-ab.yaml +254 -0
- data/lib/countries/data/translations/countries-af.yaml +254 -0
- data/lib/countries/data/translations/countries-ak.yaml +254 -0
- data/lib/countries/data/translations/countries-am.yaml +254 -0
- data/lib/countries/data/translations/countries-an.yaml +254 -0
- data/lib/countries/data/translations/countries-ar.yaml +254 -0
- data/lib/countries/data/translations/countries-as.yaml +254 -0
- data/lib/countries/data/translations/countries-ay.yaml +254 -0
- data/lib/countries/data/translations/countries-az.yaml +254 -0
- data/lib/countries/data/translations/countries-ba.yaml +254 -0
- data/lib/countries/data/translations/countries-be.yaml +254 -0
- data/lib/countries/data/translations/countries-bg.yaml +254 -0
- data/lib/countries/data/translations/countries-bi.yaml +254 -0
- data/lib/countries/data/translations/countries-bn.yaml +254 -0
- data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
- data/lib/countries/data/translations/countries-br.yaml +254 -0
- data/lib/countries/data/translations/countries-bs.yaml +254 -0
- data/lib/countries/data/translations/countries-ca.yaml +254 -0
- data/lib/countries/data/translations/countries-ce.yaml +254 -0
- data/lib/countries/data/translations/countries-ch.yaml +254 -0
- data/lib/countries/data/translations/countries-cs.yaml +254 -0
- data/lib/countries/data/translations/countries-cv.yaml +254 -0
- data/lib/countries/data/translations/countries-cy.yaml +254 -0
- data/lib/countries/data/translations/countries-da.yaml +254 -0
- data/lib/countries/data/translations/countries-de.yaml +254 -0
- data/lib/countries/data/translations/countries-dv.yaml +254 -0
- data/lib/countries/data/translations/countries-dz.yaml +254 -0
- data/lib/countries/data/translations/countries-ee.yaml +254 -0
- data/lib/countries/data/translations/countries-el.yaml +254 -0
- data/lib/countries/data/translations/countries-en.yaml +254 -0
- data/lib/countries/data/translations/countries-eo.yaml +254 -0
- data/lib/countries/data/translations/countries-es.yaml +254 -0
- data/lib/countries/data/translations/countries-et.yaml +254 -0
- data/lib/countries/data/translations/countries-eu.yaml +254 -0
- data/lib/countries/data/translations/countries-fa.yaml +254 -0
- data/lib/countries/data/translations/countries-ff.yaml +254 -0
- data/lib/countries/data/translations/countries-fi.yaml +254 -0
- data/lib/countries/data/translations/countries-fo.yaml +254 -0
- data/lib/countries/data/translations/countries-fr.yaml +254 -0
- data/lib/countries/data/translations/countries-fy.yaml +254 -0
- data/lib/countries/data/translations/countries-ga.yaml +254 -0
- data/lib/countries/data/translations/countries-gl.yaml +254 -0
- data/lib/countries/data/translations/countries-gn.yaml +254 -0
- data/lib/countries/data/translations/countries-gu.yaml +254 -0
- data/lib/countries/data/translations/countries-gv.yaml +254 -0
- data/lib/countries/data/translations/countries-ha.yaml +254 -0
- data/lib/countries/data/translations/countries-he.yaml +254 -0
- data/lib/countries/data/translations/countries-hi.yaml +254 -0
- data/lib/countries/data/translations/countries-hr.yaml +254 -0
- data/lib/countries/data/translations/countries-ht.yaml +254 -0
- data/lib/countries/data/translations/countries-hu.yaml +254 -0
- data/lib/countries/data/translations/countries-hy.yaml +254 -0
- data/lib/countries/data/translations/countries-ia.yaml +254 -0
- data/lib/countries/data/translations/countries-id.yaml +254 -0
- data/lib/countries/data/translations/countries-io.yaml +254 -0
- data/lib/countries/data/translations/countries-is.yaml +254 -0
- data/lib/countries/data/translations/countries-it.yaml +254 -0
- data/lib/countries/data/translations/countries-iu.yaml +254 -0
- data/lib/countries/data/translations/countries-ja.yaml +254 -0
- data/lib/countries/data/translations/countries-ka.yaml +254 -0
- data/lib/countries/data/translations/countries-ki.yaml +254 -0
- data/lib/countries/data/translations/countries-kk.yaml +254 -0
- data/lib/countries/data/translations/countries-kl.yaml +254 -0
- data/lib/countries/data/translations/countries-km.yaml +254 -0
- data/lib/countries/data/translations/countries-kn.yaml +254 -0
- data/lib/countries/data/translations/countries-ko.yaml +254 -0
- data/lib/countries/data/translations/countries-ku.yaml +254 -0
- data/lib/countries/data/translations/countries-kv.yaml +254 -0
- data/lib/countries/data/translations/countries-kw.yaml +254 -0
- data/lib/countries/data/translations/countries-ky.yaml +254 -0
- data/lib/countries/data/translations/countries-lo.yaml +254 -0
- data/lib/countries/data/translations/countries-lt.yaml +254 -0
- data/lib/countries/data/translations/countries-lv.yaml +254 -0
- data/lib/countries/data/translations/countries-mi.yaml +254 -0
- data/lib/countries/data/translations/countries-mk.yaml +254 -0
- data/lib/countries/data/translations/countries-ml.yaml +254 -0
- data/lib/countries/data/translations/countries-mn.yaml +254 -0
- data/lib/countries/data/translations/countries-mr.yaml +254 -0
- data/lib/countries/data/translations/countries-ms.yaml +254 -0
- data/lib/countries/data/translations/countries-mt.yaml +254 -0
- data/lib/countries/data/translations/countries-my.yaml +254 -0
- data/lib/countries/data/translations/countries-na.yaml +254 -0
- data/lib/countries/data/translations/countries-nb.yaml +254 -0
- data/lib/countries/data/translations/countries-ne.yaml +254 -0
- data/lib/countries/data/translations/countries-nl.yaml +254 -0
- data/lib/countries/data/translations/countries-nn.yaml +254 -0
- data/lib/countries/data/translations/countries-nv.yaml +254 -0
- data/lib/countries/data/translations/countries-oc.yaml +254 -0
- data/lib/countries/data/translations/countries-or.yaml +254 -0
- data/lib/countries/data/translations/countries-pa.yaml +254 -0
- data/lib/countries/data/translations/countries-pi.yaml +254 -0
- data/lib/countries/data/translations/countries-pl.yaml +254 -0
- data/lib/countries/data/translations/countries-ps.yaml +254 -0
- data/lib/countries/data/translations/countries-pt.yaml +254 -0
- data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
- data/lib/countries/data/translations/countries-ro.yaml +254 -0
- data/lib/countries/data/translations/countries-ru.yaml +254 -0
- data/lib/countries/data/translations/countries-rw.yaml +254 -0
- data/lib/countries/data/translations/countries-sc.yaml +254 -0
- data/lib/countries/data/translations/countries-sd.yaml +254 -0
- data/lib/countries/data/translations/countries-si.yaml +254 -0
- data/lib/countries/data/translations/countries-sk.yaml +254 -0
- data/lib/countries/data/translations/countries-sl.yaml +254 -0
- data/lib/countries/data/translations/countries-so.yaml +254 -0
- data/lib/countries/data/translations/countries-sq.yaml +254 -0
- data/lib/countries/data/translations/countries-sr.yaml +254 -0
- data/lib/countries/data/translations/countries-sv.yaml +254 -0
- data/lib/countries/data/translations/countries-sw.yaml +254 -0
- data/lib/countries/data/translations/countries-ta.yaml +254 -0
- data/lib/countries/data/translations/countries-te.yaml +254 -0
- data/lib/countries/data/translations/countries-tg.yaml +254 -0
- data/lib/countries/data/translations/countries-th.yaml +254 -0
- data/lib/countries/data/translations/countries-ti.yaml +254 -0
- data/lib/countries/data/translations/countries-tk.yaml +254 -0
- data/lib/countries/data/translations/countries-tl.yaml +254 -0
- data/lib/countries/data/translations/countries-tr.yaml +254 -0
- data/lib/countries/data/translations/countries-tt.yaml +254 -0
- data/lib/countries/data/translations/countries-ug.yaml +254 -0
- data/lib/countries/data/translations/countries-uk.yaml +254 -0
- data/lib/countries/data/translations/countries-ur.yaml +254 -0
- data/lib/countries/data/translations/countries-uz.yaml +254 -0
- data/lib/countries/data/translations/countries-ve.yaml +254 -0
- data/lib/countries/data/translations/countries-vi.yaml +254 -0
- data/lib/countries/data/translations/countries-wa.yaml +254 -0
- data/lib/countries/data/translations/countries-wo.yaml +254 -0
- data/lib/countries/data/translations/countries-xh.yaml +254 -0
- data/lib/countries/data/translations/countries-yo.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
- data/lib/countries/data/translations/countries-zu.yaml +254 -0
- data/lib/countries/data.rb +45 -42
- data/lib/countries/global.rb +2 -0
- data/lib/countries/iso3166.rb +3 -1
- data/lib/countries/kwarg_struct.rb +2 -0
- data/lib/countries/mongoid.rb +2 -0
- data/lib/countries/sources/cldr/downloader.rb +8 -8
- data/lib/countries/sources/cldr/subdivision.rb +3 -0
- data/lib/countries/sources/cldr/subdivision_updater.rb +23 -17
- data/lib/countries/sources/local/cached_loader.rb +3 -0
- data/lib/countries/sources/local/subdivision.rb +5 -2
- data/lib/countries/sources.rb +2 -0
- data/lib/countries/structure.rb +1 -1
- data/lib/countries/subdivision.rb +21 -8
- data/lib/countries/tasks/geocoding.rake +15 -6
- data/lib/countries/tasks/postal_codes.rake +5 -3
- data/lib/countries/timezones.rb +5 -2
- data/lib/countries/translations.rb +2 -0
- data/lib/countries/version.rb +3 -1
- data/lib/countries.rb +2 -0
- data/spec/00_global_spec.rb +2 -0
- data/spec/configuration_spec.rb +11 -5
- data/spec/country_spec.rb +131 -38
- data/spec/data_spec.rb +85 -21
- data/spec/mongoid_spec.rb +2 -2
- data/spec/perf_spec.rb +16 -16
- data/spec/spec_helper.rb +2 -0
- data/spec/subdivision_spec.rb +6 -4
- data/spec/thread_safety_spec.rb +4 -3
- data/spec/timezone_spec.rb +2 -0
- metadata +146 -34
- data/lib/countries/cache/locales/zh.json +0 -1
- data/lib/countries/data/subdivisions/AI.yaml +0 -197
- data/lib/countries/data/subdivisions/BM.yaml +0 -155
- data/lib/countries/data/subdivisions/CK.yaml +0 -155
- data/lib/countries/data/subdivisions/EH.yaml +0 -80
- data/lib/countries/data/subdivisions/SJ.yaml +0 -29
- data/lib/countries/data/subdivisions/TK.yaml +0 -43
- data/lib/countries/data/translation_corrections.yaml +0 -51
- data/lib/countries/setup.rb +0 -18
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
BA:
|
3
3
|
name: Bafatá
|
4
|
-
code:
|
4
|
+
code: BA
|
5
5
|
unofficial_names: Bafatá
|
6
6
|
geo:
|
7
7
|
latitude: 12.171944
|
@@ -54,9 +54,10 @@ BA:
|
|
54
54
|
ccp: "\U0001111D\U0001111C\U00011111"
|
55
55
|
'no': Bafatá
|
56
56
|
comments:
|
57
|
+
type: region
|
57
58
|
BL:
|
58
59
|
name: Bolama
|
59
|
-
code:
|
60
|
+
code: BL
|
60
61
|
unofficial_names: Bolama
|
61
62
|
geo:
|
62
63
|
latitude: 11.5770712
|
@@ -110,9 +111,10 @@ BL:
|
|
110
111
|
ccp: "\U0001111D\U00011127\U00011123\U0001111F"
|
111
112
|
'no': Bolama
|
112
113
|
comments:
|
114
|
+
type: region
|
113
115
|
BM:
|
114
116
|
name: Biombo
|
115
|
-
code:
|
117
|
+
code: BM
|
116
118
|
unofficial_names: Biombo
|
117
119
|
geo:
|
118
120
|
latitude: 11.8529061
|
@@ -165,9 +167,10 @@ BM:
|
|
165
167
|
ccp: "\U0001111D\U0001112D\U00011103\U0001112E\U0001111F\U00011134\U0001111D\U0001112E"
|
166
168
|
'no': Biombo
|
167
169
|
comments:
|
170
|
+
type: region
|
168
171
|
BS:
|
169
172
|
name: Bissau
|
170
|
-
code:
|
173
|
+
code: BS
|
171
174
|
unofficial_names: Bissau
|
172
175
|
geo:
|
173
176
|
latitude: 11.8816553
|
@@ -256,9 +259,10 @@ BS:
|
|
256
259
|
'no': Bissau
|
257
260
|
yo_BJ: Bissau
|
258
261
|
comments:
|
262
|
+
type: autonomous_sector
|
259
263
|
CA:
|
260
264
|
name: Cacheu
|
261
|
-
code:
|
265
|
+
code: CA
|
262
266
|
unofficial_names:
|
263
267
|
- Cacheo
|
264
268
|
geo:
|
@@ -312,9 +316,10 @@ CA:
|
|
312
316
|
uk: Регіон Кашеу
|
313
317
|
'no': Cacheu
|
314
318
|
comments:
|
319
|
+
type: region
|
315
320
|
GA:
|
316
321
|
name: Gabú
|
317
|
-
code:
|
322
|
+
code: GA
|
318
323
|
unofficial_names: Gabú
|
319
324
|
geo:
|
320
325
|
latitude: 11.8962488
|
@@ -366,9 +371,44 @@ GA:
|
|
366
371
|
uk: Регіон Габу
|
367
372
|
'no': Gabú
|
368
373
|
comments:
|
374
|
+
type: region
|
375
|
+
L:
|
376
|
+
name: Leste
|
377
|
+
code: L
|
378
|
+
unofficial_names:
|
379
|
+
geo:
|
380
|
+
latitude:
|
381
|
+
longitude:
|
382
|
+
min_latitude:
|
383
|
+
min_longitude:
|
384
|
+
max_latitude:
|
385
|
+
max_longitude:
|
386
|
+
translations:
|
387
|
+
en: Leste
|
388
|
+
ccp: "\U00011123\U0001112C\U0001110C\U00011134\U00011111\U0001112C"
|
389
|
+
de: Provinz Leste
|
390
|
+
comments:
|
391
|
+
type: province
|
392
|
+
N:
|
393
|
+
name: Norte
|
394
|
+
code: N
|
395
|
+
unofficial_names:
|
396
|
+
geo:
|
397
|
+
latitude:
|
398
|
+
longitude:
|
399
|
+
min_latitude:
|
400
|
+
min_longitude:
|
401
|
+
max_latitude:
|
402
|
+
max_longitude:
|
403
|
+
translations:
|
404
|
+
en: Norte
|
405
|
+
ccp: "\U0001111A\U00011127\U00011122\U00011134\U00011111\U0001112C"
|
406
|
+
de: Provinz Norte
|
407
|
+
comments:
|
408
|
+
type: province
|
369
409
|
OI:
|
370
410
|
name: Oio
|
371
|
-
code:
|
411
|
+
code: OI
|
372
412
|
unofficial_names: Oio
|
373
413
|
geo:
|
374
414
|
latitude: 12.2760709
|
@@ -422,9 +462,10 @@ OI:
|
|
422
462
|
uk: Ойо
|
423
463
|
'no': Oio
|
424
464
|
comments:
|
465
|
+
type: region
|
425
466
|
QU:
|
426
467
|
name: Quinara
|
427
|
-
code:
|
468
|
+
code: QU
|
428
469
|
unofficial_names: Quinara
|
429
470
|
geo:
|
430
471
|
latitude: 11.795562
|
@@ -478,9 +519,27 @@ QU:
|
|
478
519
|
uk: Регіон Кінара
|
479
520
|
'no': Quinara
|
480
521
|
comments:
|
522
|
+
type: region
|
523
|
+
S:
|
524
|
+
name: Sul
|
525
|
+
code: S
|
526
|
+
unofficial_names:
|
527
|
+
geo:
|
528
|
+
latitude:
|
529
|
+
longitude:
|
530
|
+
min_latitude:
|
531
|
+
min_longitude:
|
532
|
+
max_latitude:
|
533
|
+
max_longitude:
|
534
|
+
translations:
|
535
|
+
en: Sul
|
536
|
+
ccp: "\U00011125\U00011123\U00011134"
|
537
|
+
de: Provinz Sul
|
538
|
+
comments:
|
539
|
+
type: province
|
481
540
|
TO:
|
482
541
|
name: Tombali
|
483
|
-
code:
|
542
|
+
code: TO
|
484
543
|
unofficial_names: Tombali
|
485
544
|
geo:
|
486
545
|
latitude: 11.300838
|
@@ -533,51 +592,4 @@ TO:
|
|
533
592
|
uk: Район Томбалі
|
534
593
|
'no': Tombali
|
535
594
|
comments:
|
536
|
-
|
537
|
-
name: Leste
|
538
|
-
code:
|
539
|
-
unofficial_names:
|
540
|
-
geo:
|
541
|
-
latitude:
|
542
|
-
longitude:
|
543
|
-
min_latitude:
|
544
|
-
min_longitude:
|
545
|
-
max_latitude:
|
546
|
-
max_longitude:
|
547
|
-
translations:
|
548
|
-
en: Leste
|
549
|
-
ccp: "\U00011123\U0001112C\U0001110C\U00011134\U00011111\U0001112C"
|
550
|
-
de: Provinz Leste
|
551
|
-
comments:
|
552
|
-
N:
|
553
|
-
name: Norte
|
554
|
-
code:
|
555
|
-
unofficial_names:
|
556
|
-
geo:
|
557
|
-
latitude:
|
558
|
-
longitude:
|
559
|
-
min_latitude:
|
560
|
-
min_longitude:
|
561
|
-
max_latitude:
|
562
|
-
max_longitude:
|
563
|
-
translations:
|
564
|
-
en: Norte
|
565
|
-
ccp: "\U0001111A\U00011127\U00011122\U00011134\U00011111\U0001112C"
|
566
|
-
de: Provinz Norte
|
567
|
-
comments:
|
568
|
-
S:
|
569
|
-
name: Sul
|
570
|
-
code:
|
571
|
-
unofficial_names:
|
572
|
-
geo:
|
573
|
-
latitude:
|
574
|
-
longitude:
|
575
|
-
min_latitude:
|
576
|
-
min_longitude:
|
577
|
-
max_latitude:
|
578
|
-
max_longitude:
|
579
|
-
translations:
|
580
|
-
en: Sul
|
581
|
-
ccp: "\U00011125\U00011123\U00011134"
|
582
|
-
de: Provinz Sul
|
583
|
-
comments:
|
595
|
+
type: region
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
BA:
|
3
3
|
name: Barima-Waini
|
4
|
-
code:
|
4
|
+
code: BA
|
5
5
|
unofficial_names: Barima-Waini
|
6
6
|
geo:
|
7
7
|
latitude: 7.488241899999999
|
@@ -54,9 +54,10 @@ BA:
|
|
54
54
|
ccp: "\U0001111D\U00011122\U00011128\U0001111F-\U00011103\U0001112E\U00011120\U0001112D\U0001111A\U00011128"
|
55
55
|
'no': Barima-Waini
|
56
56
|
comments:
|
57
|
+
type: region
|
57
58
|
CU:
|
58
59
|
name: Cuyuni-Mazaruni
|
59
|
-
code:
|
60
|
+
code: CU
|
60
61
|
unofficial_names: Cuyuni-Mazaruni
|
61
62
|
geo:
|
62
63
|
latitude: 6.4642141
|
@@ -107,9 +108,10 @@ CU:
|
|
107
108
|
ccp: "\U0001110C\U0001112A\U00011120\U0001112E\U0001111A\U00011128-\U0001111F\U0001110E\U00011122\U0001112A\U0001111A\U00011128"
|
108
109
|
'no': Cuyuni-Mazaruni
|
109
110
|
comments:
|
111
|
+
type: region
|
110
112
|
DE:
|
111
113
|
name: Demerara-Mahaica
|
112
|
-
code:
|
114
|
+
code: DE
|
113
115
|
unofficial_names: Demerara-Mahaica
|
114
116
|
geo:
|
115
117
|
latitude: 6.546425999999999
|
@@ -162,9 +164,10 @@ DE:
|
|
162
164
|
be: Дэмерара-Махайка
|
163
165
|
'no': Demerara-Mahaica
|
164
166
|
comments:
|
167
|
+
type: region
|
165
168
|
EB:
|
166
169
|
name: East Berbice-Corentyne
|
167
|
-
code:
|
170
|
+
code: EB
|
168
171
|
unofficial_names: East Berbice-Corentyne
|
169
172
|
geo:
|
170
173
|
latitude: 2.7477922
|
@@ -215,9 +218,10 @@ EB:
|
|
215
218
|
ccp: "\U0001111B\U0001112A\U00011107\U00011134 \U0001111D\U00011122\U00011134\U0001111D\U0001112D\U0001110C\U00011134-\U00011107\U0001112E\U00011122\U0001112C\U0001111A\U00011134\U00011111\U0001112D\U0001111A\U00011134"
|
216
219
|
'no': East Berbice-Corentyne
|
217
220
|
comments:
|
221
|
+
type: region
|
218
222
|
ES:
|
219
223
|
name: Essequibo Islands-West Demerara
|
220
|
-
code:
|
224
|
+
code: ES
|
221
225
|
unofficial_names: Essequibo Islands-West Demerara
|
222
226
|
geo:
|
223
227
|
latitude: 6.5720132
|
@@ -270,9 +274,10 @@ ES:
|
|
270
274
|
\U00011113\U0001112C\U0001111F\U00011122\U00011122"
|
271
275
|
'no': Essequibo Islands-West Demerara
|
272
276
|
comments:
|
277
|
+
type: region
|
273
278
|
MA:
|
274
279
|
name: Mahaica-Berbice
|
275
|
-
code:
|
280
|
+
code: MA
|
276
281
|
unofficial_names: Mahaica-Berbice
|
277
282
|
geo:
|
278
283
|
latitude: 6.238496
|
@@ -306,9 +311,10 @@ MA:
|
|
306
311
|
ccp: "\U0001111F\U00011126\U0001112D\U00011107-\U0001111D\U00011122\U00011134\U0001111D\U0001112D\U0001110C\U00011134"
|
307
312
|
'no': Mahaica-Berbice
|
308
313
|
comments:
|
314
|
+
type: region
|
309
315
|
PM:
|
310
316
|
name: Pomeroon-Supenaam
|
311
|
-
code:
|
317
|
+
code: PM
|
312
318
|
unofficial_names: Pomeroon-Supenaam
|
313
319
|
geo:
|
314
320
|
latitude: 7.1294166
|
@@ -359,9 +365,10 @@ PM:
|
|
359
365
|
ccp: "\U0001111B\U0001112E\U0001111F\U00011122\U0001112A\U0001111A\U00011134-\U00011125\U0001112A\U0001111B\U0001112C\U0001111A\U0001111F\U00011134"
|
360
366
|
'no': Pomeroon-Supenaam
|
361
367
|
comments:
|
368
|
+
type: region
|
362
369
|
PT:
|
363
370
|
name: Potaro-Siparuni
|
364
|
-
code:
|
371
|
+
code: PT
|
365
372
|
unofficial_names: Potaro-Siparuni
|
366
373
|
geo:
|
367
374
|
latitude: 4.7855853
|
@@ -412,9 +419,10 @@ PT:
|
|
412
419
|
ccp: "\U0001111B\U00011127\U00011111\U00011122\U0001112E-\U00011125\U00011128\U0001111B\U00011122\U0001112A\U0001111A\U00011128"
|
413
420
|
'no': Potaro-Siparuni
|
414
421
|
comments:
|
422
|
+
type: region
|
415
423
|
UD:
|
416
424
|
name: Upper Demerara-Berbice
|
417
|
-
code:
|
425
|
+
code: UD
|
418
426
|
unofficial_names: Upper Demerara-Berbice
|
419
427
|
geo:
|
420
428
|
latitude: 5.3064879
|
@@ -464,9 +472,10 @@ UD:
|
|
464
472
|
ccp: "\U00011103\U0001111B\U00011122\U00011134 \U00011113\U0001111F\U0001112C\U00011122\U00011122-\U0001111D\U00011122\U00011134\U0001111D\U0001112D\U0001110C\U00011134"
|
465
473
|
'no': Upper Demerara-Berbice
|
466
474
|
comments:
|
475
|
+
type: region
|
467
476
|
UT:
|
468
477
|
name: Upper Takutu-Upper Essequibo
|
469
|
-
code:
|
478
|
+
code: UT
|
470
479
|
unofficial_names: Upper Takutu-Upper Essequibo
|
471
480
|
geo:
|
472
481
|
latitude: 2.9239595
|
@@ -517,3 +526,4 @@ UT:
|
|
517
526
|
\U00011103\U00011128\U00011125\U0001112C\U00011107\U0001112D\U0001112A\U0001111D\U0001112E"
|
518
527
|
'no': Upper Takutu-Upper Essequibo
|
519
528
|
comments:
|
529
|
+
type: region
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
AT:
|
3
3
|
name: Atlántida
|
4
|
-
code:
|
4
|
+
code: AT
|
5
5
|
unofficial_names: Atlántida
|
6
6
|
geo:
|
7
7
|
latitude: 15.6696283
|
@@ -59,9 +59,10 @@ AT:
|
|
59
59
|
ccp: "\U00011103\U00011116\U00011134\U00011123\U00011125\U00011111\U00011128\U00011113"
|
60
60
|
'no': Atlantida department
|
61
61
|
comments:
|
62
|
+
type: department
|
62
63
|
CH:
|
63
64
|
name: Choluteca
|
64
|
-
code:
|
65
|
+
code: CH
|
65
66
|
unofficial_names: Choluteca
|
66
67
|
geo:
|
67
68
|
latitude: 13.3198572
|
@@ -119,9 +120,10 @@ CH:
|
|
119
120
|
ccp: "\U0001110C\U0001112E\U00011123\U00011128\U00011105\U0001112A\U00011111\U0001112C\U00011107"
|
120
121
|
'no': Choluteca
|
121
122
|
comments:
|
123
|
+
type: department
|
122
124
|
CL:
|
123
125
|
name: Colón
|
124
|
-
code:
|
126
|
+
code: CL
|
125
127
|
unofficial_names: Colón
|
126
128
|
geo:
|
127
129
|
latitude: 15.6391768
|
@@ -178,9 +180,10 @@ CL:
|
|
178
180
|
ccp: "\U00011107\U0001112E\U00011123\U0001112E\U0001111A\U00011134"
|
179
181
|
'no': Colon department
|
180
182
|
comments:
|
183
|
+
type: department
|
181
184
|
CM:
|
182
185
|
name: Comayagua
|
183
|
-
code:
|
186
|
+
code: CM
|
184
187
|
unofficial_names: Comayagua
|
185
188
|
geo:
|
186
189
|
latitude: 14.5534828
|
@@ -223,9 +226,10 @@ CM:
|
|
223
226
|
zh: 科馬亞瓜省
|
224
227
|
ccp: "\U00011107\U0001112E\U0001111F\U0001112C\U00011120\U0001110B\U00011134\U00011109\U0001112A\U00011120"
|
225
228
|
comments:
|
229
|
+
type: department
|
226
230
|
CP:
|
227
231
|
name: Copán
|
228
|
-
code:
|
232
|
+
code: CP
|
229
233
|
unofficial_names: Copán
|
230
234
|
geo:
|
231
235
|
latitude: 14.9360838
|
@@ -281,9 +285,10 @@ CP:
|
|
281
285
|
ccp: "\U00011107\U0001112E\U0001111B\U0001111A\U00011134"
|
282
286
|
'no': Copan department
|
283
287
|
comments:
|
288
|
+
type: department
|
284
289
|
CR:
|
285
290
|
name: Cortés
|
286
|
-
code:
|
291
|
+
code: CR
|
287
292
|
unofficial_names: Cortés
|
288
293
|
geo:
|
289
294
|
latitude: 15.4909515
|
@@ -341,9 +346,10 @@ CR:
|
|
341
346
|
ccp: "\U00011107\U00011127\U00011122\U00011134\U00011111\U0001112C\U0001110C\U00011134"
|
342
347
|
'no': Cortes
|
343
348
|
comments:
|
349
|
+
type: department
|
344
350
|
EP:
|
345
351
|
name: El Paraíso
|
346
|
-
code:
|
352
|
+
code: EP
|
347
353
|
unofficial_names: El Paraíso
|
348
354
|
geo:
|
349
355
|
latitude: 14.0736932
|
@@ -400,9 +406,10 @@ EP:
|
|
400
406
|
ccp: "\U00011103\U0001112C\U00011123\U00011134 \U0001111B\U00011122\U0001112D\U00011125\U0001112E"
|
401
407
|
'no': El Paraiso
|
402
408
|
comments:
|
409
|
+
type: department
|
403
410
|
FM:
|
404
411
|
name: Francisco Morazán
|
405
|
-
code:
|
412
|
+
code: FM
|
406
413
|
unofficial_names: Francisco Morazán
|
407
414
|
geo:
|
408
415
|
latitude: 14.45411
|
@@ -460,9 +467,10 @@ FM:
|
|
460
467
|
be: Франсіска Марасан
|
461
468
|
'no': Franciso Morazan department
|
462
469
|
comments:
|
470
|
+
type: department
|
463
471
|
GD:
|
464
472
|
name: Gracias a Dios
|
465
|
-
code:
|
473
|
+
code: GD
|
466
474
|
unofficial_names: Gracias a Dios
|
467
475
|
geo:
|
468
476
|
latitude: 15.341806
|
@@ -521,9 +529,10 @@ GD:
|
|
521
529
|
\U00011103 \U00011113\U00011128\U00011120\U0001112E\U0001110C\U00011134"
|
522
530
|
'no': Gracias a Dios
|
523
531
|
comments:
|
532
|
+
type: department
|
524
533
|
IB:
|
525
534
|
name: Islas de la Bahía
|
526
|
-
code:
|
535
|
+
code: IB
|
527
536
|
unofficial_names: Islas de la Bahía
|
528
537
|
geo:
|
529
538
|
latitude: 16.3526078
|
@@ -586,9 +595,10 @@ IB:
|
|
586
595
|
yue: 海灣群島省
|
587
596
|
'no': Bay Islands department
|
588
597
|
comments:
|
598
|
+
type: department
|
589
599
|
IN:
|
590
600
|
name: Intibucá
|
591
|
-
code:
|
601
|
+
code: IN
|
592
602
|
unofficial_names: Intibucá
|
593
603
|
geo:
|
594
604
|
latitude: 14.316667
|
@@ -644,9 +654,10 @@ IN:
|
|
644
654
|
ccp: "\U00011103\U00011128\U0001111A\U00011134\U00011111\U00011128\U0001111D\U00011128\U00011105\U0001112A\U00011107"
|
645
655
|
'no': Intibuca department
|
646
656
|
comments:
|
657
|
+
type: department
|
647
658
|
LE:
|
648
659
|
name: Lempira
|
649
|
-
code:
|
660
|
+
code: LE
|
650
661
|
unofficial_names: Lempira
|
651
662
|
geo:
|
652
663
|
latitude: 14.1887698
|
@@ -702,9 +713,10 @@ LE:
|
|
702
713
|
ccp: "\U00011123\U0001112C\U0001111F\U00011134\U0001111B\U00011128\U00011122"
|
703
714
|
'no': Lampira department
|
704
715
|
comments:
|
716
|
+
type: department
|
705
717
|
LP:
|
706
718
|
name: La Paz
|
707
|
-
code:
|
719
|
+
code: LP
|
708
720
|
unofficial_names: La Paz
|
709
721
|
geo:
|
710
722
|
latitude: 13.9984833
|
@@ -761,9 +773,10 @@ LP:
|
|
761
773
|
ccp: "\U00011123 \U0001111B\U0001110C\U00011134"
|
762
774
|
'no': La Paz department
|
763
775
|
comments:
|
776
|
+
type: department
|
764
777
|
OC:
|
765
778
|
name: Ocotepeque
|
766
|
-
code:
|
779
|
+
code: OC
|
767
780
|
unofficial_names: Ocotepeque
|
768
781
|
geo:
|
769
782
|
latitude: 14.5170347
|
@@ -819,9 +832,10 @@ OC:
|
|
819
832
|
ccp: "\U00011103\U0001112E\U00011107\U0001112E\U00011111\U0001112C\U0001111B\U0001112C\U00011107\U00011134"
|
820
833
|
'no': Ocotepeque department
|
821
834
|
comments:
|
835
|
+
type: department
|
822
836
|
OL:
|
823
837
|
name: Olancho
|
824
|
-
code:
|
838
|
+
code: OL
|
825
839
|
unofficial_names: Olancho
|
826
840
|
geo:
|
827
841
|
latitude: 14.8067406
|
@@ -877,9 +891,10 @@ OL:
|
|
877
891
|
ccp: "\U00011103\U0001112E\U00011123\U0001111A\U00011134\U00011107\U0001112E"
|
878
892
|
'no': Olancho department
|
879
893
|
comments:
|
894
|
+
type: department
|
880
895
|
SB:
|
881
896
|
name: Santa Bárbara
|
882
|
-
code:
|
897
|
+
code: SB
|
883
898
|
unofficial_names: Santa Bárbara
|
884
899
|
geo:
|
885
900
|
latitude: 15.1202795
|
@@ -936,9 +951,10 @@ SB:
|
|
936
951
|
ccp: "\U00011125\U0001111A\U00011134\U00011111 \U0001111D\U00011122\U00011134\U0001111D\U00011122"
|
937
952
|
'no': Santa Barbara Department
|
938
953
|
comments:
|
954
|
+
type: department
|
939
955
|
VA:
|
940
956
|
name: Valle
|
941
|
-
code:
|
957
|
+
code: VA
|
942
958
|
unofficial_names: Valle
|
943
959
|
geo:
|
944
960
|
latitude: 13.5782936
|
@@ -996,9 +1012,10 @@ VA:
|
|
996
1012
|
be: Валье
|
997
1013
|
'no': Valle
|
998
1014
|
comments:
|
1015
|
+
type: department
|
999
1016
|
YO:
|
1000
1017
|
name: Yoro
|
1001
|
-
code:
|
1018
|
+
code: YO
|
1002
1019
|
unofficial_names: Yoro
|
1003
1020
|
geo:
|
1004
1021
|
latitude: 15.2949679
|
@@ -1054,3 +1071,4 @@ YO:
|
|
1054
1071
|
ccp: "\U00011103\U00011128\U00011120\U0001112E\U00011122\U0001112E"
|
1055
1072
|
'no': Yoro department
|
1056
1073
|
comments:
|
1074
|
+
type: department
|