NuclearAnalyticsLab / nuclearff

NFL Utilities Core Library for Evaluating Analytics in R with Fantasy Football (NUCLEARFF)
MIT License
0 stars 0 forks source link

[BUG] Fantasy Standings Table for TE #14

Closed nolmacdonald closed 3 weeks ago

nolmacdonald commented 3 weeks ago

BUG DESCRIPTION

Fantasy standings table for TEs needs to be fixed. There are a few issues:

STEPS TO REPRODUCE

Run the following code and check the saved .png output.

ovr_te_tbl <- nuclearff::table_ovr_te_fantasy(
  num_players = 16, # Number of players on TE Table
  scoring = "ppr_6pt_td", # Fantasy scoring format
  seasons = 2024, # Season
  pbp_db = "./data/pbp_db", # Path to database stored
  pbp_db_tbl = "nflfastR_pbp", # Name of database table
  file_name = "te_ppg_wk5_top16_ppr_6pt_td.png", # Save as
  output_dir = "output/tables/2024_week_5" # Save to
)

IMPACT

Cannot produce TE tables.

ADDITIONAL