Module 6: Processing and Analysing Big Data
Welcome to Module 6! In this lesson, we will learn how computers process and analyse large amounts of data to discover useful information.
Imagine that a supermarket in Ibadan receives thousands of orders every day. The supermarket wants to know which products customers buy most, which days are busiest, and how much money it makes.
Looking through every sales record manually would take a long time. Big Data processing and analysis help computers do this work faster.
1. What Is Data Processing?
Data processing is the activity of collecting raw data and changing it into a useful and organised form.
Raw data is information that has not yet been properly organised or examined.
Example of Raw Data
A shop records the following daily sales:
- Monday: โฆ15,000
- Tuesday: โฆ20,000
- Wednesday: โฆ12,000
- Thursday: โฆ25,000
- Friday: โฆ30,000
When the shop organises these records, calculates the total sales, and identifies the day with the highest sales, it is processing the data.
Common Data Processing Activities
- Sorting: Arranging data in a particular order.
- Filtering: Selecting only the information you need.
- Cleaning: Correcting errors and removing duplicate records.
- Grouping: Putting similar information together.
- Calculating: Finding totals, averages, and percentages.
2. What Is Data Analysis?
Data analysis means examining data to discover patterns, answer questions, and make better decisions.
For example, a school in Lagos may analyse students' examination results to discover:
- The subject with the highest average score.
- The number of students who passed Mathematics.
- The students who need extra lessons.
- Whether students are improving over time.
Data analysis helps people make decisions based on evidence instead of guessing.
3. The Big Data Processing Steps
Processing Big Data usually involves several important steps.
-
Data Collection: Gather information from sources such as websites, mobile applications, sensors, and business transactions.
-
Data Storage: Save the information in databases, cloud storage, or other storage systems.
-
Data Cleaning: Find and correct mistakes, missing values, and duplicate records.
-
Data Processing: Organise, sort, filter, and transform the information.
-
Data Analysis: Examine the processed information to discover patterns and useful findings.
-
Data Visualisation: Present the findings using charts, graphs, and dashboards.
-
Decision-Making: Use the findings to make informed decisions.
Example: An Online Shopping Business
An online shopping company in Nigeria wants to understand customer behaviour.
- It collects customer orders from its website.
- It stores the orders in a database.
- It removes duplicate and incorrect records.
- It calculates the most popular products.
- It creates charts showing customer purchases.
- It uses the results to plan future stock purchases.
4. Introduction to Batch Processing
Batch processing means collecting data over a period of time and processing it together in a group.
Instead of processing every record immediately, the computer waits until a particular time or until enough records have been collected.
Example
A school may collect students' examination scores throughout the week and calculate the results every Friday.
This is an example of batch processing because the records are processed together at a scheduled time.
Where Is Batch Processing Used?
- Monthly bank statements.
- Salary payments.
- School examination results.
- Monthly business reports.
- Processing large collections of website records.
5. Introduction to Real-Time Processing
Real-time processing means processing data as soon as it is received or very shortly afterwards.
This is useful when people need information immediately.
Examples of Real-Time Processing
-
Bank Transfers: A banking system processes a transfer and updates the account balances.
-
Online Payments: A payment platform checks and processes a payment when a customer makes a purchase.
-
GPS Navigation: A navigation application receives location information and updates directions.
-
Online Shopping: A shopping website updates product availability when an item is purchased.
Batch Processing vs Real-Time Processing
| Batch Processing |
Real-Time Processing |
| Processes data in groups. |
Processes data as it arrives. |
| May happen at scheduled times. |
Provides results with very little delay. |
| Useful for monthly reports. |
Useful for live bank transactions. |
6. Introduction to Data Analysis Tools
Data analysts use different computer programs to process and understand information. Some tools are designed for small datasets, while others can handle very large datasets.
Microsoft Excel
Microsoft Excel is a spreadsheet application used to organise, calculate, filter, and analyse data.
Excel can help users:
- Calculate totals and averages.
- Sort and filter records.
- Create charts and graphs.
- Find errors in datasets.
- Prepare reports.
Python
Python is a programming language used to process and analyse data.
Data analysts use Python libraries such as Pandas and NumPy to work with datasets.
Python can help users:
- Clean large datasets.
- Calculate statistics.
- Discover patterns in information.
- Automate repetitive data tasks.
SQL
SQL stands for Structured Query Language. It is used to communicate with relational databases.
An analyst can use SQL to retrieve, filter, organise, and summarise information stored in a database.
Power BI
Microsoft Power BI is a data analysis and visualisation tool. It helps users turn data into interactive reports and dashboards.
Apache Spark
Apache Spark is a powerful Big Data processing engine. It can process very large datasets across multiple computers.
Businesses use Spark for activities such as analysing customer behaviour, processing website activity, and preparing large datasets.
7. Introduction to Data Visualisation
Data visualisation means presenting information using pictures such as charts, graphs, and dashboards.
It makes information easier to understand because people can quickly see differences, patterns, and changes.
Common Types of Charts
- Bar Chart: Compares different groups or categories.
- Line Chart: Shows changes over time.
- Pie Chart: Shows how a total is divided into parts.
- Histogram: Shows how numerical values are distributed across ranges.
- Scatter Plot: Helps identify relationships between two numerical variables.
Example: Weekly Supermarket Sales
| Day |
Sales |
| Monday | โฆ15,000 |
| Tuesday | โฆ20,000 |
| Wednesday | โฆ12,000 |
| Thursday | โฆ25,000 |
| Friday | โฆ30,000 |
A bar chart can help the supermarket compare sales for each day. The manager can quickly see that Friday had the highest sales.
8. Practical Activity: Analyse a Small Business Dataset
Imagine that you are helping a small supermarket in Ibadan analyse its sales.
Study the information below:
| Product |
Quantity Sold |
Price Each |
| Rice | 10 | โฆ2,000 |
| Beans | 5 | โฆ1,500 |
| Spaghetti | 8 | โฆ1,000 |
| Vegetable Oil | 4 | โฆ3,000 |
Your Tasks
- Identify the product with the highest quantity sold.
- Calculate the total sales value for each product.
- Find the product with the highest sales value.
- Explain why the supermarket should analyse its sales records.
- Suggest a chart that can compare the quantities sold.
Activity Answers
- Rice has the highest quantity sold, with 10 bags or units.
-
Rice: โฆ20,000; Beans: โฆ7,500; Spaghetti: โฆ8,000; Vegetable Oil: โฆ12,000.
- Rice has the highest sales value at โฆ20,000.
- Analysis helps the supermarket understand customer demand and plan its stock.
- A bar chart is suitable for comparing the quantities sold.
9. Knowledge Check
Test what you have learned in this module.
Question 1
What is data processing?
- Deleting every record
- Changing raw data into a useful form
- Buying a computer
- Playing computer games
Correct Answer: B
Question 2
What is the main purpose of data analysis?
- To discover useful information and patterns
- To make computers slower
- To remove all information
- To design websites only
Correct Answer: A
Question 3
Which processing method handles data in groups?
- Real-time processing
- Batch processing
- Data visualisation
- Data collection
Correct Answer: B
Question 4
Which of these is an example of real-time processing?
- Preparing a monthly report
- Calculating last year's school results
- Processing a bank transfer as it happens
- Printing an old document
Correct Answer: C
Question 5
Which tool is commonly used to analyse spreadsheet data?
- Microsoft Excel
- Paint
- Notepad
- Calculator only
Correct Answer: A
Question 6
Which programming language is commonly used for data analysis?
- HTML only
- Python
- CSS only
- PowerPoint
Correct Answer: B
Question 7
What does data visualisation mean?
- Hiding data
- Presenting information using charts and graphs
- Deleting databases
- Installing computer games
Correct Answer: B
Question 8
Which chart is suitable for showing changes over time?
- Line chart
- Pie chart
- Photograph
- Logo
Correct Answer: A
10. Module Summary
In this module, you have learned that:
- Data processing changes raw data into a useful form.
- Data analysis helps people discover patterns and make decisions.
- Batch processing handles data in groups.
- Real-time processing handles data as it arrives.
- Excel, Python, SQL, Power BI, and Apache Spark are useful data tools.
- Data visualisation presents information through charts and graphs.
- Businesses use data analysis to understand customers and improve their operations.
What You Will Learn in Module 7
In the next module, we will explore the applications, benefits, and challenges of Big Data.
You will discover how banks, hospitals, schools, online businesses, governments, and other organisations use Big Data to solve real-world problems.
Keep learning. Every data expert starts with the basics!