Skip to content
Try this course

Free course template · Global

Data analysis code for analysts: Cleaning, reproducibility and responsible data collection

A ready-made course, live deck and two surveys for analysts. 45 minutes, 6 lessons. Last reviewed 21 October 2026; not legal advice.

Try the courseClaim the template

Play a game from the course

Data analysis code for analysts: try 3 questions

Three questions from this course. Pick an answer, then see why.

Play the game

Game not loading? Open it in a new tab (opens in a new tab)

Three pieces that work together

Learners sign in, so every finish and score is recorded. 8 fields to fill in with your details.

Claim the template
The Data analysis code for analysts: Cleaning, reproducibility and responsible data collection course as a learner first sees it

6 lessons, about 45 minutes

Minutes are an estimate.

  • Lesson 1: A dashboard built on dirty data · 8 min

    Before you begin · The sales dip · What went wrong

  • Lesson 2: Loading and cleaning data · 8 min

    Cleaning steps · What is wrong with this table? · Check

  • Lesson 3: Transforming and summarising · 8 min

    Group and summarise · Predict the result · Check

  • Lesson 4: Making analysis reproducible · 8 min

    The checklist · Spot the problem · Style

  • Lesson 5: Collecting external data responsibly · 8 min

    Before you collect · May we? · Raise it early

  • Lesson 6: Reporting and final assessment · 5 min

    Reporting · Practice

Claim the template

Inside this course

Taken from the course itself.

By the end, learners can

  • Load a dataset and find missing, duplicate and inconsistent values before analysing it
  • Transform and summarise data and predict what a short data-frame call returns
  • Make an analysis reproducible: fixed inputs, documented steps and a re-run that gives the same result
  • Decide whether collecting data from an external source is allowed, and what must be checked first
  • Report results with the data caveats the reader needs

Sample questions, with answers

  1. What would best have prevented the false drop?

    • Comparing row counts before and after each step
    • A faster computer
    • A more colourful chart
    • Publishing later in the day

    Answer: Comparing row counts before and after each step. A row count comparison shows at once when a step removes more than expected.

    Lesson 1: A dashboard built on dirty data

  2. A group total looks lower than expected. What is a good first check?

    • Look for blank or odd labels in the group column
    • Change the chart colour
    • Delete the smallest group
    • Round the numbers

    Answer: Look for blank or odd labels in the group column. Blank or inconsistent labels often hide rows in a group summary.

    Lesson 3: Transforming and summarising

  3. Which is the best reason to write steps in a script?

    • Anyone can repeat the analysis exactly
    • It makes the file bigger
    • It removes the need for data
    • It hides the method

    Answer: Anyone can repeat the analysis exactly. A script is a repeatable record of what you did.

    Lesson 4: Making analysis reproducible

A scenario from "Transforming and summarising"

A table of orders is grouped by region and summed; a missing region name hides 200 orders.

Best response: Check for blanks before grouping.

Weaker responses: Sum anyway; Drop blanks silently; Round up.

Common questions

Yes. Claiming the template and editing it are free.

Yes. The course is self-paced and online, and the live deck lets you add a live session in the room or online.

At onboarding of analysts, and before a team moves analysis from spreadsheets to code.

Analysts, BI developers, marketing and research teams and new data-team hires; run by data leads with L&D.

Record completion in your own LMS or record system, so you can show who finished the course and when.

Your own details, each highlighted inside the course:
  • Link to the engineering standards or style guide
  • Privacy or data protection contact for collection questions
  • Where completion is recorded
  • Who to ask for help or to report a concern
  • Link to the self-paced course
  • List of approved tools and versions
Then edit anything else you like: wording, scenarios, your logo.
Visit the help centre (opens in a new tab)