A record linkage toolkit for linking and deduplication
The Python Record Linkage Toolkit is a library to link records in or between data sources. The toolkit provides most of the tools needed for record linkage and deduplication. The package contains indexing methods, functions to compare records and classifiers. The package is developed for research and the linking of small or medium sized files.
This project is inspired by the Freely Extensible Biomedical Record Linkage (FEBRL) project, which is a great project. In contrast with FEBRL, the recordlinkage project uses pandas and numpy for data handling and computations. The use of pandas, a flexible and powerful data analysis and manipulation library for Python, makes the record linkage process much easier and faster. The extensive pandas library can be used to integrate your record linkage directly into existing data manipulation projects.
One of the aims of this project is to make an easily extensible record linkage framework. It is easy to include your own indexing algorithms, comparison/similarity measures and classifiers.
The main features of the Python Record Linkage Toolkit are:
- Clean and standardise data with easy to use tools
- Make pairs of records with smart indexing methods such as blocking and sorted neighbourhood indexing
- Compare records with a large number of comparison and similarity measures for different types of variables such as strings, numbers and dates.
- Several classifications algorithms, both supervised and unsupervised algorithms.
- Common record linkage evaluation tools
- Several built-in datasets.
The most recent documentation and API reference can be found at recordlinkage.readthedocs.org. The documentation provides some basic usage examples like deduplication and linking census data. More examples are coming soon. If you do have interesting examples to share, let us know.
Dependencies, installation and license
The Python Record linkage Toolkit requires Python 3.5 or higher (since version >= 0.14). Install the package easily with pip
pip install recordlinkage
Python 2.7 users can use version <= 0.13, but it is advised to use Python >= 3.5.
The toolkit depends on Pandas (>=23.0), Numpy, Scikit-learn, Scipy and Jellyfish. You probably have most of them already installed. The package jellyfish is used for approximate string comparing and string encoding. The package Numexpr is an optional dependency to speed up numerical comparisons.
The license for this record linkage tool is BSD-3-Clause.
Stuck on your record linkage code or problem? Any other questions? Don’t hestitate to send me an email (firstname.lastname@example.org).
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size recordlinkage-0.14-py3-none-any.whl (944.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size recordlinkage-0.14.tar.gz (912.0 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for recordlinkage-0.14-py3-none-any.whl