https://github.com/addok/addok-openaddresses
Helpers to import http://openaddresses.io data into Addok.
https://github.com/addok/addok-openaddresses
Last synced: about 1 year ago
JSON representation
Helpers to import http://openaddresses.io data into Addok.
- Host: GitHub
- URL: https://github.com/addok/addok-openaddresses
- Owner: addok
- License: mit
- Created: 2016-09-13T19:00:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-09T09:16:23.000Z (over 6 years ago)
- Last Synced: 2025-03-23T22:42:21.550Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# addok-openaddresses
Helpers to import [OpenAddresses](https://openaddresses.io) 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](http://addok.readthedocs.io/en/latest/config/)
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