Skip to content

nflfastR 4.2.0

Compare
Choose a tag to compare
@mrcaseb mrcaseb released this 03 Aug 17:10
1f6c39d
  • All wpa variables are NA on end game line
  • All wp variables are 0, 0.5, 1, or NA on end game line
  • Fix bug where win prob on PATs assumed a PAT placed at 15 yard line, even in older seasons
  • The function decode_player_ids() now really decodes the new variable fantasy_id (#229)
  • Fixed a bug that caused slightly differing wp values depending on the first game in the data set (#183)
  • Edited GitHub references to point to nflverse
  • Added the variables sack_yards, sack_fumbles, rushing_fumbles and receiving_fumbles to the output of the function calculate_player_stats(), thanks to Mike Filicicchia (@TheMathNinja). (#239)
  • Fixed a bug where calculate_player_stats() falsely counted lost fumbles on aborted snaps (#238)
  • Added the variable season_type to the output of calculate_player_stats() and load_player_stats() in preparation of the extended Regular Season starting in 2021 (#240)
  • Updated season_type definitions in preparation of the extended Regular Season starting in 2021 (#242)
  • Fix for fixed_drive where it wasn't incrementing when there was a muffed punt followed by timeout (#244)
  • Fix for fixed_drive where it wasn't incrementing following an interception with the intercepting player then losing a fumble (#247)
  • Fix for more issues with missing play info in 2018_01_ATL_PHI (#246)
  • Added the variables safety_player_name and safety_player_id to the play-by-play data (#252)
  • Dropped the dependency usethis