Coder Social home page Coder Social logo

ironhack-project-1's Introduction

Ironhack-project-1 - NBA

NBA 1984-2018: How the game changed in 30 years

Data Thieves Project by:

  • Victoria Essien
  • Caner Bulut
  • Daniel Quer

Goals of the project

  • As NBA fans, we have seen how the game has become more dynamic, points, point and shooting guards have become the dominators in the court.
  • We wanted to see how data backed this feeling, from two angles:
  • The performance angle: how many of the points are scored from beyond the 7.25 line. Are topscorers nowadays the 3- point shooters?
  • The economic angle: how much better paid are topscorers vs the rest of the team and compared to the 80s?

Data - sources, problems and limitations

We used three different data sources:

  • Stats.nba.com API: we obtained here data for the performance of NBA players from 1984 to 2018. Format: JSON files
  • Data World: we obtained here data for the salaries of players from 1984 to 2018. Format: 2 csv files
  • We eventually had to use a package provided by a Git user to solve a referential integrity problem. Format: dictionary.

Data - sources, problems and limitations

  • Data proved to be very clean, but one of the datasets contained a couple of limitations:

    1. The Dataworld dataset was incomplete for seasons 1986-87 and 1989-90. We had to remove these seasons from the scope of our exercise, as they biased conclusions on:
  • Salaries

  • Positions of the players in the court

    1. Some players that the NBA stats service recognized as active (because they had at least one minute played in a game during the season) were not present in the Dataworld dataset. These players were removed when grouping players by position and salary.

Organisation

Trello Project

Project learnings

Stats API:
  • session = requests.Session()
  • session.headers.update({'User-Agent': 'Custom user agent'})
  • response = session.get(url)
  • Working on GitHub together
  • Merging dataframes and data wrangling
  • Creating lookup values in data frames
  • Plotting and combo colors

ironhack-project-1's People

Contributors

danielquer avatar vikkieessien avatar cabulut 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.