2024: Week 28 - Wimbledon Special

Challenge by: Jenny Martin

Carl's Tour de France challenge last week has inspired a sports themed Preppin' Data month! This week the focus turns to Wimbledon. I thought it would be interesting to understand the crossover of Singles and Doubles Champions. Carl thought there wouldn't be many players who had become champions as both Singles players and Doubles players, but I thought the data could prove otherwise. Who's right? You'll have to complete the challenge to find out!

Inputs

The data for the Wimbledon Champions is found in 3 separate tables:

  1. Singles Champions 
    Taken from Britannica

  2. Doubles Champions 
    Taken from Britannica

  3. Mixed Doubles Champions 
    Taken from Wikipedia

Requirements

  • Input the data
  • Filter out the years where the championship did not take place
  • Ensure the Year field is numeric
  • Reshape the data so there is a row for each Champion, for each Year, even where there are 2 winners in the Doubles
  • Make sure it's clear which tournament they were the Champion of:
    • Either Men's Singles, Women's Singles, Men's Doubles, Women's Doubles or Mixed Doubles
  • For each Champion, calculate the most recent win across tournaments
  • Bring the data together so it's clear for each Champion how many of each tournament they've won
  • Filter the data to only include Champions who have won both Singles and Doubles tournaments
  • Create a calculation for the Total Championships each Champion has won
  • Rank the Champions in descending order of their Total Championships 
  • Create a field to indicate the Gender of each Champion
  • Output the data

Output

  • 10 fields
    • Rank
    • Champion
    • Gender
    • Total Championships
    • Women's Singles
    • Men's Singles
    • Women's Doubles
    • Mixed Doubles
    • Men's Doubles
    • Most Recent Win
  • 58 rows (59 including headers)

You can view the outputs here.

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

2024: Week 1 - Prep Air's Flow Card

2023: Week 1 The Data Source Bank

How to...Handle Free Text