Skip to content
DuckDB community extension

splink_udfs

Phonetic, text normalization and address matching functions for record linkage.

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL splink_udfs FROM community;
LOAD splink_udfs FROM community;

Try it in a temporary SQL session with splink_udfs already loaded. Queries run in this tab; examples using files or services need their own setup.

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

SQL
SELECT soundex(unaccent('Jürgen'));  -- returns 'J625'

Provided by moj-analytical-services. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

The splink_udfs extension provides functions for data cleaning and phonetic matching.

Includes soundex(str), strip_diacritics(str), unaccent(str), ngrams(list,n), double_metaphone(str) and faster versions of levenshtein and damerau_levenshtein.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
moj-analytical-services/splink_udfs
License
MIT
Maintainers
RobinL
Written in
C++
Build source
c5b384ba3a62
Build definition
Community descriptor