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
|
AB:
|
3
3
|
name: Abia
|
4
|
-
code:
|
4
|
+
code: AB
|
5
5
|
unofficial_names: Abia
|
6
6
|
geo:
|
7
7
|
latitude: 5.430892099999999
|
@@ -66,9 +66,10 @@ AB:
|
|
66
66
|
ha_NE: Abiya
|
67
67
|
'no': Abia
|
68
68
|
comments:
|
69
|
+
type: state
|
69
70
|
AD:
|
70
71
|
name: Adamawa
|
71
|
-
code:
|
72
|
+
code: AD
|
72
73
|
unofficial_names:
|
73
74
|
- Adamaoua
|
74
75
|
- Gongola
|
@@ -134,9 +135,10 @@ AD:
|
|
134
135
|
ha_NE: Adamawa
|
135
136
|
'no': Adamawa
|
136
137
|
comments:
|
138
|
+
type: state
|
137
139
|
AK:
|
138
140
|
name: Akwa Ibom
|
139
|
-
code:
|
141
|
+
code: AK
|
140
142
|
unofficial_names: Akwa Ibom
|
141
143
|
geo:
|
142
144
|
latitude: 4.929986899999999
|
@@ -200,9 +202,10 @@ AK:
|
|
200
202
|
ha_NE: Akwa Ibom
|
201
203
|
'no': Akwa Ibom
|
202
204
|
comments:
|
205
|
+
type: state
|
203
206
|
AN:
|
204
207
|
name: Anambra
|
205
|
-
code:
|
208
|
+
code: AN
|
206
209
|
unofficial_names: Anambra
|
207
210
|
geo:
|
208
211
|
latitude: 6.2757656
|
@@ -268,9 +271,10 @@ AN:
|
|
268
271
|
ha_NE: Anambra
|
269
272
|
'no': Anambra
|
270
273
|
comments:
|
274
|
+
type: state
|
271
275
|
BA:
|
272
276
|
name: Bauchi
|
273
|
-
code:
|
277
|
+
code: BA
|
274
278
|
unofficial_names: Bauchi
|
275
279
|
geo:
|
276
280
|
latitude: 10.315833
|
@@ -335,9 +339,10 @@ BA:
|
|
335
339
|
ha_NE: Bauchi
|
336
340
|
'no': Bauchi
|
337
341
|
comments:
|
342
|
+
type: state
|
338
343
|
BE:
|
339
344
|
name: Benue
|
340
|
-
code:
|
345
|
+
code: BE
|
341
346
|
unofficial_names: Benue
|
342
347
|
geo:
|
343
348
|
latitude: 7.350825899999999
|
@@ -401,9 +406,10 @@ BE:
|
|
401
406
|
ha_NE: Benue
|
402
407
|
'no': Benue
|
403
408
|
comments:
|
409
|
+
type: state
|
404
410
|
BO:
|
405
411
|
name: Borno
|
406
|
-
code:
|
412
|
+
code: BO
|
407
413
|
unofficial_names: Borno
|
408
414
|
geo:
|
409
415
|
latitude: 11.5097479
|
@@ -471,9 +477,10 @@ BO:
|
|
471
477
|
ha_NE: jihar Borno
|
472
478
|
'no': Borno
|
473
479
|
comments:
|
480
|
+
type: state
|
474
481
|
BY:
|
475
482
|
name: Bayelsa
|
476
|
-
code:
|
483
|
+
code: BY
|
477
484
|
unofficial_names: Bayelsa
|
478
485
|
geo:
|
479
486
|
latitude: 4.867776699999999
|
@@ -537,9 +544,10 @@ BY:
|
|
537
544
|
ha_NE: Bayelsa
|
538
545
|
'no': Bayelsa
|
539
546
|
comments:
|
547
|
+
type: state
|
540
548
|
CR:
|
541
549
|
name: Cross River
|
542
|
-
code:
|
550
|
+
code: CR
|
543
551
|
unofficial_names: Cross River
|
544
552
|
geo:
|
545
553
|
latitude: 6.167031499999999
|
@@ -603,9 +611,10 @@ CR:
|
|
603
611
|
ha_NE: Cross River
|
604
612
|
'no': Cross River
|
605
613
|
comments:
|
614
|
+
type: state
|
606
615
|
DE:
|
607
616
|
name: Delta
|
608
|
-
code:
|
617
|
+
code: DE
|
609
618
|
unofficial_names: Delta
|
610
619
|
geo:
|
611
620
|
latitude: 5.5324624
|
@@ -672,9 +681,10 @@ DE:
|
|
672
681
|
ha_NE: Delta
|
673
682
|
'no': Delta
|
674
683
|
comments:
|
684
|
+
type: state
|
675
685
|
EB:
|
676
686
|
name: Ebonyi
|
677
|
-
code:
|
687
|
+
code: EB
|
678
688
|
unofficial_names: Ebonyi
|
679
689
|
geo:
|
680
690
|
latitude: 6.177973
|
@@ -736,9 +746,10 @@ EB:
|
|
736
746
|
ha_NE: Ebonyi
|
737
747
|
'no': Ebonyi
|
738
748
|
comments:
|
749
|
+
type: state
|
739
750
|
ED:
|
740
751
|
name: Edo
|
741
|
-
code:
|
752
|
+
code: ED
|
742
753
|
unofficial_names:
|
743
754
|
- Bendel
|
744
755
|
geo:
|
@@ -805,9 +816,10 @@ ED:
|
|
805
816
|
ha_NE: Edo
|
806
817
|
'no': Edo
|
807
818
|
comments:
|
819
|
+
type: state
|
808
820
|
EK:
|
809
821
|
name: Ekiti
|
810
|
-
code:
|
822
|
+
code: EK
|
811
823
|
unofficial_names: Ekiti
|
812
824
|
geo:
|
813
825
|
latitude: 7.665581299999999
|
@@ -871,9 +883,10 @@ EK:
|
|
871
883
|
ha_NE: Ekiti
|
872
884
|
'no': Ekiti
|
873
885
|
comments:
|
886
|
+
type: state
|
874
887
|
EN:
|
875
888
|
name: Enugu
|
876
|
-
code:
|
889
|
+
code: EN
|
877
890
|
unofficial_names: Enugu
|
878
891
|
geo:
|
879
892
|
latitude: 6.452667
|
@@ -938,9 +951,10 @@ EN:
|
|
938
951
|
ha_NE: Enugu
|
939
952
|
'no': Enugu
|
940
953
|
comments:
|
954
|
+
type: state
|
941
955
|
FC:
|
942
956
|
name: Abuja Capital Territory
|
943
|
-
code:
|
957
|
+
code: FC
|
944
958
|
unofficial_names: Abuja Capital Territory
|
945
959
|
geo:
|
946
960
|
latitude: 8.8556838
|
@@ -1000,9 +1014,10 @@ FC:
|
|
1000
1014
|
yo: Agbègbè Olú-ìlú Ìjọba Àpapọ̀ Nàíjíríà
|
1001
1015
|
'no': Federal Capital Territory
|
1002
1016
|
comments:
|
1017
|
+
type: capital_territory
|
1003
1018
|
GO:
|
1004
1019
|
name: Gombe
|
1005
|
-
code:
|
1020
|
+
code: GO
|
1006
1021
|
unofficial_names: Gombe
|
1007
1022
|
geo:
|
1008
1023
|
latitude: 10.283333
|
@@ -1067,9 +1082,10 @@ GO:
|
|
1067
1082
|
ha_NE: Gombe
|
1068
1083
|
'no': Gombe
|
1069
1084
|
comments:
|
1085
|
+
type: state
|
1070
1086
|
IM:
|
1071
1087
|
name: Imo
|
1072
|
-
code:
|
1088
|
+
code: IM
|
1073
1089
|
unofficial_names: Imo
|
1074
1090
|
geo:
|
1075
1091
|
latitude: 5.5214533
|
@@ -1135,9 +1151,10 @@ IM:
|
|
1135
1151
|
ha_NE: Imo
|
1136
1152
|
'no': Imo
|
1137
1153
|
comments:
|
1154
|
+
type: state
|
1138
1155
|
JI:
|
1139
1156
|
name: Jigawa
|
1140
|
-
code:
|
1157
|
+
code: JI
|
1141
1158
|
unofficial_names: Jigawa
|
1142
1159
|
geo:
|
1143
1160
|
latitude: 12.5700315
|
@@ -1201,9 +1218,10 @@ JI:
|
|
1201
1218
|
ha_NE: Jigawa
|
1202
1219
|
'no': Jigawa
|
1203
1220
|
comments:
|
1221
|
+
type: state
|
1204
1222
|
KD:
|
1205
1223
|
name: Kaduna
|
1206
|
-
code:
|
1224
|
+
code: KD
|
1207
1225
|
unofficial_names: Kaduna
|
1208
1226
|
geo:
|
1209
1227
|
latitude: 10.516667
|
@@ -1267,9 +1285,10 @@ KD:
|
|
1267
1285
|
ha_NE: Kaduna
|
1268
1286
|
'no': Kaduna (delstat)
|
1269
1287
|
comments:
|
1288
|
+
type: state
|
1270
1289
|
KE:
|
1271
1290
|
name: Kebbi
|
1272
|
-
code:
|
1291
|
+
code: KE
|
1273
1292
|
unofficial_names: Kebbi
|
1274
1293
|
geo:
|
1275
1294
|
latitude: 11.6781241
|
@@ -1333,9 +1352,10 @@ KE:
|
|
1333
1352
|
ha_NE: Kebbi
|
1334
1353
|
'no': Kebbi
|
1335
1354
|
comments:
|
1355
|
+
type: state
|
1336
1356
|
KN:
|
1337
1357
|
name: Kano
|
1338
|
-
code:
|
1358
|
+
code: KN
|
1339
1359
|
unofficial_names: Kano
|
1340
1360
|
geo:
|
1341
1361
|
latitude: 12.0021794
|
@@ -1400,9 +1420,10 @@ KN:
|
|
1400
1420
|
ha_NE: jihar Kano
|
1401
1421
|
'no': Kano
|
1402
1422
|
comments:
|
1423
|
+
type: state
|
1403
1424
|
KO:
|
1404
1425
|
name: Kogi
|
1405
|
-
code:
|
1426
|
+
code: KO
|
1406
1427
|
unofficial_names: Kogi
|
1407
1428
|
geo:
|
1408
1429
|
latitude: 7.561891
|
@@ -1466,9 +1487,10 @@ KO:
|
|
1466
1487
|
ha_NE: Kogi
|
1467
1488
|
'no': Kogi
|
1468
1489
|
comments:
|
1490
|
+
type: state
|
1469
1491
|
KT:
|
1470
1492
|
name: Katsina
|
1471
|
-
code:
|
1493
|
+
code: KT
|
1472
1494
|
unofficial_names: Katsina
|
1473
1495
|
geo:
|
1474
1496
|
latitude: 12.983333
|
@@ -1533,9 +1555,10 @@ KT:
|
|
1533
1555
|
ha_NE: Jihar Katsina
|
1534
1556
|
'no': Katsina
|
1535
1557
|
comments:
|
1558
|
+
type: state
|
1536
1559
|
KW:
|
1537
1560
|
name: Kwara
|
1538
|
-
code:
|
1561
|
+
code: KW
|
1539
1562
|
unofficial_names: Kwara
|
1540
1563
|
geo:
|
1541
1564
|
latitude: 8.9847995
|
@@ -1600,9 +1623,10 @@ KW:
|
|
1600
1623
|
ha_NE: Kwara
|
1601
1624
|
'no': Kwara
|
1602
1625
|
comments:
|
1626
|
+
type: state
|
1603
1627
|
LA:
|
1604
1628
|
name: Lagos
|
1605
|
-
code:
|
1629
|
+
code: LA
|
1606
1630
|
unofficial_names: Lagos
|
1607
1631
|
geo:
|
1608
1632
|
latitude: 6.5243793
|
@@ -1657,9 +1681,10 @@ LA:
|
|
1657
1681
|
'no': Lagos
|
1658
1682
|
yo_BJ: Èkó
|
1659
1683
|
comments:
|
1684
|
+
type: state
|
1660
1685
|
NA:
|
1661
1686
|
name: Nassarawa
|
1662
|
-
code:
|
1687
|
+
code: NA
|
1663
1688
|
unofficial_names:
|
1664
1689
|
- Nasarawa
|
1665
1690
|
geo:
|
@@ -1725,9 +1750,10 @@ NA:
|
|
1725
1750
|
ha_NE: Nasarawa
|
1726
1751
|
'no': Nasarawa
|
1727
1752
|
comments:
|
1753
|
+
type: state
|
1728
1754
|
NI:
|
1729
1755
|
name: Niger
|
1730
|
-
code:
|
1756
|
+
code: NI
|
1731
1757
|
unofficial_names: Niger
|
1732
1758
|
geo:
|
1733
1759
|
latitude: 9.081999
|
@@ -1791,9 +1817,10 @@ NI:
|
|
1791
1817
|
ha_NE: Neja
|
1792
1818
|
'no': Niger
|
1793
1819
|
comments:
|
1820
|
+
type: state
|
1794
1821
|
OG:
|
1795
1822
|
name: Ogun
|
1796
|
-
code:
|
1823
|
+
code: OG
|
1797
1824
|
unofficial_names: Ogun
|
1798
1825
|
geo:
|
1799
1826
|
latitude: 6.9098333
|
@@ -1859,9 +1886,10 @@ OG:
|
|
1859
1886
|
ha_NE: Ogun
|
1860
1887
|
'no': Ogun
|
1861
1888
|
comments:
|
1889
|
+
type: state
|
1862
1890
|
'ON':
|
1863
1891
|
name: Ondo
|
1864
|
-
code:
|
1892
|
+
code: 'ON'
|
1865
1893
|
unofficial_names: Ondo
|
1866
1894
|
geo:
|
1867
1895
|
latitude: 7.083333
|
@@ -1926,9 +1954,10 @@ OG:
|
|
1926
1954
|
ha_NE: Ondo
|
1927
1955
|
'no': Ondo
|
1928
1956
|
comments:
|
1957
|
+
type: state
|
1929
1958
|
OS:
|
1930
1959
|
name: Osun
|
1931
|
-
code:
|
1960
|
+
code: OS
|
1932
1961
|
unofficial_names: Osun
|
1933
1962
|
geo:
|
1934
1963
|
latitude: 7.5875843
|
@@ -1991,9 +2020,10 @@ OS:
|
|
1991
2020
|
ha_NE: Osun
|
1992
2021
|
'no': Osun
|
1993
2022
|
comments:
|
2023
|
+
type: state
|
1994
2024
|
OY:
|
1995
2025
|
name: Oyo
|
1996
|
-
code:
|
2026
|
+
code: OY
|
1997
2027
|
unofficial_names: Oyo
|
1998
2028
|
geo:
|
1999
2029
|
latitude: 7.85
|
@@ -2044,9 +2074,10 @@ OY:
|
|
2044
2074
|
ha_NE: Oyo
|
2045
2075
|
'no': Oyo
|
2046
2076
|
comments:
|
2077
|
+
type: state
|
2047
2078
|
PL:
|
2048
2079
|
name: Plateau
|
2049
|
-
code:
|
2080
|
+
code: PL
|
2050
2081
|
unofficial_names: Plateau
|
2051
2082
|
geo:
|
2052
2083
|
latitude: 9.2350817
|
@@ -2111,9 +2142,10 @@ PL:
|
|
2111
2142
|
ha_NE: Plateau
|
2112
2143
|
'no': Plateau
|
2113
2144
|
comments:
|
2145
|
+
type: state
|
2114
2146
|
RI:
|
2115
2147
|
name: Rivers
|
2116
|
-
code:
|
2148
|
+
code: RI
|
2117
2149
|
unofficial_names: Rivers
|
2118
2150
|
geo:
|
2119
2151
|
latitude: 4.8580767
|
@@ -2180,9 +2212,10 @@ RI:
|
|
2180
2212
|
ha_NE: Rivers
|
2181
2213
|
'no': Rivers
|
2182
2214
|
comments:
|
2215
|
+
type: state
|
2183
2216
|
SO:
|
2184
2217
|
name: Sokoto
|
2185
|
-
code:
|
2218
|
+
code: SO
|
2186
2219
|
unofficial_names: Sokoto
|
2187
2220
|
geo:
|
2188
2221
|
latitude: 13.066667
|
@@ -2247,9 +2280,10 @@ SO:
|
|
2247
2280
|
ha_NE: jihar Sokoto
|
2248
2281
|
'no': Sokoto
|
2249
2282
|
comments:
|
2283
|
+
type: state
|
2250
2284
|
TA:
|
2251
2285
|
name: Taraba
|
2252
|
-
code:
|
2286
|
+
code: TA
|
2253
2287
|
unofficial_names: Taraba
|
2254
2288
|
geo:
|
2255
2289
|
latitude: 7.9868755
|
@@ -2314,9 +2348,10 @@ TA:
|
|
2314
2348
|
ha_NE: Taraba
|
2315
2349
|
'no': Taraba
|
2316
2350
|
comments:
|
2351
|
+
type: state
|
2317
2352
|
YO:
|
2318
2353
|
name: Yobe
|
2319
|
-
code:
|
2354
|
+
code: YO
|
2320
2355
|
unofficial_names: Yobe
|
2321
2356
|
geo:
|
2322
2357
|
latitude: 12.1871412
|
@@ -2381,9 +2416,10 @@ YO:
|
|
2381
2416
|
ha_NE: Yobe
|
2382
2417
|
'no': Yobe
|
2383
2418
|
comments:
|
2419
|
+
type: state
|
2384
2420
|
ZA:
|
2385
2421
|
name: Zamfara
|
2386
|
-
code:
|
2422
|
+
code: ZA
|
2387
2423
|
unofficial_names: Zamfara
|
2388
2424
|
geo:
|
2389
2425
|
latitude: 12.1844159
|
@@ -2447,3 +2483,4 @@ ZA:
|
|
2447
2483
|
ha_NE: Zamfara
|
2448
2484
|
'no': Zamfara
|
2449
2485
|
comments:
|
2486
|
+
type: state
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
AN:
|
3
3
|
name: Atlántico Norte*
|
4
|
-
code:
|
4
|
+
code: AN
|
5
5
|
unofficial_names:
|
6
6
|
- RAAN
|
7
7
|
- Región Autónoma Atlántico Norte
|
@@ -63,9 +63,10 @@ AN:
|
|
63
63
|
mk: Северноатлантски автономен регион
|
64
64
|
'no': Región Autónoma del Atlántico Norte
|
65
65
|
comments:
|
66
|
+
type: autonomous_region
|
66
67
|
AS:
|
67
68
|
name: Atlántico Sur*
|
68
|
-
code:
|
69
|
+
code: AS
|
69
70
|
unofficial_names:
|
70
71
|
- RAAS
|
71
72
|
- Región Autónoma Atlántico Sur
|
@@ -128,9 +129,10 @@ AS:
|
|
128
129
|
mk: Јужноатлантски автономен регион
|
129
130
|
'no': Región Autónoma del Atlántico Sur
|
130
131
|
comments:
|
132
|
+
type: autonomous_region
|
131
133
|
BO:
|
132
134
|
name: Boaco
|
133
|
-
code:
|
135
|
+
code: BO
|
134
136
|
unofficial_names: Boaco
|
135
137
|
geo:
|
136
138
|
latitude: 12.492724
|
@@ -189,9 +191,10 @@ BO:
|
|
189
191
|
ccp: "\U0001111D\U0001112F\U00011107\U0001112E"
|
190
192
|
'no': Boaco
|
191
193
|
comments:
|
194
|
+
type: department
|
192
195
|
CA:
|
193
196
|
name: Carazo
|
194
|
-
code:
|
197
|
+
code: CA
|
195
198
|
unofficial_names: Carazo
|
196
199
|
geo:
|
197
200
|
latitude: 11.7274729
|
@@ -249,9 +252,10 @@ CA:
|
|
249
252
|
ccp: "\U00011107\U00011122\U0001110E\U0001112E"
|
250
253
|
'no': Carazo
|
251
254
|
comments:
|
255
|
+
type: department
|
252
256
|
CI:
|
253
257
|
name: Chinandega
|
254
|
-
code:
|
258
|
+
code: CI
|
255
259
|
unofficial_names: Chinandega
|
256
260
|
geo:
|
257
261
|
latitude: 12.8820062
|
@@ -309,9 +313,10 @@ CI:
|
|
309
313
|
ccp: "\U0001110C\U00011128\U0001111A\U0001111A\U00011134\U00011113\U0001112C\U00011109"
|
310
314
|
'no': Chinandega
|
311
315
|
comments:
|
316
|
+
type: department
|
312
317
|
CO:
|
313
318
|
name: Chontales
|
314
|
-
code:
|
319
|
+
code: CO
|
315
320
|
unofficial_names: Chontales
|
316
321
|
geo:
|
317
322
|
latitude: 11.9394717
|
@@ -369,9 +374,10 @@ CO:
|
|
369
374
|
ccp: "\U0001110C\U0001112E\U0001111A\U00011134\U00011111\U00011123\U0001112C\U0001110C\U00011134"
|
370
375
|
'no': Chontales
|
371
376
|
comments:
|
377
|
+
type: department
|
372
378
|
ES:
|
373
379
|
name: Estelí
|
374
|
-
code:
|
380
|
+
code: ES
|
375
381
|
unofficial_names: Estelí
|
376
382
|
geo:
|
377
383
|
latitude: 13.083333
|
@@ -429,9 +435,10 @@ ES:
|
|
429
435
|
ccp: "\U00011103\U00011128\U0001110C\U00011111\U0001112C\U00011123\U00011128"
|
430
436
|
'no': Estelí
|
431
437
|
comments:
|
438
|
+
type: department
|
432
439
|
GR:
|
433
440
|
name: Granada
|
434
|
-
code:
|
441
|
+
code: GR
|
435
442
|
unofficial_names: Granada
|
436
443
|
geo:
|
437
444
|
latitude: 11.933333
|
@@ -474,9 +481,10 @@ GR:
|
|
474
481
|
ccp: "\U00011109\U00011133\U00011122\U0001111A\U00011113"
|
475
482
|
'no': Granada
|
476
483
|
comments:
|
484
|
+
type: department
|
477
485
|
JI:
|
478
486
|
name: Jinotega
|
479
|
-
code:
|
487
|
+
code: JI
|
480
488
|
unofficial_names: Jinotega
|
481
489
|
geo:
|
482
490
|
latitude: 13.1
|
@@ -534,9 +542,10 @@ JI:
|
|
534
542
|
ccp: "\U0001110E\U00011128\U0001111A\U0001112E\U00011111\U0001112C\U00011109"
|
535
543
|
'no': Jinotega
|
536
544
|
comments:
|
545
|
+
type: department
|
537
546
|
LE:
|
538
547
|
name: León
|
539
|
-
code:
|
548
|
+
code: LE
|
540
549
|
unofficial_names: León
|
541
550
|
geo:
|
542
551
|
latitude: 12.5092037
|
@@ -582,9 +591,10 @@ LE:
|
|
582
591
|
mk: Леон
|
583
592
|
'no': León
|
584
593
|
comments:
|
594
|
+
type: department
|
585
595
|
MD:
|
586
596
|
name: Madriz
|
587
|
-
code:
|
597
|
+
code: MD
|
588
598
|
unofficial_names: Madriz
|
589
599
|
geo:
|
590
600
|
latitude: 13.4726005
|
@@ -642,9 +652,10 @@ MD:
|
|
642
652
|
ccp: "\U0001111F\U00011113\U00011133\U00011122\U00011128\U0001110C\U00011134"
|
643
653
|
'no': Madriz
|
644
654
|
comments:
|
655
|
+
type: department
|
645
656
|
MN:
|
646
657
|
name: Managua
|
647
|
-
code:
|
658
|
+
code: MN
|
648
659
|
unofficial_names: Managua
|
649
660
|
geo:
|
650
661
|
latitude: 12.136389
|
@@ -703,9 +714,10 @@ MN:
|
|
703
714
|
mk: Манагва
|
704
715
|
'no': Managua
|
705
716
|
comments:
|
717
|
+
type: department
|
706
718
|
MS:
|
707
719
|
name: Masaya
|
708
|
-
code:
|
720
|
+
code: MS
|
709
721
|
unofficial_names: Masaya
|
710
722
|
geo:
|
711
723
|
latitude: 11.966667
|
@@ -763,9 +775,10 @@ MS:
|
|
763
775
|
ccp: "\U0001111F\U00011125\U00011120\U0001112C"
|
764
776
|
'no': Masaya
|
765
777
|
comments:
|
778
|
+
type: department
|
766
779
|
MT:
|
767
780
|
name: Matagalpa
|
768
|
-
code:
|
781
|
+
code: MT
|
769
782
|
unofficial_names: Matagalpa
|
770
783
|
geo:
|
771
784
|
latitude: 12.916667
|
@@ -824,9 +837,10 @@ MT:
|
|
824
837
|
ccp: "\U0001111F\U00011111\U00011109\U00011123\U00011134\U0001111B"
|
825
838
|
'no': Matagalpa
|
826
839
|
comments:
|
840
|
+
type: department
|
827
841
|
NS:
|
828
842
|
name: Nueva Segovia
|
829
|
-
code:
|
843
|
+
code: NS
|
830
844
|
unofficial_names: Nueva Segovia
|
831
845
|
geo:
|
832
846
|
latitude: 13.7894404
|
@@ -884,9 +898,10 @@ NS:
|
|
884
898
|
ccp: "\U0001111A\U0001112E\U00011120\U0001112C\U0001111E \U00011125\U0001112C\U00011109\U0001112E\U0001111E\U00011128\U00011120"
|
885
899
|
'no': Nueva Segovia
|
886
900
|
comments:
|
901
|
+
type: department
|
887
902
|
RI:
|
888
903
|
name: Rivas
|
889
|
-
code:
|
904
|
+
code: RI
|
890
905
|
unofficial_names: Rivas
|
891
906
|
geo:
|
892
907
|
latitude: 11.402349
|
@@ -930,9 +945,10 @@ RI:
|
|
930
945
|
ccp: "\U00011122\U00011128\U0001111E\U0001110C\U00011134"
|
931
946
|
'no': Rivas
|
932
947
|
comments:
|
948
|
+
type: department
|
933
949
|
SJ:
|
934
950
|
name: Río San Juan
|
935
|
-
code:
|
951
|
+
code: SJ
|
936
952
|
unofficial_names: Río San Juan
|
937
953
|
geo:
|
938
954
|
latitude: 10.9324722
|
@@ -991,3 +1007,4 @@ SJ:
|
|
991
1007
|
\U0001110E\U0001112A\U00011120\U0001111A\U00011134"
|
992
1008
|
'no': Río San Juan
|
993
1009
|
comments:
|
1010
|
+
type: department
|