2024: Week 51 - Strictly Positive Improvements?

Challenge by: Jenny Martin

It was the final of this year's series of Strictly Come Dancing at the weekend, which made me have a few more questions I'd like to answer using the dataset we used in a challenge a few week's back. If you've yet to catch up on this year's final, don't worry this data doesn't include results from this year. 

As I watched the final this year I found myself wondering, is it the contestant that makes the biggest improvement that is most likely to win? Or is it the contestant that has been consistently good since week one? Let's work out the percentage improvement of the finalists from week 1 in order to answer this question!

One additional question, does getting perfect scores in the final guarantee you'll win? 

Input 

The input is the same as challenge 42. If you recall this data was webscraped and so it does require a little cleaning before we can start answering the questions. 

Requirements

  • Input the data
  • The webscraping isn't quite perfect and the table headers are repeated throughout the dataset, make sure these are removed
  • Make sure that the Week field is numeric
  • The Score field is made up of the Total Score and individual judges scores
    • Create a field for the total score
    • Count how many judges there were 
    • Create an Avg Judge's Score field
      • i.e. Total Score/Number of Judges
  • Since we're interested in couple's improvement from the start of the series and the end of the series, we only need to retain rows relating to the couple's first dance (which may not have been in week 1) and their dances in the final
    • This means we're only interested in couples who made it to the final
  • Couples dance multiple times in the final. Take the average of their Avg Judge's Score
  • Find the Percentage difference between their Avg Judge's Score for their first dance and the average for their dances in the final
  • The final output should contain a row for each couple, with their Percentage difference and only the Avg Judge's Score in the final, along with the Result
    • i.e. whether they won, were a runner-up or came third
  • Output the data

Output

  • 6 fields
    • Series
    • Couple
    • Finalist Positions
    • Avg Judge's Score (in final)
    • % Change
  • 62 rows (63 including headers)
You can view 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 @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