2023: Week 39 - Tennis 200 Club

Challenge by: Jenny Martin

I recently found some time to dust off my dashboarding skills and build a dashboard celebrating Andy Murray's 200 Grand Slam match wins. I wanted to create a dataset that would allow me to compare him to 3 of the other members of the 200 club: Nadal, Federer and Djokovic. Tableau Prep made this task nice and simple so why not use the workflow for a Preppin' Data challenge!

View on Tableau Public

Inputs

The data comes from tennis-data.co.uk with a file for each year (2000-2023) containing a row for each match played in that year. 

Requirements

  • Input the data
  • Bring all the files together into 1 dataset
    • We'll only be using 7 fields for this challenge:
      • Tournament
      • Date
      • Series
      • Round
      • Winner
      • Loser
      • Comment
  • Filter to Grand Slam matches only
  • We are only concerned with matches where Murray, Nadal, Federer or Djokovic played so filter to only these matches
    • Remember they could be in the Winner field or the Loser field
  • Categorise these matches as Win or Loss for each of our Players of Interest
  • We only want to compare the first 200 matches that each player won and see losses up to the 200th win. Filter the dataset accordingly and number the wins
  • For each win, we want to know the number of days that have passed since the previous win
  • Output the data

Output

  • 10 fields
    • Player of Interest
    • Tournament
    • Round
    • Date
    • Win/Loss
    • Win Number
    • Days Since Last Win
    • Winner
    • Loser
    • Comment
  • 943 rows (944 including headers)
You can download the output from 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

2023: Week 1 The Data Source Bank

2023: Week 2 - International Bank Account Numbers

How to...Handle Free Text