Skip to content

addok/addok-openaddresses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

58fd880 · Sep 9, 2019

History

3 Commits
Sep 13, 2016
Sep 13, 2016
Jul 7, 2019
Sep 13, 2016
Sep 13, 2016
Sep 13, 2016
Sep 13, 2016
Sep 13, 2016

Repository files navigation

addok-openaddresses

Helpers to import OpenAddresses data into Addok.

Install

Install addok, addok-trigrams and addok-openaddresses (this repository):

pip install git+https://github.com/addok/addok
pip install git+https://github.com/addok/addok-trigrams
pip install git+https://github.com/addok/addok-openaddresses

Copy the sample local config:

cp sample.local.py somewhere/local.py

It should work as is, but you can have a look at the addok configuration to adapt it to your needs.

This plugin adds one configuration key that needs more consideration:

  • OPENADDRESSES_EXTRA, which is a dict to be added to each row (they often miss City, or District, etc.)

Importing

Get the files from https://results.openaddresses.io/ Then:

addok batch path/to/file.csv