Releases: nflverse/nflfastR
Releases · nflverse/nflfastR
nflfastR 3.2.0
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
New features
Database Function update_db()
- The argument
force_rebuild
of the functionupdate_db()
is now of hybrid
type. It can rebuild the play by play data table either for the whole nflfastR
era (withforce_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 argumentdb_connection
(#102) - Fixed a bug where
update_db()
didn't build a fresh database without providing
the argumentforce_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 columnsxpass
andpass_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
(eitherTRUE
orFALSE
) to the function
decode_player_ids()
to activate the high efficient C++ decoder of the package
gsisdecoder
nflfastR 3.0.0
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
Please see NEWS.md or the changelog on the website for further information.
Minor bugfixes
Please see NEWS.md or the changelog on the website for further information.
New xyac variables and bugfixes
Please see NEWS.md or the changelog on the website for further information.
Fix series success bug caused by bad NFL data
Please see NEWS.md or the changelog on the website for further information.
New variables and minor improvements
Please see NEWS.md or the changelog on the website for further information.
Standardize player IDs and team names and fix some bugs
Please see NEWS.md or the changelog on the website for further information.
Model update, new functions and bug fixes
Please see NEWS.md or the changelog on the website for further information.