GithubHelp home page GithubHelp logo

esgn / add-ign-id-to-ban-ign-csv Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 11 KB

Script de jointure pour rajouter l'identifiant adresse IGN aux fichiers CSV de la BAN IGN (alias export de l'API de gestion)

Python 100.00%

add-ign-id-to-ban-ign-csv's Introduction

add-ign-id-to-ban-ign-csv

Préalables

pip3 install -r requirements.txt

Récupération des fichiers de la BAN IGN

Le script 01_get_csv.py récupère les CSV ban-dept et housenumber-id-ign-dept.

Les fichiers housenumber-id-ign-dept effectuent le lien entre une id_ban_adresse IGN et une cleabs IGN c'est à dire l'identifiant unique de l'adresse dans la BDTOPOV3 de l'IGN.

Le script check_hn permet de s'assurer du contenu des fichiers housenumber-id-ign-dept.

  • Vérification de l'absence de doublons sur id_ban_adresse et cleabs
  • Vérification de l'absence de valeur nulle

Ajout de la cleabs IGN aux fichiers ban-dept

Le script 02_merge_csv.py permet de rajouter aux fichiers ban-dept une colonne ign contenant la cleabs IGN correspondant à l'id_ban_adresse. Les fichiers résultats sont produits dans le dossier ban-ign-id.

Le script check_result.py permet de vérifier succinctement le contenu des fichiers résultats obtenus.

add-ign-id-to-ban-ign-csv's People

Contributors

esgn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.