Skip to contents

Functions

Functions available in nuclearff

Play-by-Play Stats

get_pbp_data()
Obtain Play-by-Play Data for Specified Time Frame
get_qb_pbp_stats()
QB Stats from NFL Play-by-Play Data
get_rb_pbp_stats()
RB Stats from NFL Play-by-Play Data
get_wr_pbp_stats()
WR Stats from NFL Play-by-Play Data
get_te_pbp_stats()
TE Stats from NFL Play-by-Play Data

Calculate Fantasy Points

calc_fpts()
Calculate Fantasy Points
calc_fpts_common_formats()
Calculate Fantasy Points for Common Scoring Formats
calc_fpts_ppg_common_formats()
Calculate Fantasy Points Per Game for Common Scoring Formats

NFL Next Gen Stats (NGS)

get_qb_ngs_advstats_season()
QB Cumulative Season NFL Next Gen Stats (NGS)
get_rb_ngs_advstats_season()
RB Cumulative Season NFL Next Gen Stats (NGS)
get_wr_ngs_advstats_season()
WR Cumulative Season NFL Next Gen Stats (NGS)
get_te_ngs_advstats_season()
TE Cumulative Season NFL Next Gen Stats (NGS)

Pro Football Reference (PFR) Stats

get_qb_pfr_advstats_season()
QB Advanced Season Stats from Pro Football Reference (PFR)
get_rb_pfr_advstats_season()
RB Advanced Season Stats from Pro Football Reference (PFR)
get_wr_pfr_advstats_season()
WR Advanced Season Stats from Pro Football Reference (PFR)
get_te_pfr_advstats_season()
TE Advanced Season Stats from Pro Football Reference (PFR)

Combined Stats from All Sources

get_qb_combined_stats_season()
QB Cumulative Season Advanced Stats
get_rb_combined_stats_season()
RB Cumulative Season Advanced Stats
get_wr_combined_stats_season()
WR Cumulative Season Advanced Stats
get_te_combined_stats_season()
TE Cumulative Season Advanced Stats

Generate Tables/Figures

table_ovr_qb_fantasy()
QB Overall Fantasy Football Standings Table
table_ovr_rb_fantasy()
RB Overall Fantasy Football Standings Table
table_ovr_wr_fantasy()
WR Overall Fantasy Football Standings Table
table_ovr_te_fantasy()
TE Overall Fantasy Football Standings Table
get_scoring_columns()
Helper Function - Get Scoring Columns
get_scoring_format()
Helper Function - Get Scoring Format
save_gt_table()
Helper Function - Save Table

Additional Utilities

get_player_data()
Player Identification Data
get_snap_share()
Player Snap Share

Helper Functions

load_data_from_db()
Helper - Load Play-by-Play Data from Database
load_data_from_nflreadr()
Helper - Load Play-by-Play Data from nflreadr
replace_player_names()
Helper - Cleanup Player Names
replace_team_names()
Helper - Cleanup Team Abbreviations
validate_pbp_db()
Helper - Validate Play-by-Play Database Path and Table Arguments
validate_pbp_season()
Helper - Validate Play-by-Play Data Seasons
validate_pbp_weeks()
Helper - Validate Arguments for Weeks
validate_ngs_season()
Helper - Validate NFL Next Gen Stats (NGS) Data Seasons
validate_pfr_season()
Helper - Validate Pro Football Reference (PFR) Advanced Stats Seasons