Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

DA 1.18: Is this dataset right for the job?

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

50 minutes

A lovely table that answers nothing

A bakery owner asks which days need extra staff. The analyst hands over a spotless table of daily sales, with no staff count and no opening hours.

The data is clean. It does not fit the question. Before any analysis, you must say whether the data is right for the job, and say why.

Key words

WordWhat it meansExample
RequirementWhat the analysis must find out or show.Busiest days for staff
RationaliseTo give clear reasons for a decision.This table has the daily totals we need
DatasetA collection of related data kept together.Daily sales
AudienceThe people who will read your findings.The bakery owner
Level of detailHow much information you give: a short note or the full working.A summary for an owner
FieldOne named column in a table.total
GapSomething the analysis needs that the data does not hold.No staff count

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can compare a dataset with what an analysis needs and explain clearly why it does or does not fit.

Starter: what you already know

Have a go

Starter: what you already know

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Worked example: needs against the table

What the analysis needsIn the dataset?Result
The dayYes, field dayFits
Total sales each dayYes, field totalFits
Number of staffNoGap
Opening hoursNoGap

The cells students fill in are left blank in this preview.

Four steps to rationalise

  1. Write the requirements of the analysis as a list.
  2. Compare each need with the fields in the dataset.
  3. Rationalise: say why it fits, or name the gaps and what to do about them.
  4. Present the result logically, at the level of detail the reader needs.

Try it: find the gaps

Code: python
needs = ["day", "total", "staff"]
columns = ["day", "total", "rain"]

for need in needs:
    if need in columns:
        print(need, "fits")
    else:
        print(need, "is a gap")

# Try it: add "staff" to columns and press Run.

A common mistake

Warning

Many people say "the data is fine" with no reasons. A claim needs evidence. Say which needs are met, which are not, and how you know. Be clear and short.

The lesson goes on

3 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.