Imagine you own a supermarket in Lagos. You collect information from different places:
Each system stores different information. How can you bring all this information together to understand how your business is performing?
The answer is Data Integration.
Data integration is the process of collecting information from different sources and combining it into one organised place where it can be easily accessed and analysed.
Data integration helps businesses to:
Example: A bank can combine customer information from its mobile banking app, ATM system, branch offices, and payment platforms to understand customer activities.
ETL stands for:
ETL is a process used to move data from different sources into a data warehouse.
Think of ETL like preparing food. Before cooking, you collect the ingredients, clean them, arrange them, and then put them into a cooking pot. ETL works in a similar way with data.
Extraction means collecting data from different sources.
These sources may include:
Example: A Nigerian supermarket collects sales records from its branches in Ibadan, Lagos, and Abuja. The process of collecting these records is called extraction.
Transformation means cleaning and changing data into a format that can be used properly.
Sometimes data contains mistakes, duplicates, missing values, or different formats. Transformation helps to correct these problems.
Common transformation activities include:
Example: A supermarket receives these records:
| Customer | City | Amount |
|---|---|---|
| John | Lagos | 5000 |
| John | Lagos | 5000 |
| Mary | IBADAN | 7500 |
| Peter | Abuja | 3000 |
The first two records may be duplicates. The city name IBADAN may also need to be changed to Ibadan for consistency.
After transformation, the data becomes cleaner and easier to analyse.
Loading means moving the cleaned and transformed data into the data warehouse.
Once the data is loaded, business analysts and managers can use it to create reports, dashboards, and other business insights.
Example: After cleaning sales records from all supermarket branches, the information is loaded into the company's central data warehouse. The manager can now compare sales across Lagos, Ibadan, and Abuja.
The ETL process follows three main stages.
Collect data from different sources.
Clean and organise the data.
Store the prepared data in the warehouse.
Imagine a school in Nigeria with three branches. Each branch records students' information, examination scores, fees, and attendance.
The school wants one report showing the performance of all its branches.
The ETL process can work like this:
The school management can now compare student performance across all branches.
You may also come across another term called ELT.
ELT means:
ELT is similar to ETL, but the order is different.
In ETL, data is transformed before it enters the data warehouse.
In ELT, data is first extracted and loaded into the storage system. Transformation happens afterwards, usually inside the data warehouse.
| ETL | ELT |
|---|---|
| Extract, Transform, Load | Extract, Load, Transform |
| Data is cleaned before loading. | Data is loaded before transformation. |
| Often uses a separate transformation process. | Often uses the warehouse to transform data. |
| Useful where data must be prepared before storage. | Common in modern cloud data platforms. |
Example: A company may use ETL to clean customer information before storing it. Another company may use ELT to load large amounts of raw data into a cloud warehouse and transform it later.
Neither approach is always better. The right choice depends on the company's needs, technology, data size, and security requirements.
Data cleaning is an important part of data integration. It involves finding and correcting errors that could affect reports and business decisions.
This happens when the same information appears more than once.
Example: A customer is accidentally registered twice.
This happens when important information is not provided.
Example: A customer record has a name but no phone number.
This happens when information is entered wrongly.
Example: A customer enters 500,000 instead of 50,000 as a payment amount.
This happens when the same information is stored in different formats.
Example:
All three may refer to the same city, but a data warehouse should use a consistent format.
This happens when information does not follow the expected rules.
Example: A date of birth is entered as 35/18/2020.
Cleaning these problems helps businesses maintain reliable information.
Businesses use different tools to extract, transform, and load data.
These tools help organisations automate data movement and preparation instead of doing everything manually.
Let's practise how data cleaning works.
Imagine you are helping a supermarket organise its sales records.
Here is the original information:
| Customer | City | Sales Amount (โฆ) |
|---|---|---|
| Ada | Lagos | 5000 |
| John | IBADAN | 7500 |
| Ada | Lagos | 5000 |
| Mary | Abuja | 6000 |
| Peter | lagos | 4500 |
After removing the duplicate and correcting the city names:
| Customer | City | Sales Amount (โฆ) |
|---|---|---|
| Ada | Lagos | 5000 |
| John | Ibadan | 7500 |
| Mary | Abuja | 6000 |
| Peter | Lagos | 4500 |
This activity demonstrates how transformation improves data quality before loading information into a warehouse.
| Term | Meaning |
|---|---|
| Data Integration | Combining data from different sources. |
| ETL | Extract, Transform, Load. |
| ELT | Extract, Load, Transform. |
| Extraction | Collecting data from sources. |
| Transformation | Cleaning and changing data. |
| Loading | Moving prepared data into storage. |
| Data Cleaning | Finding and correcting data problems. |
| Data Pipeline | A series of steps that moves and processes data. |
| Duplicate Data | Repeated information. |
| Data Source | The original location of information. |
In this module, you have learned that data integration brings information from different sources together.
You also learned about ETL, which stands for Extract, Transform, and Load.
The three ETL stages are:
You also learned about ELT, data cleaning, popular ETL tools, and how businesses prepare information for analysis.
Remember: Good business decisions depend on good-quality data.
Test what you have learned.
Imagine you are managing data for a Nigerian bank. Explain how you would use the ETL process to combine customer information from its mobile app, ATM machines, and branch offices.