Last active
January 29, 2016 08:19
-
-
Save Lycisca/7dba9fd4f1e5e9d26f5f to your computer and use it in GitHub Desktop.
Seed de provincias en español a 1/1/2015 según INE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mismos códigos que el INE para poder relacionarlo con las poblaciones | |
Provincia.create!([ | |
{ id: 2, nombre: 'Albacete' }, | |
{ id: 3, nombre: 'Alicante/Alacant' }, | |
{ id: 4, nombre: 'Almería' }, | |
{ id: 1, nombre: 'Araba/Álava' }, | |
{ id: 33, nombre: 'Asturias' }, | |
{ id: 5, nombre: 'Ávila' }, | |
{ id: 6, nombre: 'Badajoz' }, | |
{ id: 7, nombre: 'Balears, Illes' }, | |
{ id: 8, nombre: 'Barcelona' }, | |
{ id: 48, nombre: 'Bizkaia' }, | |
{ id: 9, nombre: 'Burgos' }, | |
{ id: 10, nombre: 'Cáceres' }, | |
{ id: 11, nombre: 'Cádiz' }, | |
{ id: 39, nombre: 'Cantabria' }, | |
{ id: 12, nombre: 'Castellón/Castelló' }, | |
{ id: 13, nombre: 'Ciudad Real' }, | |
{ id: 14, nombre: 'Córdoba' }, | |
{ id: 15, nombre: 'Coruña, A' }, | |
{ id: 16, nombre: 'Cuenca' }, | |
{ id: 20, nombre: 'Gipuzkoa' }, | |
{ id: 17, nombre: 'Girona' }, | |
{ id: 18, nombre: 'Granada' }, | |
{ id: 19, nombre: 'Guadalajara' }, | |
{ id: 21, nombre: 'Huelva' }, | |
{ id: 22, nombre: 'Huesca' }, | |
{ id: 23, nombre: 'Jaén' }, | |
{ id: 24, nombre: 'León' }, | |
{ id: 25, nombre: 'Lleida' }, | |
{ id: 27, nombre: 'Lugo' }, | |
{ id: 28, nombre: 'Madrid' }, | |
{ id: 29, nombre: 'Málaga' }, | |
{ id: 30, nombre: 'Murcia' }, | |
{ id: 31, nombre: 'Navarra' }, | |
{ id: 32, nombre: 'Ourense' }, | |
{ id: 34, nombre: 'Palencia' }, | |
{ id: 35, nombre: 'Palmas, Las' }, | |
{ id: 36, nombre: 'Pontevedra' }, | |
{ id: 26, nombre: 'Rioja, La' }, | |
{ id: 37, nombre: 'Salamanca' }, | |
{ id: 38, nombre: 'Santa Cruz de Tenerife' }, | |
{ id: 40, nombre: 'Segovia' }, | |
{ id: 41, nombre: 'Sevilla' }, | |
{ id: 42, nombre: 'Soria' }, | |
{ id: 43, nombre: 'Tarragona' }, | |
{ id: 44, nombre: 'Teruel' }, | |
{ id: 45, nombre: 'Toledo' }, | |
{ id: 46, nombre: 'Valencia/València' }, | |
{ id: 47, nombre: 'Valladolid' }, | |
{ id: 49, nombre: 'Zamora' }, | |
{ id: 50, nombre: 'Zaragoza' }, | |
{ id: 51, nombre: 'Ceuta' }, | |
{ id: 52, nombre: 'Melilla' } | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment