Skip to content

Releases: nflverse/nflfastR

nflfastR 3.2.0

20 Nov 15:55
8ae4309
Compare
Choose a tag to compare

Models

  • Performance update for win probability model with point spread (vegas_wp)
  • Added yardline_100 as an input to both win probability models (not having it included was an oversight)

Minor improvements and fixes

  • Fixed a bug where series was increased on PATs
  • Fixed a bug affecting the week 10 Raiders-Broncos game
  • Added the column team_wordmark - which contains URLs to the team's wordmarks - to the included data frame ?teams_colors_logos

nflfastR 3.1.1

22 Oct 17:09
518f9e8
Compare
Choose a tag to compare

New features

Database Function update_db()

  • The argument force_rebuild of the function update_db() is now of hybrid
    type. It can rebuild the play by play data table either for the whole nflfastR
    era (with force_rebuild = TRUE) or just for specified seasons
    (e.g. force_rebuild = 2019:2020).
    The latter is intended to be used for running seasons because the NFL fixes bugs
    in the play by play data during the week and we recommend to rebuild the current
    season every Thursday.
  • Fixed a bug where update_db() disconnected the connection to a database provided
    by the argument db_connection (#102)
  • Fixed a bug where update_db() didn't build a fresh database without providing
    the argument force_rebuild
  • update_db() no longer removes the complete data table when a numeric argument
    force_rebuild is passed but only removes the rows within the table (#109)

New Functions

  • Added the new function build_nflfastR_pbp(), a convenient wrapper around
    multiple nflfastR functions for an easy creation of the nflfastR play-by-play data set
  • Added a function that applies our experimental expected pass model, add_xpass(),
    that creates columns xpass and pass_oe

Minor improvements and fixes

  • More fixes for fixed_drive which was not incrementing properly on drives
    that began following a timeout
  • Fixed more bugs in EPA and win probability on PATs and kickoffs with penalties
  • Fixed a bug where scoring probabilities weren't adding to 1 on field goal
    attempts near the end of a half
  • Messages to the user are now created with the new dependency usethis
  • Fixed bug where plays with "backward pass" in play description were counted as
    pass plays (pass = 1)
  • Fixed missing kick distance on touchbacks and blocked punts (#53)
  • Added the option fast (either TRUE or FALSE) to the function
    decode_player_ids() to activate the high efficient C++ decoder of the package
    gsisdecoder

nflfastR 3.0.0

25 Sep 06:50
45121b7
Compare
Choose a tag to compare

New functions, new features, bugfixes and minor improvements.
Please see NEWS.md or the changelog on the website for further information.

New variables, bugfixes and minor improvements

01 Sep 12:57
Compare
Choose a tag to compare

Please see NEWS.md or the changelog on the website for further information.

Minor bugfixes

10 Aug 19:38
Compare
Choose a tag to compare

Please see NEWS.md or the changelog on the website for further information.

New xyac variables and bugfixes

10 Aug 13:12
Compare
Choose a tag to compare

Please see NEWS.md or the changelog on the website for further information.

Fix series success bug caused by bad NFL data

29 Jul 07:38
Compare
Choose a tag to compare

Please see NEWS.md or the changelog on the website for further information.

New variables and minor improvements

25 Jul 19:25
Compare
Choose a tag to compare

Please see NEWS.md or the changelog on the website for further information.

Standardize player IDs and team names and fix some bugs

10 Jul 18:35
Compare
Choose a tag to compare

Please see NEWS.md or the changelog on the website for further information.

Model update, new functions and bug fixes

03 Jul 16:15
Compare
Choose a tag to compare

Please see NEWS.md or the changelog on the website for further information.