Hi Chuck,

I've used match keys to do just what you're looking to do.

Take the 'reliable' pieces of information and concatenate them to make a match key, then compare the keys.

Here are a few items you should build into, or out of, your keys:
-filter out any common words and abbreviations that can be unreliable for matching purposes, such as Street, St., Ave, Avenue, etc from the address line.
-remove all punctuation and special characters (eg. #)
-Street numbers, apartment numbers, and suite numbers should be avoided as a general rule. -the most common typos include entering the wrong vowels and errors with double letters. Have your key remove vowels and reduce all double letters to single. (matchkey for 'Belleville' would be 'blvl')
-use all lower case

(It is always a good idea to 'scrub' your data before you start creating matchkeys. Use translation tables to standardize items like state names, etc., use address correction software.)

For example, a key using last name+city+street name should catch all your examples.

using Matchkey = smthnwyrknstrt (last name, city, and street name with no vowels),

William Smith
123 Anystreet Street Suite #998
New York, NY 12003

will match

Bill Smith
123 Anystreet Ave. Apt. 998
New York New York 12003

and

Betty Smyth
99 Anystreet Avenue
New York NY 12004

As you can see, it is pretty easy for a human to determine which entries are for the same person.

You'll have to decide which information will generate the best match key for your purposes depending on the quality of you data, the volume, and other factors.

If you want to get really fancy, check each match key character by character, and determine the percentage of characters match in the same position in both keys. Set a 'match threshold', say 80%, to determine which records should be used for human review. That way, you will catch even more 'similar' records.

Hope that helps.

Mike McErlean
Naiad Publishing Services

cdyer wrote:
We are an in-house database development department working in both FileMaker 
8.0.3 and SQL Server 2005.  Our company's primary focus is as an educational 
company.  We do not do database development for sale or
distribution, but only for our own internal needs.

We are looking for code (FM script, FM calc or other application) that we can 
adapt or a SQL-compatible program that will help us identify potential 
duplicates in our contact table in SQL.  The table is a an
amalgamation of several independent data base sources which we now are 
attempting to consolidate.

Exact duplicates can been easily merged, so we don't need that kind of duplicate check. The typical issues that are more elusive are 
"William" VS "Bill", "Margaret" VS "Peggy", "Apt." VS "#", "Street" VS
"St.", "NE" VS "Nebraska", "USA" VS "United States of America", etc.  We're 
looking to find contacts that are close, and have a team examine each to see if they are distinct or duplicates.

Any help pointing us to such a tool would be greatly appreciated.

Chuck Dyer
Lindamood-Bell Learning Processes®
416 Higuera St
San Luis Obispo, CA
805.541.3836 X780
www.lblp.com

Reply via email to