Code for plotting, modeling and predicting college football data.
This repo uses the collegefootballdata.com API to pull in play by play data, betting data, and more advanced stats to analyze it and make predictions.
To contribute, pick an issue or create a new issue and open a new branch off of dev with the name feature/issue_number_and_name.
When your work is ready to be reviewed, open a Pull Request to merge your branch into dev and fill out the PR template.
You will need to install the statRdaysCFB package in order to access data and run most scripts. You will also need a free CFBdata API key.
First, create a venv and install the requirements.
# Create and activate
python3 -m venv .venv
source .venv/bin/activate
Windows
source .venv/Scripts/Activate
# Upgrade pip
python -m pip install --upgrade pip
# Install requirements
python -m pip install -r requirements.txt
Next, you'll have to set your CFBData API key as an environment variable.
CFBD_API=<your_key>
Windows
set CFBD_API=<your_key>