top of page

NFL Data Project

10/10/2017

So we are already in Week 5 of the NFL Season, I decided to take on a new data analysis project! I wanted to create a database of NFL players, their college of origin, etc. to find different relationships between the data. 

​

To get started, I decided to create an ERD for Data Modeling to make things easier to manage visually before database creation. 

Tools Used:
10/11/2017

Below is what I have came up with.

Using Crow's feet notation, I am able to display the relationship between tables that will be created.

10/12/2017

After creating my ERD structure, I decided to input my data using excel before adding it to my SQL database below are the rows and columns created with data scrapped from different websites (for player names, active/inactive status, team coach, etc). They will eventually become tables and columns in SQL. But before that, it must be cleansed and formatted.....

10/14/2017

After setting up my SQL Server using Amazon Web Services, I connected using pgAdmin4, an DB Admin tool under PostGreSQL. Now its time to create the NFL Schema....

10/15/2017

Success! The NFL Schema is created, their are 1,684 players in the NFL, which includes cut, deactivated, injured, etc.)

I am now able to query on the data and create different views. After the season concludes, I will be adding final player statistics, summarizing, finding neat fun facts (for example, what player age is optimal for highest performance and creating cool Data Visualizations in Tableau's latest version so stay tuned!!! 

4/12/2018 

Hey! I'm back! Its been a few months and a very interesting NFL Season--My New Orleans Saints :(. However, I am very excited on showcasing my new skills.  Continue below for to see Data Science applications to the NFL!.....

Tools Used:

I used Pro-Football-Reference.com to gather my dataset. The dataset was 1,139 rows of data from Passing, Rushing, Receiving, etc. After data wrangling, the table was added to my database. Since, it is under 1 TB, I decided to use the csv for the data science portion of this showcase. I will be using Juptyer Notebook.

​

*Python has the ability to manipulate small enough databases directly using python. Best practices is if more than 1 TB, it is recommended to store it in the cloud to save memory. 

Using Python commands & Tableau to explore the data.

Separating by positions, I want to explore Quarterbacks and try to predict how many touchdowns each QB will have based on this season and the 2016 season results in positional categories.

 I used the random forest method.

As you can see, the random forest ML algorithm predicts Tom Brady to have 32 touchdowns for the 2018 season, Phillip Rivers at 23, and Manning at 29 based on the relationship between touchdowns, games played, passing yards, passing attempts, and passing completions.

bottom of page