Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Data Analysis Tools Overview ยท Lesson 7 of 10

Module Six

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
7
Module 6: Data Collection, Cleaning, and Preparation Tools

Module 6: Data Collection, Cleaning, and Preparation Tools

Introduction

Before analysing data, we must first collect it and make sure it is correct. Imagine that your teacher wants to know the favourite subjects of students in your school. You may collect answers from students, but some students might leave questions unanswered or enter incorrect information.

This is why data collection, cleaning, and preparation are important. They help us turn raw information into useful and organised data.

Learning Objectives

At the end of this module, you should be able to:

  • Explain what data collection means.
  • Identify different ways of collecting data.
  • Name common tools used to collect information.
  • Explain data cleaning and data preparation.
  • Identify common mistakes found in datasets.
  • Use simple methods to organise and clean data.

1. What Is Data Collection?

Data collection is the process of gathering information for a particular purpose. The information collected can be numbers, words, dates, pictures, or answers to questions.

For example, a school may collect information about:

  • Students' names.
  • Their ages.
  • Their classes.
  • Their examination scores.
  • Their favourite subjects.

Example: Collecting Information in a School

A teacher wants to know how many students prefer Mathematics, English, Science, and Computer Studies.

The teacher asks students to select their favourite subject. Their answers become data that can be analysed.

2. Methods of Data Collection

There are several ways to collect data. Here are some common methods:

A. Surveys and Questionnaires

A survey is a set of questions used to collect information from people. A questionnaire is the list of questions that people answer.

For example, a business can ask customers whether they are happy with its products or services.

B. Interviews

An interview involves asking someone questions and recording their answers. A school may interview students to understand why they prefer certain subjects.

C. Observation

Observation means watching something carefully and recording what happens. For example, a shop owner may count how many customers enter the shop each day.

D. Existing Records

Sometimes, information has already been collected. You can use existing records such as school attendance sheets, sales reports, customer records, and examination results.

3. Tools Used for Data Collection

Data collection tools help us gather information quickly and organise the answers we receive.

A. Google Forms

Google Forms is an online tool that allows people to create questions and collect answers.

You can use it to:

  • Create surveys and questionnaires.
  • Collect students' information.
  • Conduct customer satisfaction surveys.
  • Collect event registration details.
  • View responses in an organised format.

B. Microsoft Forms

Microsoft Forms is another online tool for creating surveys, quizzes, and questionnaires. It can collect responses and display them in organised reports.

C. Microsoft Excel and Google Sheets

Excel and Google Sheets can be used to enter information manually, organise records, and prepare collected data for analysis.

Example: A Simple Survey

Imagine asking five students to choose their favourite subject.

Student Favourite Subject
Ada Mathematics
John English
Mary Science
David Mathematics
Samuel Computer Studies

This information can be entered into Excel or Google Sheets and used to create a chart showing the most popular subject.

4. What Is Data Cleaning?

Data cleaning is the process of finding and correcting mistakes in a dataset. It helps make information accurate, complete, and consistent.

Think about preparing food. Before cooking rice, you may remove stones and other unwanted materials. Data cleaning works in a similar way: it removes or corrects unwanted mistakes in information.

5. Common Data Problems

Here are some common problems that can appear in a dataset:

A. Missing Values

A missing value occurs when information that should be provided is left blank.

Student Age
Ada 13
John
Mary 14

John does not have an age recorded. We should check the original information instead of guessing his age.

B. Duplicate Records

A duplicate happens when the same record appears more than once.

Student Class
Ada JSS 2
John JSS 1
Ada JSS 2

Ada's record appears twice. If these are accidental duplicates, one of them should be removed after checking the original records.

C. Spelling Mistakes

Different spellings can make the same information look like different categories.

For example:

  • Lagos
  • lagos
  • Lagoss

These entries may refer to the same location. They should be checked and corrected to use one consistent spelling.

D. Inconsistent Formats

Information may be recorded in different formats. For example, dates could appear as 25/11/2026, 11/25/2026, or 25-Nov-2026.

A dataset should use a consistent date format so that it is easier to sort and analyse.

6. Tools Used for Data Cleaning

A. Microsoft Excel

Excel provides useful features for cleaning data, including:

  • Remove Duplicates: Helps remove repeated records.
  • Find and Replace: Helps correct repeated spelling or formatting mistakes.
  • Sort and Filter: Helps arrange and inspect information.
  • Text to Columns: Helps separate information stored together in one column.
  • Data Validation: Helps control what users can enter into cells.

B. Power Query

Power Query is a data preparation tool available in Microsoft Excel and Power BI. It helps users import, clean, transform, and organise data.

With Power Query, you can:

  • Remove unwanted rows and columns.
  • Remove duplicate records.
  • Change text to uppercase or lowercase.
  • Split one column into several columns.
  • Combine information from different tables.
  • Change data types, such as text into dates or numbers.

C. OpenRefine

OpenRefine is a tool that helps users clean and organise messy datasets. It is useful for finding similar words, correcting inconsistent entries, and exploring large collections of information.

7. What Is Data Preparation?

Data preparation is the process of organising and arranging data before using it for analysis.

Data preparation may involve:

  • Removing unnecessary columns.
  • Correcting incorrect entries.
  • Filling in missing information when reliable records are available.
  • Changing information into the correct format.
  • Combining information from different sources.
  • Checking that the data is ready for analysis.

Example: Preparing a Shop's Sales Records

A shop in Ibadan wants to understand how much money it makes every week. The owner collects sales records from different days.

Product Quantity Sold Price (โ‚ฆ)
Rice 5 2500
Beans 3 1800
Milk 4 1200

Before analysing the records, the owner checks that all products have names, quantities, and prices. The owner also checks for duplicate entries and makes sure the prices are recorded as numbers.

8. The Data Preparation Process

  1. Collect: Gather information from surveys, forms, records, or other sources.
  2. Inspect: Look through the information to identify mistakes and missing values.
  3. Clean: Correct errors and deal with duplicate or incomplete records.
  4. Transform: Change the information into a useful format.
  5. Organise: Arrange the information into rows, columns, and suitable categories.
  6. Validate: Check that the prepared data is accurate and ready for analysis.

9. Why Data Cleaning and Preparation Are Important

They are important because they help us:

  • Reduce mistakes during analysis.
  • Make better business and school decisions.
  • Find useful patterns in information.
  • Produce more reliable charts and reports.
  • Save time when working with large datasets.
  • Avoid making decisions based on incorrect information.

10. Practical Activity

Activity: Clean a Student Records Dataset

Study the table below. It contains some data problems.

Student Age Location
Ada 13 Ibadan
John 14 lagos
Mary Abuja
Ada 13 Ibadan
Samuel 15 Lagoss

Your tasks:

  1. Identify the duplicate student record.
  2. Identify the missing value.
  3. Find the location entries that need spelling corrections.
  4. Suggest how you would clean the table.
  5. Arrange the corrected information in Excel or Google Sheets.

Remember: Do not guess missing information. Check the original source before making corrections.

11. Knowledge Check

1. What is data collection?

  1. Deleting all information
  2. Gathering information for a purpose
  3. Drawing pictures
  4. Playing computer games

2. Which tool can be used to create online surveys?

  1. Google Forms
  2. Paint
  3. Calculator
  4. Notepad

3. What is a duplicate record?

  1. A missing record
  2. A repeated record
  3. A new column
  4. A chart

4. Which tool helps clean and transform data in Excel?

  1. Power Query
  2. Paint
  3. Media Player
  4. Calculator

5. Why should we clean data before analysing it?

  1. To make it confusing
  2. To increase mistakes
  3. To improve its accuracy and quality
  4. To delete every record

Correct Answers

  1. B โ€” Gathering information for a purpose.
  2. A โ€” Google Forms.
  3. B โ€” A repeated record.
  4. A โ€” Power Query.
  5. C โ€” To improve its accuracy and quality.

Module Summary

In this module, you learned that data collection involves gathering information, while data cleaning involves finding and correcting mistakes. You also learned that data preparation organises information so it can be analysed properly.

Tools such as Google Forms, Microsoft Forms, Excel, Power Query, and OpenRefine can help us collect, clean, and prepare data.

Always remember: good analysis begins with good-quality data.

Coming Up in Module 7

In the next module, you will learn about Cloud-Based and AI-Powered Data Analysis Tools. You will discover how cloud platforms and artificial intelligence help people analyse information more quickly.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’