Skip to main content

Module readers

Module readers 

Source
Expand description

Data sources converted into addok’s document format.

addok’s own format and BANO are read line by line. Address registers (Luxembourg, Belgium) list one address per row: they are read whole and grouped into street, locality and municipality documents (see grouped).

Modules§

ban
bano
be
Belgium: BeST Address of the FPS BOSA (CC BY 4.0), one CSV per region (openaddress-bevlg.zip, -bewal, -bebru), one row per address and box number:
cedex
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.
grouped
Address registers published one row per address (Luxembourg’s BD-Adresses, Belgium’s BeST) turned into addok documents.
lu
Luxembourg: BD-Adresses of the Administration du cadastre et de la topographie (CC0), addresses.csv on data.public.lu, one row per address:

Enums§

Source

Functions§

for_each_input
Run f on each data file of path, decompressed: the file itself, or every entry of a .zip; .gz files are gunzipped.
skip_bom
Drop a leading UTF-8 byte order mark.