2023: Week 28 - Prep School Track Team

Created by: Habeeb Gayle

This is our next challenge from one of the members of the 38th cohort of the Data School UK. 

The Prep School is keen on developing athletes from amongst their students. They want to identify and rank the top 100m and 200m athletes. Each student listed has taken part in either the 100m or 200m sprint. Some work needs to be done to find, rank and clean the dataset.

Inputs

1. Each student has some basic information about themselves such as age and gender and they have an id number to be identified by. 

2. Each student has a track event and corresponding time. 

3. These events have a set benchmark that identifies the top students in each age group. 

Requirements

  • Input the data
  • Join the students basic information with their event and track time 
  • Join the benchmark table with the right students
    • Note: the number of rows should still be 300 after the join
  • Filter out the students that did not fall within the benchmark
  • There has been an error with the collection of the times, so remove any 200m times that fall below 25 seconds
  • Rank the students fastest to slowest for each event
  • Output the data

Output

  • 9 fields
    • Rank
    • Event
    • id
    • First_name
    • Last_name
    • Gender
    • Age
    • Time
    • Benchmark
  • 31 rows (32 including headers)

You can download the output here.


After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @habeeb_gayle, @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