Government & public servicesScraping & data servicesWorked example · fictional records

Duplicate records linked, separate deals kept apart.

An investor appears under two spellings and has more than one deal. This workbook follows 12 fictional source rows through the decision to link a record, keep a deal separate or ask for a review.

Worked example · fictional records

One decision from the result

Row O-17 carries the same organisation ID and deal reference as T-01, so it is linked as a duplicate. Row O-22 has the same ID with a different deal reference, so it stays as a second deal for that investor.

Records
Fictional records, built for this example
Sector
Government & public services
Type of work
Scraping & data services
Scope
Worked example
6
matched by rule
1
awaiting confirmation
5
returned for a decision

The problem

Before an investor list goes into a CRM, someone has to decide what counts as a repeat. In the two fictional exports here, the service desk has recorded an investment the investment team already knows about. The same investor also has a second deal reference.

A merge on company name alone could erase that second deal. In another pair of rows, the names agree but the organisation IDs conflict. A reviewer needs the original entries and the reason for each proposed link before approving an import.

What we delivered

  1. 01

    The original source rows

    The workbook keeps each supplied name, organisation ID and deal reference beside its source row number. A reviewer can look up the entry that led to a decision.

  2. 02

    An investor and deal map

    Each row has separate fields for the investor and the deal. Under the same investor, O-17 links to the deal on T-01 and O-22 keeps its own deal reference.

  3. 03

    A reason for each decision

    The mapping sheet records the rule, confidence and next action for each row. A reviewer can see why O-31 needs confirmation and why a deal claimed by two investors stays open.

  4. 04

    A workbook and a repeatable CSV export

    One command produces both files. The workbook is for review, and the CSV contains the same decisions, row by row, ready to load into another tool.

How the work ran

  1. Step 1

    Define a duplicate

    We started with the question a reviewer would ask about a second entry for the same company. The fictional records include a repeat of one deal and a separate deal for the same investor.

  2. Step 2

    Apply the rules

    We ran the two exports through the matcher. It used organisation IDs and deal references, and marked the name-based link for confirmation.

  3. Step 3

    Prepare the handover files

    We checked the decisions against the source rows, then ran the same inputs again. The workbook and its companion CSV show what a data owner would review before an import.

How it was checked

Each of the 12 source row IDs appears once in the mapping. Six rows matched by rule, one proposed link awaits confirmation and five rows were returned for a decision. Running the same inputs again produced an identical mapping CSV.

The result

  • O-17 links to the repeated deal. O-22 keeps a separate deal for the same investor.
  • O-31 lacks an organisation ID. Its standardised name and deal reference agree with T-45, so the workbook proposes a link for confirmation.
  • The five open rows include two investors that claim the same deal reference. Their investor IDs are recorded and their deal fields remain blank.
View all 12 rows
The result for all twelve rows. Company names, IDs and deals are fictional.
Source rowInvestor as suppliedMapped toResultRuleStatus
T-01Zuriqa Agro Processing LtdINV-01 · DEAL-01KeepOrganisation IDMatched
O-17Zuriqa Agro Processing LimitedINV-01 · DEAL-01Link duplicateOrganisation IDMatched
O-22Zuriqa Agro Processing LtdINV-01 · DEAL-02Keep separate dealDeal referenceMatched
T-45Zuriqa Agro Logistics LtdINV-02 · DEAL-03Keep separate investorOrganisation IDMatched
O-31ZURIQA AGRO LOGISTICS LTD.INV-02 · DEAL-03Link duplicate, to confirmName, no IDTo confirm
T-58Kilvane Solar Energy LtdINV-03 · DEAL-04KeepOrganisation IDMatched
O-40Kilvane Solar Energy LtdNot mappedNeeds a decisionID conflictOpen
T-63Barento Textile Mills LtdINV-04 · DEAL-05KeepOrganisation IDMatched
O-44Barento Textiles Mill LimitedNot mappedNeeds a decisionSimilar nameOpen
T-66Pwanza Marine Products LtdINV-05 · deal openNeeds a decisionShared deal referenceOpen
O-52Tanarix Fresh Exports LtdINV-06 · deal openNeeds a decisionShared deal referenceOpen
T-53Zuriqa GroupNot mappedNeeds a decisionMissing identifiersOpen

How a project like this runs

Who supplies the files?
You do. Two exports you are allowed to share, or just their column headings to begin with.
Who decides the unclear records?
Your data owner. We list each one with the reason it could not be matched.
What do you receive?
The mapping, the list of open rows and the command that repeats the run.
When are the price and date agreed?
In writing, before any work starts.

Discuss a similar project.

Which fields identify a company and a deal in your exports? The column headings are enough to discuss the first matching rule.

Discuss a similar project
All project briefs

Have a project in mind?

Tell us which tools you use and where the work slows down.

Discuss a project