Adrien Ruggiero

Logo

Artificial intelligence and data science enthusiasts, my ambition is to become a data scientist. I love to get involved in data science projects on projects that interest me.

View my LinkedIn profile

View My GitHub Profile

WebApp_NBAStats

Everything is explained in the pdf file named “ProjectReport”. However, as it is written in French, this README file will explain the main points in English. The code is available here.

The code desing is divided in four main parts :

1. Origins and interests for the project

My teammate and I have an interest in sports and especially in the NBA. That’s why we decided to study the salaries of the players according to their sports performances.

Seeing the astronomical salaries of many players, we asked ourselves for the data collection and storage project:

To what extent does the sports performance of the players affect their salary?

Unfortunately, as a result of the health crisis, the seasons were disrupted, so we had to revert to a so-called “regular” year. Therefore, we will be looking at the regular season for the 2018-2019 year.

2. Project Description

The purpose of our application is to display and study descriptive and sports statistics related to players and teams.
It gives the possibility to compare the NBA players and get an idea of the relative level between them. There are 4 pages in our web app :

### 1. Players Comparison

In the first page, we compare two players from a statistical point of view.
Of course, it is possible to select only one player to study only his performance. We can compare palyers through several charts:

### 2. Teams Comparison

In the second page and after focusing the palyer scale, we want here to retrieve statistics of NBA teams in order to compare them.
To do so, we take the statistics of the players attached to the same team and we average each of the characteristics to have the same basis for comparison. Note that taking the mean was arbitrary and other methods could be performed to achieve these comparisons of teams.

Our graph is a bubble chart that will position the teams in a space according to two characteristics. In parallel to the two characteristics, we give the user the possibility to filter the teams and all the teams that do not belong to the conditions of these filters will not be considered for the display.

### 3. Data description

This page does not offer many features.
It simply allows the user to get acquainted with the language and lexicon used in the NBA world to define and categorize sports performances during different seasons.
In reality, it is a simple glossary.

3. Ways to improve our project

We are well aware that this project can be much more driven and complete. Indeed, this project was performed with a short deadline so we could go too deep in the app as the aim of this particular project was to understand the process of build a Shiny App.

As a consequence, this project could obviously be carried on. Here are some ideas on how to improve it:

Source : https://toddwschneider.com/posts/ballr-interactive-nba-shot-charts-with-r-and-shiny/
Source : https://github.com/toddwschneider/ballr