- About the Project
- Features
- Installation
- Usage
- Folder Structure
- Technologies Used
- Contributing
- License
This project is a simple NFL analytics dashboard built with Streamlit. It allows users to visualize some NFL data key through interactive charts. Data is pulled from https://github.com/nflverse/nfl_data_py.
As of August 2024, the dashboard includes the following charts:
- Team EPA (Expected Points Added) for first down
- Team EPA for both first and second down
- Comparison of EPA, points scored, and turnovers
- A basic regression model (work in progress)
To get a local copy up and running, follow these steps:
- Python 3.x (3.12 is recommended)
- Poetry (for package management)
- Clone the repository:
git clone https://github.com/vinostroud/nfl_analytics
- Navigate to the project directory:
cd nfl-analytics
- Install the dependencies using Poetry:
poetry install
- Run the Streamlit app:
poetry run streamlit run src/app_fe.py
After installing the project, you can run the Streamlit app with the following command:
poetry run streamlit run src/app_fe.py
After running the app in Streamlit, follow instructions in your terminal window to view the app in your browser. Typically you will navigate to http://localhost:8501
src/
contains the main app codetests/
contains test scripts using pytest
- Python
- Streamlit
- Pandas
- NFL Data Py (nfl_data_py)
- Sklearn
This project was created for fun and out of an interest in NFL data. Contributions, PRs, creation of issues, or ideas are therefore welcome.