GithubHelp home page GithubHelp logo

tttgm / nba-trade-tracker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.27 MB

Data investigation into the effect of a mid-season trade on a players performance

Jupyter Notebook 48.91% HTML 50.14% JavaScript 0.88% R 0.07%

nba-trade-tracker's Introduction

NBA-Trade-Tracker

Aim: Plot the in-season movement via trade of players around the NBA.

Why: Certain changes in the latest NBA collective bargining agreement (CBA) have led to shorter contracts, with more player/team options. This has seemed to invigorate the trade market, as more players are technically on "expiring" deals. I wanted to track in-season trades over the past few years to see what effect it had on the players' performance.

How:

To begin with, I'll try to create an interactive plot that looks at in-season player movement between teams historically. It will be interesting to see if any trends emerge with regards to a teams trade frequency with time, patterns in trading partners (and whether conference/division affects this), and overall volume of trades year-on-year.

On top of this, I'd like to extend this visualisation to highlight some advanced player metrics before & after the trade in order to assess what kind of impact moving teams mid-season might have on performance, or else demonstrate certain changes in opportunity a player may experience from going to a new situation.

For creating chord diagrams that transition between different datasets (e.g. different years for our nba data) check out this stack overflow page

Scope:

Hopefully I'll eventually extend this to off-season moves and acquisitions, however with generally more roster turnover in off-seasons the effect on a single player (changing teams) can be harder to truely gauge. Additionally, a players performance may change dramatically between seasons naturally through summer workout regimes, while the negative effect of adjusting to a new environment would surely be lessened by the ability to partake in the teams training camp.

Results:

The data handling/wrangling/preparation can be found in this Notebook.

Any comments, changes, or suggestions welcome :)

nba-trade-tracker's People

Contributors

tttgm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.