Skip to contents

Main Functions

build_nflfastR_pbp()
Build a Complete nflfastR Data Set
load_pbp()
Load Play By Play
update_db()
Update or Create a nflfastR Play-by-Play Database
fast_scraper_roster()
Get team rosters for multiple seasons
fast_scraper_schedules()
Get NFL Season Schedules
load_player_stats()
Load Player Level Weekly Stats

Utility Functions

calculate_expected_points()
Compute expected points
calculate_win_probability()
Compute win probability
calculate_player_stats()
Get Official Game Stats
report()
Get a Situation Report on System, nflverse Package Versions and Dependencies

Documentation

nflfastR-package
nflfastR: Functions to Efficiently Access NFL Play by Play Data
teams_colors_logos
NFL Team names, colors and logo urls.
field_descriptions
nflfastR Field Descriptions
stat_ids
NFL Stat IDs and their Meanings

Lower Level Functions

These functions are wrapped in the above listed main functions and typically not used by the enduser.

fast_scraper()
Get NFL Play by Play Data
add_qb_epa()
Compute QB epa
add_xpass()
Add expected pass columns
add_xyac()
Add expected yards after completion (xyac) variables
clean_pbp()
Clean Play by Play Data
decode_player_ids()
Decode the player IDs in nflfastR play-by-play data