Module Two: Collecting and Organising Data โ Getting Your Data Ready for Analysis
Welcome back, young data detective! In Module One, we learned what data is, why it's important, and how Claude AI can help us analyse it. Now, in Module Two, we will learn how to collect data and organise it properly. Think of it like this: before you can bake a cake, you need to gather all your ingredients and measure them correctly. Data analysis is the same โ you need good data before you can find good answers. We will learn about different ways to collect data, how to use tables and spreadsheets, how to clean data (fix errors), and how to prepare data for Claude to analyse. Let's get started!
After completing this module, you will be able to:
Chidi's Data Challenge
Chidi was excited. He had learned about data analysis and wanted to analyse something important. He decided to find out which fruits were most popular at his mother's market stall in Lagos. He asked customers: "What is your favourite fruit?" But he just wrote the answers on random pieces of paper. Some answers were messy, some were missing, and some were hard to read. When he tried to analyse the data, he got confused.
His teacher said, "Chidi, you need to collect your data properly and organise it. First, make a simple form with a list of fruits. Then, write the answers neatly in a table. This is called 'cleaning' your data." Chidi followed the advice. He created a table with columns for "Customer Name" and "Favourite Fruit." He collected 20 responses. Then he asked Claude: "Which fruit is the most popular?" Claude answered: "Mangoes are the most popular, with 8 people choosing them!" Chidi was thrilled. He learned that good data collection and organisation make all the difference.
Definition: Data collection is the process of gathering information from different sources. Good data collection means getting accurate and complete information.
Why it's important: If you collect bad data, you will get bad answers. It's like baking a cake with bad ingredients โ it won't taste good!
Simple explanation: Think of data collection like picking apples. You want to pick ripe, good apples โ not rotten ones.
Real-life example: A shop owner records sales accurately every day.
School example: A student writes down test answers neatly.
Home example: A parent keeps a clear record of monthly expenses.
Nigerian example: A market trader writes down daily sales in a notebook.
Illustration โ Good vs Bad Data Collection:
+--------------------------------------------------+ | GOOD DATA COLLECTION | | +----------------------------------------------+ | | | โ Clear questions | | | | โ Accurate records | | | | โ Complete answers | | | | โ Neatly written | | | +----------------------------------------------+ | | BAD DATA COLLECTION | | +----------------------------------------------+ | | | โ Messy writing | | | | โ Missing answers | | | | โ Wrong information | | | | โ Confusing questions | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Good data collection gives you accurate and useful information.
Definition: There are many ways to collect data โ surveys, observations, records, experiments, and more.
Why it's important: Different situations need different collection methods.
Simple explanation: It's like using different tools for different jobs โ a hammer for nails, a screwdriver for screws.
Real-life example: A restaurant uses a survey to find out what customers like.
School example: A teacher observes how students behave in class.
Home example: A family keeps records of their electricity bills.
Nigerian example: A farmer observes rainfall patterns to plan planting.
Illustration โ Data Collection Methods:
+--------------------------------------------------+ | WAYS TO COLLECT DATA | | +----------------------------------------------+ | | | ๐ Surveys โ Ask people questions | | | | ๐ Observations โ Watch and record | | | | ๐ Records โ Use existing documents | | | | ๐ฌ Experiments โ Test and measure | | | | ๐ Online โ Use websites and databases | | | | ๐ Interviews โ Talk to people | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: You can collect data through surveys, observations, records, experiments, and more.
Definition: A survey is a list of questions you ask people to collect data from them.
Why it's important: Surveys are one of the most common ways to collect data.
Simple explanation: A survey is like a quiz you give to people to learn about them.
Real-life example: A company asks customers to rate their service.
School example: A student surveys classmates about their favourite subjects.
Home example: A family asks relatives about preferred holiday destinations.
Nigerian example: A market trader surveys customers about new products.
Illustration โ Survey Example:
+--------------------------------------------------+ | SURVEY: FAVOURITE FRUITS | | +----------------------------------------------+ | | | Q1: What is your name? ___________________ | | | | Q2: What is your favourite fruit? | | | | (Circle one) | | | | Mango / Orange / Banana / Apple | | | | Q3: How often do you eat fruit? | | | | Every day / Sometimes / Rarely | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Surveys are questions you ask people to collect data.
Definition: Good survey questions are clear, simple, and easy to answer. They don't confuse people.
Why it's important: If your questions are confusing, you will get confusing answers.
Simple explanation: Good questions are like clear directions โ they tell people exactly what you want to know.
Real-life example: Instead of "How do you feel about our service?" ask "Rate our service from 1 to 5."
School example: Instead of "What do you think about maths?" ask "Do you like maths? Yes or No."
Home example: Instead of "What do you want for dinner?" ask "Which meal do you prefer: rice or pasta?"
Nigerian example: Instead of "What do you think of the market?" ask "How often do you visit the market?"
Illustration โ Good vs Bad Questions:
+--------------------------------------------------+ | GOOD QUESTION: | | "How many times a week do you eat fruit?" | | (Clear, specific, easy to answer) | | | | BAD QUESTION: | | "Do you eat fruit regularly?" | | (Vague, confusing, different meanings) | +--------------------------------------------------+
Mini summary: Good survey questions are clear, simple, and specific.
Definition: Observing means watching and noting what happens. Recording means writing it down.
Why it's important: Some data can only be collected by watching โ like how many people walk past a shop.
Simple explanation: Observation is like being a detective and taking notes.
Real-life example: A store owner counts how many customers enter each hour.
School example: A student counts how many cars pass the school in 10 minutes.
Home example: A parent counts how many times the doorbell rings.
Nigerian example: A market trader notes which products sell first.
Illustration โ Observation Sheet:
+--------------------------------------------------+ | OBSERVATION SHEET | | +----------------------------------------------+ | | | Date: ___________ | | | | Time: ___________ | | | | Location: ___________ | | | | What did I see? | | | | ________________________________________ | | | | ________________________________________ | | | | How many? ___________ | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Observing and recording is watching and writing down what you see.
Definition: Existing records are data that have already been collected by someone else โ like school attendance records or sales reports.
Why it's important: It saves time โ you don't have to collect the data yourself.
Simple explanation: It's like using a book from the library instead of writing your own.
Real-life example: A business uses old sales reports to analyse trends.
School example: A student uses school attendance records for a project.
Home example: A parent uses old bills to track spending.
Nigerian example: A researcher uses census data from the government.
Illustration โ Sources of Existing Records:
+--------------------------------------------------+ | SOURCES OF EXISTING RECORDS | | +----------------------------------------------+ | | | ๐ School attendance records | | | | ๐ Sales reports and receipts | | | | ๐ Census and survey data | | | | ๐ฆ๏ธ Weather records | | | | ๐ Books and research papers | | | | ๐ Websites and online databases | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Existing records are data collected by others that you can use.
Definition: A table is a way to organise data in rows and columns. It makes data easy to read and analyse.
Why it's important: Organised data is easier to understand and work with.
Simple explanation: A table is like a grid โ rows go across, columns go down.
Real-life example: A timetable at school is a table.
School example: A grade sheet with student names and scores.
Home example: A chore chart with family members and tasks.
Nigerian example: A market price list with items and prices.
Illustration โ Table Example:
+------------------+------------------+-------------+ | STUDENT NAME | SUBJECT | SCORE | +------------------+------------------+-------------+ | Ada | Maths | 85 | | Chidi | Maths | 90 | | Bola | Maths | 78 | | Tunde | Maths | 92 | +------------------+------------------+-------------+
Mini summary: Tables organise data in rows and columns for easy reading.
Definition: A spreadsheet is a computer program that helps you organise, calculate, and analyse data in tables.
Why it's important: Spreadsheets can do calculations automatically and make charts.
Simple explanation: A spreadsheet is like a smart table that can do math for you.
Real-life example: A business uses Microsoft Excel to track sales.
School example: A student uses Google Sheets for a project.
Home example: A parent uses a spreadsheet to budget.
Nigerian example: A market trader uses a spreadsheet to track daily sales.
Illustration โ Spreadsheet Layout:
+--------------------------------------------------+ | GOOGLE SHEETS / MICROSOFT EXCEL | | +----------------------------------------------+ | | | A B C D | | | | Day Product Sales Profit | | | | Monday Mango โฆ5,000 โฆ1,000 | | | | Tuesday Orange โฆ7,000 โฆ1,500 | | | | Wednesday Mango โฆ6,000 โฆ1,200 | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Spreadsheets are computer tables that help organise and analyse data.
Definition: Cleaning data means finding and fixing mistakes, like wrong numbers, missing information, or inconsistent formatting.
Why it's important: Clean data gives you accurate answers. Dirty data gives you wrong answers.
Simple explanation: Cleaning data is like washing fruit before you eat it โ you remove the dirt.
Real-life example: A company checks for duplicate customer records.
School example: A student checks that all test scores are entered correctly.
Home example: A parent checks that all bills are recorded properly.
Nigerian example: A market trader checks that all sales are recorded correctly.
Illustration โ Data Cleaning:
+--------------------------------------------------+ | DIRTY DATA (Before Cleaning) | | +----------------------------------------------+ | | | Name: "Ada", "Ada ", " ada" | | | | Age: 10, "ten", 10, | | | | Missing values: "", ?, (empty) | | | +----------------------------------------------+ | | CLEAN DATA (After Cleaning) | | +----------------------------------------------+ | | | Name: "Ada", "Ada", "Ada" | | | | Age: 10, 10, 10 | | | | Missing values: fixed or removed | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Cleaning data means fixing errors and removing dirt from your data.
Definition: Missing values are blank or empty spaces in your data where information is missing.
Why it's important: Missing values can give you wrong answers or make analysis impossible.
Simple explanation: Missing values are like holes in a bucket โ you need to fill them or the water leaks out.
Real-life example: A customer didn't answer the age question on a survey.
School example: A student missed a test and has no score.
Home example: A parent forgot to record a purchase.
Nigerian example: A market trader didn't write down sales for one day.
Illustration โ Fixing Missing Values:
+--------------------------------------------------+ | BEFORE: | | +----------------------------------------------+ | | | Name | Age | Favourite Food | | | | Ada | 10 | Mango | | | | Chidi | | Orange | | โ Missing Age | | Bola | 12 | | | โ Missing Food | +----------------------------------------------+ | | AFTER: | | +----------------------------------------------+ | | | Name | Age | Favourite Food | | | | Ada | 10 | Mango | | | | Chidi | 11 | Orange | | โ Added Age (estimated) | | Bola | 12 | Banana | | โ Added Food (based on survey) | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Fix missing values by filling them in or removing the incomplete rows.
Definition: Standardising means making all data look the same โ like using the same date format or the same spelling.
Why it's important: Consistent data is easier to analyse and compare.
Simple explanation: Standardising is like using the same ruler to measure everything.
Real-life example: All dates are written as DD/MM/YYYY.
School example: All student names are written with capital letters.
Home example: All amounts are written as โฆ1,000 not 1000 Naira.
Nigerian example: All market prices use the same currency symbol (โฆ).
Illustration โ Standardising Data:
+--------------------------------------------------+ | BEFORE STANDARDISING: | | Date: "01/01/2024", "Jan 1", "1-1-24" | | | | AFTER STANDARDISING: | | Date: "01/01/2024", "01/01/2024", "01/01/2024" | +--------------------------------------------------+
Mini summary: Standardising makes all your data look the same and consistent.
Definition: Claude can help you clean data by finding errors, suggesting fixes, and checking for consistency.
Why it's important: Claude can do data cleaning much faster than you can manually.
Simple explanation: Claude is like a robot that can find mistakes and fix them for you.
Real-life example: A company uploads a messy spreadsheet and asks Claude to clean it.
School example: A student asks Claude to check for missing values.
Home example: A parent asks Claude to standardise date formats.
Nigerian example: A market trader asks Claude to find duplicate entries.
Illustration โ Claude Cleaning Data:
You: "Claude, please clean this data. Fix any missing values and standardise the date format." Claude: "I found 5 missing values and fixed them. I standardised all dates to DD/MM/YYYY."
Mini summary: Claude can help you clean and organise your data quickly.
Definition: Preparing data means getting it ready for Claude to analyse โ cleaning, organising, and formatting it correctly.
Why it's important: Ready-to-analyse data gives you the best answers.
Simple explanation: Preparing data is like setting the table before a meal โ everything needs to be in the right place.
Real-life example: A business prepares sales data before giving it to Claude.
School example: A student organises survey data before asking Claude questions.
Home example: A parent organises expenses before asking Claude for a summary.
Nigerian example: A trader prepares weekly sales data before asking Claude for trends.
Illustration โ Data Preparation Checklist:
+--------------------------------------------------+ | DATA PREPARATION CHECKLIST | | +----------------------------------------------+ | | | โ Is all data collected? | | | | โ Is it organised in a table? | | | | โ Are there any missing values? | | | | โ Are all formats consistent? | | | | โ Are there any duplicate entries? | | | | โ Is it ready for Claude? | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Preparing data means cleaning and organising it before analysis.
Definition: Storing data safely means keeping it in a secure place so it doesn't get lost or misused.
Why it's important: You don't want to lose all your hard work!
Simple explanation: Storing data safely is like putting your money in a bank instead of under your mattress.
Real-life example: A company backs up its data to the cloud.
School example: A student saves their project on a USB drive and in Google Drive.
Home example: A parent keeps receipts and records in a folder.
Nigerian example: A trader keeps a backup of sales records.
Illustration โ Safe Storage Tips:
+--------------------------------------------------+ | TIPS FOR SAFE DATA STORAGE | | +----------------------------------------------+ | | | ๐พ Save multiple copies (backup) | | | | โ๏ธ Use cloud storage (Google Drive, etc.) | | | | ๐ Keep files organised in folders | | | | ๐ Use passwords for sensitive data | | | | ๐ Keep a paper copy as backup | | | +----------------------------------------------+ | +--------------------------------------------------+
Mini summary: Store your data safely with backups and organisation.
In this module, we learned:
You are now ready to start analysing data with Claude!
How to collect and organise data (Step-by-Step):
Have students practice creating surveys and collecting data from classmates. Show them how to organise data in a spreadsheet. Demonstrate data cleaning by giving them a "dirty" dataset to fix. Use Nigerian examples to make it relevant. Emphasise the importance of good data quality.
Help your child collect data around the house โ like tracking daily temperatures or weekly expenses. Teach them how to organise data in a simple table. Show them how to use a spreadsheet like Google Sheets. Encourage them to keep their data organised and backed up.
+-------------+ +-------------+ +-------------+ +-------------+ +-------------+ | PLAN | --> | COLLECT | --> | ORGANISE | --> | CLEAN | --> | PREPARE | | (what do | | (gather | | (table/ | | (fix | | (ready for | | you need?) | | data) | | spreadsheet)| | errors) | | Claude) | +-------------+ +-------------+ +-------------+ +-------------+ +-------------+
| Method | How It Works | Best For |
|---|---|---|
| Survey | Ask people questions | Opinions, preferences |
| Observation | Watch and record | Behaviour, events |
| Records | Use existing data | History, trends |
| Experiment | Test and measure | Science, results |
| Interview | Talk to people | Detailed information |
| Dirty Data | Clean Data |
|---|---|
| Missing values | All values present |
| Inconsistent formats | Standardised formats |
| Spelling mistakes | Correct spelling |
| Duplicate entries | No duplicates |
| Wrong numbers | Correct numbers |
+------------------------------------------------------------------+ | Lesson 1: Why Good Data Collection Matters | | Lesson 2: Different Ways to Collect Data | | Lesson 3: Creating a Survey | | Lesson 4: Writing Good Survey Questions | | Lesson 5: Observing and Recording Data | | Lesson 6: Using Existing Records | | Lesson 7: Organising Data โ Tables | | Lesson 8: Using Spreadsheets | | Lesson 9: Cleaning Data โ Fixing Errors | | Lesson 10: Fixing Missing Values | | Lesson 11: Standardising Data Formats | | Lesson 12: Using Claude to Help Clean Data | | Lesson 13: Preparing Data for Analysis | | Lesson 14: Storing Your Data Safely | | Lesson 15: Review | +------------------------------------------------------------------+
In this module, we learned how to collect and organise data properly โ the essential steps before any analysis. We explored different ways to collect data: surveys, observations, records, and more. We learned how to create good surveys with clear questions. We discovered how to organise data in tables and spreadsheets. We also learned about data cleaning โ fixing errors, filling missing values, and standardising formats. We saw how Claude can help us clean and prepare data. Finally, we learned how to store data safely. Remember: good data collection and organisation are the foundation of good analysis!
| Term | Definition |
|---|---|
| Survey | A) Watching and recording |
| Observation | B) List of questions |
| Table | C) Fixing errors |
| Cleaning | D) Rows and columns |
| Spreadsheet | E) Computer program for data |
Answers: Survey-B, Observation-A, Table-D, Cleaning-C, Spreadsheet-E
Scenario 1: You want to know what your classmates' favourite lunch foods are. You want to collect data from 20 students.
Task: Create a survey with 2-3 clear questions. Then, imagine you collected the data. Organise it in a table with 5 rows and 2 columns.
Answer: Survey: Q1: What is your name? Q2: What is your favourite lunch food? Table: Name | Favourite Food.
Scenario 2: You have a messy dataset with missing values and inconsistent formats.
Task: Write a prompt to Claude asking for help to clean the data.
Answer: "Claude, I have a dataset with some missing values and inconsistent date formats. Can you help me clean it and standardise the dates to DD/MM/YYYY?"
In groups of three, create a survey about "Favourite Nigerian Foods." Collect data from 10 people in the class. Organise the data in a table. Then, use Claude (or pretend) to find the most popular food. Present your findings to the class.
Collect data on your daily activities for one week. Write down how much time you spend on: school work, playing, eating, sleeping, and watching TV. Organise your data in a table. Clean the data if needed. Then, use Claude to find the activity you spend the most time on.
Choose a topic you want to learn about โ e.g., "Favourite colours in our class" or "How we spend our weekends." Create a survey with 3 clear questions. Collect data from at least 10 people. Organise your data in a table. Clean the data if needed. Write a short report on what you learned from the data.
Find a messy dataset online (or use one from your teacher). Your task is to:
Collect data on the prices of a product (like rice or tomatoes) from three different markets in your area. Organise the data in a table. Clean any errors. Then, use Claude to compare the prices and find the cheapest market. Write a recommendation for where to buy.
Fill-in-the-blank: 1. Data collection, 2. survey, 3. Observation, 4. table, 5. spreadsheet, 6. Cleaning, 7. Missing values, 8. Standardising, 9. Preparing, 10. Claude
True/False: 1T, 2T, 3F, 4T, 5F, 6F, 7T, 8F, 9T, 10F
Multiple Choice: 1A, 2A, 3A, 4A, 5A, 6A, 7A, 8A, 9A, 10A, 11A, 12A, 13A, 14A, 15A
Matching: Survey-B, Observation-A, Table-D, Cleaning-C, Spreadsheet-E
In Module Three, we will put our collected and organised data to work! We will learn how to ask Claude questions, find averages, sums, and counts, and discover patterns and trends. We will also start creating charts and graphs to visualise our data. Get ready to become a real data analyst!
๐ Congratulations! You have completed Module Two: Collecting and Organising Data with Claude AI ๐
You are now ready for Module Three โ Asking Questions and Finding Answers!