Expand description
The open sources of CEDEX codes, read into a
crate::postal::CedexTableBuilder. All under the
Licence Ouverte. La Poste’s own list (Hexaposte) is not open; SIRENE no
longer publishes the CEDEX of establishments.
read_list: the CEDEX list rebuilt from SIRENE in 2017 (data.gouv.fr “Liste des CEDEX”), frozen but the widest: ~10 800 codes.read_finess: FINESS+ structures (health and social establishments, Agence du Numérique en Santé), monthly: their CEDEX postal addresses.read_annuaire: the Annuaire de l’administration (DILA), daily: idem for public offices.
The JSON sources are streamed, one record at a time: FINESS+ is a single ~800 MB document.
Functions§
- read_
annuaire - Annuaire de l’administration JSON export (an array of records with
adresseandcode_insee_commune): the addresses whose city is a CEDEX one. Returns the addresses kept. - read_
finess - FINESS+ structures JSON (
finess-structures-*.json, decompressed): the addresses of its legal entities (pmej) and their establishments (ege) whose delivery line is a CEDEX. Returns the addresses kept. - read_
list cedex,libelle,inseeCSV. Returns the rows kept.