flatisfy.data_files package

Module contents

Preprocessing functions to convert input opendata files into SQLAlchemy objects ready to be stored in the database.

flatisfy.data_files.french_postal_codes_to_quarter(postal_code)[source]

Convert a French postal code to the main quarter in France this postal code belongs to.

Parameters:postal_code – The postal code to convert.
Returns:The quarter of France or None.