
nflfastR
192 posts

nflfastR
@nflfastR
A set of functions to efficiently access NFL play-by-play and roster data from Sebastian Carl (@mrcaseb) and Ben Baldwin (@benbbaldwin).





Last year, I started replacing the NFL standings calculation in @nflseedR with high efficient code in data.table. The implementation of tiebreakers has caused a few headaches and my plan was actually to write the season simulation in data.table as well, but the development came to a stagnation. That's why I decided to merge the standings code into the nflseedR dev branch today. It is designed to manage thousands of seasons with one call. The performance boost is brutal! Calculating standings (incl. all tiebreakers) of 10k seasons used to take almost 3 minutes on my laptop. Now, it's less than 30 seconds! data.table rewrite of the season simulation has no eta, but it will come. Check out the new standings function here nflseedr.com/reference/nfl_…






Update on the nflfastR pbp data: It's up and running, so that's good news. However, at the moment it looks like some things have changed in the underlying data that break some of our logic. 1/2








