dedupeio / dedupe-examples

:id: Examples for using the dedupe library
MIT License
404 stars 216 forks source link

Safer records #118

Open brunobg opened 3 years ago

brunobg commented 3 years ago

This example easily generates empty strings when changed to use new data, while dedupe expects None, leading to errors (https://github.com/dedupeio/dedupe/issues/639 and https://github.com/dedupeio/affinegap/issues/4). This is a simple patch that cleans the records, converting empty strings to None. Perhaps this could be used on CSV and other examples as well.