Skip to content

arocegue/NFL_Spending_Analysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Winning Budgets

An Analysis of NFL Team Spending and Wins On The Field

Team Members:

  • Binh Do
  • Dan Dreger
  • Anthony Jordan
  • Brandon Macchi
  • Andrew Oceguera

Project Overview and Questions:

This project explores the correlation of NFL (National Football League) team success based on how they choose to allocate their yearly player budget, aka salary cap. Our questions:

  • Will a team be more successful by having 1 or 2 very highly paid, highly skilled players on the roster taking up large portions of salary cap?
  • Is it better to try and spread salary cap more evenly among players?
  • What about offense and defense...? Is it better to invest more heavily in one over the other?

Why NFL Spending?

  • As a group of avid sports fans, we wanted to take on a project worthy of a Pro Sports front office.
  • We’re interested in learning more about why some teams win and others do not.
  • NFL contract data is ready accessible and available

Why The NFL Is Unique

  • As a group of avid sports fans, we wanted to take on a project worthy of a Pro Sports front office.
  • We’re interested in learning more about why some teams win and others do not.
  • NFL contract data is ready accessible and available.

Tech Stack and Data Flow

We used a number of different libraries/tools/resources for this project, including:

  • Python
  • Jupyter Notebook
  • Selemium
  • Beautiful Soup
  • MongoDB
  • HTML
  • CSS
  • JavaScript
  • Plotly
  • Pandas
  • MatPlotLib
  • D3
  • HighCharts

Website Data:

Here is a basic illustration of the Data flow from acquision, cleaning, and storing Screenshot 2023-08-10 at 4 13 28 PM Screenshot 2023-08-10 at 4 13 54 PM

##The Front End Using the API created by our MongoDB Database, we're able to fetch data and render it for the user. Here are some screenshots of the dashboards. Screenshot 2023-08-10 at 4 16 10 PM Screenshot 2023-08-10 at 4 16 59 PM

To Run the app

  • Clone the Repo

  • Pull latest main

  • Download dependencies (above)

  • Run Conda Activate Dev

  • Run python app.py

About

Analysis of NFL Salaries to determine optimal team spending for on-field success

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 98.3%
  • Other 1.7%