Skip to content

Relaciona los ines y poblaciones con los codigos postales de España

Notifications You must be signed in to change notification settings

xafardero/ine-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relacion de codigos postales y ines.

Requiere:

Descargar callejero del censo electoral del INE, descomprimirlo i guardar el fichero aqui:

var/TRAMOS-NAL.F161231

Uso:

composer install
php bin/console.php app:parse-ine

Output:

Ejemplo del CSV:

['province_id' => '01','ine' => '010014','postal_code' => '01240', 'name' => 'ALEGRIA-DULANTZI'],
['province_id' => '01','ine' => '010014','postal_code' => '01193', 'name' => 'EGILETA'],
['province_id' => '01','ine' => '010029','postal_code' => '01468', 'name' => 'ALORIA'],
['province_id' => '01','ine' => '010029','postal_code' => '01470', 'name' => 'AMURRIO'],
['province_id' => '01','ine' => '010029','postal_code' => '01468', 'name' => 'ARTOMAÑA'],
['province_id' => '01','ine' => '010029','postal_code' => '01468', 'name' => 'DELIKA'],
['province_id' => '01','ine' => '010029','postal_code' => '01450', 'name' => 'LEKAMAÑA'],
['province_id' => '01','ine' => '010029','postal_code' => '01468', 'name' => 'SARATXO'],
['province_id' => '01','ine' => '010029','postal_code' => '01468', 'name' => 'TERTANGA'],
['province_id' => '01','ine' => '010029','postal_code' => '01450', 'name' => 'BARANBIO'],

About

Relaciona los ines y poblaciones con los codigos postales de España

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages