Tools

Match and merge

Match the customers of two companies and build one golden record per person. Tune the rules and the threshold, choose which source wins for each attribute, and decide the close calls as the data steward.

Exercise: Build the golden records

On chapter 18's sample, the CFO wants every customer counted once: no false merge and no missed match. The CRM checks each new customer's identity document, so a golden record's name comes from the CRM; people move, so its address comes from whichever record changed last.

  • Precision is 100%: no two different people are merged.
  • Recall is 100%: every pair in the answer key is matched.
  • Every golden record built from both companies takes its name from the CRM.
  • Every golden record's address comes from the record that changed last.
Back to chapter 18
Customers
Rules
Fuzzy name threshold
Jaro–Winkler, same birth date; above 1 turns it off
Steward's queue from
Empty: no queue
Survivorship: name
Survivorship: email
Survivorship: address
Survivorship: phone
100%
precision
83%
recall
5
right merges
0
false merges
1
missed matches
13
golden records from 18 source records
Playback speed

The steward's queue (0)

Set where the queue starts to send close calls to a steward.

Golden records built from more than one source, and where each value came from
Golden recordnameemailaddressphone
G001 (H01 + K01) Jan de Vries (H01) jan.devries@example.com (H01) Keizersgracht 300, Amsterdam (K01) +31 20 555 0101 (H01)
G002 (H02 + K02) Łukasz Wójcik (H02) lukasz.wojcik@example.com (K02) ul. Długa 5, Kraków (K02) +48 12 555 0122 (K02)
G003 (H03 + K03) Annelies Bakker (H03) a.bakker@example.com (H03) Oudegracht 40, Utrecht (H03) +31 30 555 0133 (K03)
G004 (H04 + K04) Sanne Visser (H04) sanne.visser@example.com (K04) Laan 3, Den Haag (K04) +31 70 555 0144 (H04)
G007 (H07 + K07) Zofia Nowak (H07) ul. Polna 2, Warszawa (K07) +48 22 555 0177 (H07)

Try this

0 of 4 done

Choose both estates and lower the fuzzy threshold to 0.85, then raise it to 0.95.

Look for: Lower merges a pair of twins (a false merge); higher misses two real matches.

At 0.95, switch on the initial-and-surname rule.

Look for: D. Fischer is found again without merging anyone wrongly.

Set the review band to start at 0.80 and decide each pair in the queue.

Look for: Every decision changes precision and recall at once; the queue empties as you work.

Change the name's survivorship to most recent.

Look for: Mia Visser's golden record takes her new surname from Kestrel's later record.

An unhandled error has occurred. Reload 🗙

Reconnecting…

Your connection to the Cloud Data Architecture Lab dropped, probably a Wi-Fi blip. Hold on while it reconnects.

The connection could not be restored. The page will reload in a few seconds.