Skeleton for Standalone Python Reconciliation Service for Google Refine
Clone or download
Pull request Compare This branch is 2 commits ahead of OpenRefine:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Dockerfile
README.md
UK-MPs.csv
docker_reconciliation_service.py
example_composers.csv
example_composers_reconciliation_service.py
reconciliation_service.py
requirements.txt

README.md

A skeleton for creating an OpenRefine reconciliation service via a docker container (originally based on OpenRefine/reconciliation_service_skeleton and also drawing inspiration from OpenRefine Style Reconciliation Containers

To run the container using a CSV based reconciliation file `/path/to/myfile.csv', with column name Searchval for the column to fuzzily match against and Idval as the id value:

docker run --name reconpy -p 5001:5000 -d -v /path/to:/tmp/import -e RECONFILE=myfile.csv -e SEARCHCOL=Searchval -e IDCOL=Idval psychemedia/recon-py

If you are running in boot2docker find the IP address using boot2docker ip (eg 192.168.59.103) and then preview the reconciliation service endpoint at http://192.168.59.103:5001/reconcile

See OpenRefine/reconciliation_service_skeleton for additional ideas about how to further use the service, including constructing your own reconciliation servie containers.