2023: Week 24 - Is it the teacher or the student? Part II

 Challenge by: Andreea Scintei

This is our next challenge from one of the members of the 38th cohort of the Data School UK, and it's a follow on from last week!

As part of your task to help the Prep School evaluate performance, you discovered that students in classes 9A and 9B seem to struggle the most. You are now tasked with creating a list of all students and the percentile range of their results for each subject. For students that are in classes 9A or 9B you also need to add a Flag column in the output.

Inputs

1. Student Information - from last week
2. Student Results - from last week
3. Tiles - to help us categorise the grades

Requirements

  • Input the data
  • For each subject, split the grades into 4 groups
    • Hint: use the tile function
  • Replace the tile number with the relevant value from the Tiles input
  • Join the data with the Student Information
  • Trim Class field
  • Create a flag column for students in class 9A or 9B, who are in the lower quartile for 2 or more subjects
  • Filter to just the students flagged in the previous step
  • Output the data

Output


  • 6 Fields
    • Full name
    • Flag
    • Class
    • English
    • Economics
    • Psychology
  • 7 rows (8 including headers)
After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @Datajedininja@JennyMartinDS14 & @TomProwse1

You can also post your solution on the Tableau Forum where we have a Preppin' Data community page. Post your solutions and ask questions if you need any help! 

Popular posts from this blog

2023: Week 1 The Data Source Bank

2023: Week 2 - International Bank Account Numbers

How to...Handle Free Text