Merge/Purge - Consolidate and Cleanse Your Marketing Database

We provide Merge/Purge Data Services For Companies And Organizations

Merge/Purge Improves Data Efficiency

Maintaining cost controls, enhancing operational efficiency, and meeting deadlines are fundamental factors in a business’s success, but they all require comprehensive and reliable data. Merge/Purge is a data management technique that combines and reconciles information from multiple [typically disparate] data sources to create a consolidated, accurate and operable dataset. Merge/Purge is a robust and indispensable solution that ensures your data’s accuracy and integrity.

It eliminates duplicates, near duplicates, resolves inconsistencies, and creates a unified view of the data. By merging duplicate records and purging redundant or conflicting information, the Merge/Purge process helps to improve data quality, reduce database size, enhance data, entity resolution, building data marts, and establishing a single and comprehensive single “source of truth” version of your data. It is a critical step in data integration and cleansing workflows, ensuring organizations have a reliable and comprehensive source of truth for their data.

Merging data is a complex process despite its seemingly straightforward goal. Merging data can be as intricate as untangling a knotted ball of yarn. This complexity can be attributed to the average enterprise relying on around 460 custom applications to manage its business operations.

When drawing valuable insights from collected data, combining all these data sources into a single point of reference is pivotal. However, before merging the data, it is essential to address data cleansing, standardization, and transformation. Integrating data sources that contain incomplete, inaccurate, or invalid values is impractical.

Don't let bad data ruin your database. The  Merge/Purge service at NW Database Services will combine multiple sources of data plus removes duplicates as well as bad records from your business or organization's data. Call NW Database Services at (360)841-8168 for a free consultation.

Transactional Databases

Transactional databases (i.e., POS systems) often have embedded inconsistencies and inaccuracies. Data attributes in different sources may conceptually represent the same information but have other data value formats. Failing to clean and standardize the data can lead to data loss and uncorrectable errors. Data cleansing and standardization involve various steps, such as replacing invalid (unprintable) characters, parsing long data fields into smaller components (e.g., names or addresses), as well as defining integrity constraints and validation rules for data attributes.

Merging Data often presents a significant challenge due to data heterogeneity, which refers to the differences in structure and syntax found across the datasets being merged.

Structural heterogeneity refers to datasets that have varying numbers and types of columns or attributes. For instance, one database may store a contact's name as a single column labeled [Contact Name], while another database may have the same information as separate columns for the contact's name: [Prefix], [First Name], [Middle Name], [Last Name], and [Suffix].

Lexical heterogeneity occurs when different databases have structurally similar fields but represent the same information in different ways. For example, multiple databases may have an [Address] field, but one database may record the address as "32 E. St. 4," while another database may have it as "32 East, 4th Street" or "32 E St #4," and so on.

To overcome this challenge, the columns need to be parsed and merged to achieve consistent structure across the datasets. Additionally, the values within the fields should be transformed to adhere to a unified syntax. By standardizing the structure and language of the merged data, data integrity, and consistency can be maintained – even improved.

Our Merge/Purge service combines multiple sources of data and removes duplicates as well as bad records from your valuable data. Call NW Database Services at (360)841-8168 for a free consultation.

Merge/Purge: Combining Data from Multiple Sources

Data merging is a process where data is unified from multiple sources to represent a single point of reference or a single point of truth. Although a seemingly simple goal, data merging is a process as complicated as untangling a ball of knotted yarn. The reason? An average enterprise has around 464 custom applications deployed to handle its business processes.

In addition to that, most databases have problems with duplication, inconsistencies, and inaccuracy. A customer’s name and address may be written in 10 different ways by ten different people in 10 different data repositories. Moreover, there will be ten different sources from where this data is obtained – websites, landing page forms, social media advertising reach outs, sales records, billing records, marketing records, purchase point records, and other areas where the customer may have interacted with the company.

But when it comes to deriving useful insights from the data collected, it becomes important to combine all these data sources and get one single point of reference.

Data cleansing, standardization, and transformation

It is impractical to merge data sources that contain incomplete, inaccurate, or invalid values. Data attributes in two different sources may conceptually represent the same information, but the format of their data values may be completely different. These structural and lexical differences in data may cause data loss and unfixable errors if the data is merged without being cleaned and standardized. By using the generated data profiles as a reference point, a number of steps are taken to standardize data quality, a few of them are highlighted below:

  • Replacing invalid characters with correct values (for example, replacing non-printable characters, null values, leading or trailing spaces, etc.)
  • Parsing long data fields into smaller components to standardize data across multiple sources (for example, parsing Address field into Street NumberStreet NameCityZip Code , and Country). Parsing the data fields in this manner ensures that data accuracy> is maintained after the data is merged.
  • Defining integrity constraints, pattern validations, and allowed data types for all attributes (for example, max/min number of characters allowed for the Number field, that can only contain numbers or dashes in a pattern such as NNN-NNN-NNNN). 

Data Duplication

No matter whichever data merge technique you are planning to implement, data duplication is a big challenge that needs to be fixed. Duplication may exist in your database in different forms, some common ones include:

  • Multiple records representing the same entity (that may or may not have a unique identifier).
  • Multiple attributes storing the same information about an entity.
  • Duplicate records or attributes stored within the same dataset or spanning across multiple datasets.

This duplication problem can be solved by:

  • Selecting and configuring suitable data-matching that identifies records representing the same entity. In the absence of unique identifiers, a combination of advanced fuzzy matching algorithms must be used to find accurate matches.
  • Defining a set of conditional rules that intelligently assess the same or similar columns and suggest which of these attributes contain more complete, accurate, and valid values.

The Merge/Purge service at NW Database Services will combine multiple sources of data plus removes duplicates as well as bad records from your business or organization’s data. Call NW Database Services at (360)841-8168 for a free consultation.

When Merging Data Becomes Necessary

Let’s elaborate on the importance of merging data from multiple sources in three different scenarios:

  1. Data transformation initiatives: Merging data is required while moving disparate files (such as text files, CSVs, excel sheets, SQL databases, or other file formats) to a full-fledged data hosting and processing system, and enabling automated workflows, enhancing search capability, controlling information access, etc.
  2. Driving business intelligence: Merging data usually takes place while combining data that resides in different applications (such as CRMs, marketing automation tools, website analytics tools, etc.). Merging them to prepare for further data analysis and processing as well as extracting useful insights for future predictions.
  3. Integrating data after mergers or acquisitions: Mergers and acquisitions include complex moving parts, and one of the most complicated steps is combining data from different companies into one repository, and then making processes compatible to the newly merged projects, structures, and workflows that result.

Merging Data from Multiple Sources

Merging data should be treated as a closely monitored and controlled process to avoid data loss or causing irreversible damage to individual data structures involved. Below we have highlighted the three stages of merging data:

Pre-merge process

Data profiling

Without profiling individual data sources, it’s difficult to understand the data that you are dealing with or the impact of your decisions during the merge process. A data profiling process gives insight into two important parts of your data:

Attribute analysis

It identifies and highlights the list of attributes (data columns) that each data source contains. This helps you to understand how your merged data might scale vertically, depending on which attributes may be merged and which need to be appended as they represent separate information.

Statistical analysis of each attribute

It analyzes data values contained in each column of a source to assess the distribution, completeness, and uniqueness of attributes. Furthermore, a data profile also validates the values against any defined pattern and highlights invalid values.

Precisely, data profiles calculate and present the current state of your data sources, as well as highlight potential cleansing opportunities and other considerations before the merge process can actually begin.

Data Cleansing, Standardization, and Transformation

It is impractical to merge data sources that contain incomplete, inaccurate, or invalid values. Data attributes in two different sources may conceptually represent the same information, but the format of their data values may be completely different. These structural and lexical differences in data may cause data loss and unfixable errors if the data is merged without being cleaned and standardized. By using the generated data profiles as a reference point, a number of steps are taken to standardize data quality, a few of them are highlighted below:

  • Replacing invalid characters with correct values (for example, replacing non-printable characters, null values, leading or trailing spaces, etc.)
  • Parsing long data fields into smaller components to standardize data across multiple sources (for example, parsing Address field into Street NumberStreet NameCityZip Code and Country). Parsing the data fields in this manner ensures that data accuracy> is maintained after the data is merged.
  • Defining integrity constraints, pattern validations, and allowed data types for all attributes (for example, max/min number of characters allowed for the Number field, that can only contain numbers or dashes in a pattern such as NNN-NNN-NNNN).

Filtering Data

You may want to just merge subsets of your data sources instead of performing a complete merge. This horizontal or vertical slicing of your data is usually needed when:

  • You want to merge data falling in certain time period (horizontal slicing).
  • You want to merge data for analysis and only a subset of rows qualifies the conditional criteria (horizontal slicing).
  • Your data contains a number of attributes that don’t contain any valuable information (vertical slicing).

In case you wish to merge all data without leaving out anything, you can skip to the next step.

Data Deduplication

Quite sometimes, organizations tend to store a single entity’s information across multiple sources. Each of these records represents some valuable data about that entity. Merging data becomes difficult if your datasets contain duplicates. Before starting the merge process, it is crucial to perform suitable data matching algorithms to identify duplicates, apply conditional rules to delete duplicates and attain uniqueness of records across all sources.

Merging Process: Data Aggregation/Integration

Data is now ready to enter the merge process. Depending on the purpose, data can be merged in different ways:

  • Appending rows
  • Appending columns
  • Appending rows and columns both
  • Conditional merge

Let’s cover each of these scenarios in a bit more detail.

Append rows

Appending rows is useful when you want to gather and combine records captured from different sources at one place.

An example of appending rows is when you have gathered customer information through multiple contact management systems, but now you need to bring all records at one place.

Considerations

  • All data sources to be combined should have the same structure (columns).
  • Data types, integrity constraints, and pattern validations of corresponding columns should be the same to avoid invalid format errors.
  • In the presence of unique identifiers, ensure that different sources don’t contain the same unique identifiers, otherwise it will raise errors during the merge process.
  • If an entity’s data spans multiple records residing at disparate sources, perform data matching and deduplication prior to the merging process.

Append Columns

Appending columns is a useful technique for adding more dimensions to existing records.

An example of appending columns is when you have your customer’s online contact information in one dataset, and their physical or residential contact information in another, and you want to combine both datasets into one.

Considerations

  • All columns of disparate sources should be unique (not duplicates).
  • Every record should be uniquely identifiable across all datasets so that records with the same identifier can be merged.
  • If a dataset does not contain data for the merging column, then you can specify null values for all records in that dataset.
  • If multiple datasets contain the same dimension information, then you can also merge dimensions together in one field (separated by a comma, etc.) in case you don’t want to lose data.

Conditional Merge

Conditional merging is useful when you have incomplete datasets that need to be merged. In this type of merging, you look up values from one dataset and appropriately fill them in the other datasets against the correct record/attribute.

An example of conditional merge is when you have list of products in one dataset, but the average sales per month for each of them is captured in another dataset. Now to merge data, you may need to look up each product’s sales from the second one and append this data against the correct product record in the first dataset. This is usually done when you don’t have unique identifiers in one dataset and so you have to conditionally compare based on another column and merge accordingly.

Considerations

  • The dataset from where you are looking up values should contain all unique records (e.g., one average sales number for each product).
  • The dataset that you are appending data to can be non-unique (e.g., products are listed by location and so the same product sold at multiple locations may be listed more than once).

Additional note

The type of merging you use highly depends on your specific use case. If your datasets do not contain a lot of null values and are relatively complete, appending rows or columns, or both may fit your requirements. But when you encounter gaps in your datasets, you may need to look up and fill those values first. Quite often, organizations use all data merging techniques to bring their data together. For example, you can perform conditional merge first, and then complete the merge process by appending rows and columns as well. Call NW Database Services at (360)841-8168 for a free consultation.

Post-merging Process

Profiling Merged Source

Once the entire merge process is complete, it is crucial to perform a final profile check of the merged source – just like the one performed in the beginning of the process for individual sources. This will raise any errors encountered during the merging, and highlight whether any information is left incomplete, inaccurate, or contains invalid values, etc.

Challenges Encountered During the Merge/Purge Process

1. Data Heterogeneity

One of the biggest challenges encountered while merging data is data heterogeneity – the structural and lexical differences present across datasets to be merged. a. Structural Heterogeneity: When these datasets do not contain the same number and types of columns/attributes, this is known as structural heterogeneity. For example, one database could store a contact’s name as Contact Name, while in a second database, it is stored in multiple columns such as, Salutation, First Name, Middle Name, and Last Name. b. Lexical Heterogeneity: Lexical heterogeneity occurs when the fields of different databases are structurally the same, but they represent the same information in a syntonically different manner. For example, two or more databases can have the same Address field, but one can have an address value: 32 E St. 4, while the other can have 32 East, 4th Street. To overcome this challenge, columns must be parsed and merged to achieve the same structure across datasets. In addition, the column values should be transformed to follow the same syntax.

2. Scalability

Usually, data merge initiatives are planned and implemented by keeping a set number of sources and types in mind and have no space for scalability. This is a huge challenge as organizational needs transform over time, and they require a system that can integrate more data sources with varying structures and storage mechanisms. To overcome this challenge, it is important to implement and utilize a scalable integration design during the merge process, rather than hardcoding the integration to certain sources only. A reusable data integration system considers current and future possibilities and builds a scalable architecture that pulls data from a number of sources and supports different data formats, such as APIs, SQL databases, text files, ETL warehouses, etc.

3. Duplication

No matter whichever data merging technique you are planning to implement, data duplication is a big challenge that needs to be fixed. Duplication may exist in your database in different forms, some common ones include:

  • Multiple records representing the same entity (that may or may not have a unique identifier).
  • Multiple attributes storing the same information about an entity.
  • Duplicate records or attributes stored within the same dataset or spanning across multiple datasets.
  • This duplication problem can be solved by:

  • Selecting and configuring suitable data matching algorithms that identify records representing the same entity. In absence of unique identifiers, a combination of advanced fuzzy matching algorithms must be used to find accurate matches.
  • Defining a set of conditional rules that intelligently assess same or similar columns and suggest which of these attributes contain more complete, accurate, and valid values.

4. Lengthy Processing Time

Data integration processes tend to run longer than expected. The most common reason behind this is poor planning and unrealistic expectations set at the beginning. It is easier to start something from scratch than to correct what has already been implemented and has been in effect for decades. It is crucial to consider the amount of data you are dealing with and assess the data profiles of all sources before you can realistically build an implementation plan. Another reason behind long-running integration projects is last-minute additions or changes. The team must spend some time in the pre-evaluation process and collect information from all stakeholders involved, such as business users (that enter/capture the data), administrators (that manage the data), and data analysts (that make sense of the data).

Best Practices to Facilitate a Smooth Merge/Purge

1. Know What to Integrate

Prior to initializing the data integration process, spend some time evaluating the data sources involved. This helps in identifying exactly what to combine – the sources and the attributes within them. It could be that old records are outdated and should not be considered for the integration process. Knowing exactly what to combine will increase the speed and accuracy of the process.

2. Visualize Data

It is always best to understand the data you are dealing with, and the quickest way to do so is to visualize it. It not only is easier to assess but gives you a complete view of any outliers or invalidations that may be residing in your dataset. Statistical histograms and bar charts showing completeness of attributes can be very useful.

3. Try Automated, Self-service Tools

Manually conducting the entire data integration and aggregation process seems like a resource and cost intensive process. Try automated, self-serve data integration tools that offer all-in-one solution for quick, accurate, and in-depth data profiling, cleansing, matching, integration, and loading.

4. Decide Where to Host Merged Data

You may want to merge data from all sources into one destination source or load the merged dataset to a completely new source. Depending on your requirement, make sure that you have tested, designed, and structured the destination source accordingly, so that it can withstand the incoming merged data efficiently.Merge/Purge service from NW Database Services will accurately combine multiple sources of data and remove duplicate data as well as bad records from your data. Call NW Database Services at (360)841-8168 for a free consultation.

We Are Here To Help!

12 + 14 =

Office

Woodland, WA 98674

Email

gch [@] nwdatabase.com
To use email, remove the brackets

 

Call Us

(360) 841-8168