Overview of nflfastR features
masternflfastR is a collection of functions designed to efficiently scrape NFL play-by-play data. Key features include:
- Historical Data: Play-by-play data dating back to 1999.
- Advanced Metrics: Includes completion probability (
cp), completion percentage over expected (cpoe), and expected yards after the catch (xyac_epaandxyac_mean_yardage) for data from 2006 onwards. - Contextual Information: Includes drive information (starting position, result) and series information (series number, success).
- Built-in Models: Provides models for Expected Points (EP), Win Probability (WP), Completion Probability (CP), and Yards After the Catch (YAC).
- Database Management: Includes the
update_db()function to create and update a local database.