2020: Week 51

Challenge by: Carl Allchin

It's nearly here... we've all been waiting so long... I've been counting down the days... that's right the NBA season is finally back on 22nd December! 

Due to Covid timings for this season are all over the place. The 82-game season has been cut to 72 games. This means there is a new structure for how the games are organised. I've simplified this structure a little (so as we're not here to Christmas):

  • Own Conference - 1.5 games at home and 1.5 games away 
  • Opposing Conference - 1 game at home and 1 game away
The challenge this week is to work out how many hours each of the 30 NBA teams will spend on planes this season flying around North America. The timings have been taken from Google's directions where possible and has factored in private planes. 

We want to know which team is:
  • Travelling for the longest time
  • Travelling for the shortest time

Input

Travel Time Matrix


League Structure

Requirements

  • Input the data
  • Make the matrix more useable! 
  • Calculate the travel time in minutes
  • Apply the travel time between each city
  • Determine how many games each team will play against each other
  • Aggregate all travel time per team
  • Output the data

Output


One File
  • 4 Columns
    • Home Team
    • Home Division
    • Home Conference
    • Travel Mins
  • 30 Rows (31 including headers)

The full output can be downloadeconferend 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@JonathanAllenby & @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