- Added Eric Hess's Visualizing Team Talent Using Player Recruiting Rankings vignette
- Added
cfb_calendar()
function from API - Updated
cfb_team_roster()
to reflect new parameters.
- Updated
cfb_game_box_advanced()
to incorporate new columns from API.
This was a big update!
- Updated expected points models and win probability models
- Add player and yardage columns to
cfb_pbp_data()
pull thanks to a great deal of help from @NickTice - Add spread values to the
cfb_pbp_data()
pull - Add drive detailed result with attempts at creating more accurate drive result labels
- Added series and first down variables
- Added argumentation to allow for San Jose State to be entered without accent into
cfb_pbp_data()
functionteam
argument.
-
Fix conference parameters to match API (moved to abbreviation format).Removed assertions for now, so users should be able to access conference data without issue, assuming the input argument is correct. May fortune favor your selection. -
Add mgcv (>= v1.8.32) dependency and update WP model accordingly. Note on WPA: Kickoffs are problematic and our calculation algorithm does not appear to accomplishing what it needs to. We are working on this, aiming for a quick next version update centered around this.
-
Following play type renamings and merging:
- Pass Interception Return --> Interception Return
- Pass Interception --> Interception Return
- Pass Interception Return Touchdown --> Interception Return Touchdown
- Sack Touchdown --> Fumble Recovery (Opponent) Touchdown
- Punt Touchdown ~ Punt Return Touchdown.
-
Update
rush_vec
andpass_vec
regex definitions to be more precise on pulling rushing plays. -
Update definition of play_type definition for cleaning "Fumble Recovery (Opponent)" play types to actually distinguish between touchdowns and non-scoring opponent fumble recoveries (prior definition was combining the touchdowns into the non-scoring play type)
-
Reduce the reach of the non-explicit rushing/passing touchdowns to be more careful about merging labels.
-
Similarly, separated punt touchdowns into a specific type of offensive score where the punting team recovers a fumble and scores, all other
punt touchdowns
prior to this were punt return touchdowns. There is a specific Jalen Reagor (TCU) play where he pulls a Greg Reid and fumbles on the punt return only to recover the fumble and run it in for a 73 yard TD that is explicitly fixed. -
Add the following columns:
- kickoff_onside
- kickoff_fair_catch
- kickoff_downed
- punt_fair_catch
- punt_downed
- sack
- int
- int_td
- completion
- pass_attempt
- target
- pass_td
- rush_td
- safety
-
add some return skeleton docs
-
add column
drive_start_yardline
to the remove cols -
add parsing for kickoff safeties accounting for sign change
- Added Jared Lee's animated win probability plot vignette to the package documentation page
- Contains important
add_player_cols()
function useful to parse existing play-by-play datasets and pull passer/rusher/receiver/etc. player names.
- Contains important
- Added Michael Egle's 4th down tendency plot vignette to the package documentation page
- Fix conference parameters to match API (moved to abbreviation format).
- Fix downs turnovers and several other discrepancies in EPA computations.
- Fix majority of issues with win probability added.
- Remove the
add_betting_columns()
function and the current betting win probability model from thecfb_pbp_data()
function. - Added
cfb_ratings_fpi()
function from @sabinanalytics's fork of the repository - Added the
cfb_metrics_espn_wp()
function, courtesy of @mrcaseb - Add tests for a majority of the functions. This is the biggest behind the scenes change that will translate to more reliable functions.
- Rename several function outputs from camelCase to under_score for consistency. Please adjust your scripts accordingly, apologies for the inconvenience.
- Remove
drives
parameter fromcfb_pbp_data()
function. For accessing drives information, please switch to thecfb_drives()
function. - For more complete summary of changes, see Pull Request
- bug fixes
Prep for CRAN(uh huh, sure you did, buddy)- Full coverage of end-points from CFB Data
- More parameter options for end points
- Bug fixes on some functions
- Bug fix on pbp function
- Separate Recruiting Functions (Separate function for position groups)
- Clean up Ranking function to properly return a value
- Create Venue Function
Fixes include:
- Ability to scrape 2015 (fix down issues on Kickoffs)
- Fix punt yard line @ end of play
- Proper turnover play indication
- Clarity on penalties.
This was a big update!
- New and Improved EP/WP models.
- CV-LOSO for EP/WP models
- Fix the
log_yards_to_goal
to be the correct variable - More consistent data from API
- Timeout data available
- Better post play identification structure
Some small fixes here and there
Initial release of cfbscrapR
with EPA/WPA models