nflfastR

192 posts

nflfastR banner
nflfastR

nflfastR

@nflfastR

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

Katılım Nisan 2020
3 Takip Edilen13.5K Takipçiler
nflfastR
nflfastR@nflfastR·
🚨🚨 UPDATE RELEASED 🚨🚨 nflfastR package 📦 v5.0.0 is now live on CRAN. Updates include -- a completely revamped stats function calculate_stats, -- full support for 2024 pbp data, and -- various bugfixes. #nflfastr-500" target="_blank" rel="nofollow noopener">nflfastr.com/news/index.htm… #nflverse
nflfastR tweet medianflfastR tweet media
English
0
3
41
7.6K
nflfastR
nflfastR@nflfastR·
News if you use nflseedR!
Sebastian@mrcaseb

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_…

English
0
2
31
10.1K
nflfastR
nflfastR@nflfastR·
A happy offseason update: with thanks to @ASchatzNFL and FTN Fantasy (ftnfantasy.com/dvoa/nfl), we now have scrambles marked going back to the 1999 season! This is now reflected in nflfastR/nflreadr
English
0
6
35
29K
nflfastR
nflfastR@nflfastR·
🚨🚨 UPDATE RELEASED 🚨🚨 nflfastR #rstats package 📦v4.6.0 is now live on CRAN. Updates include -- full support for raw play-by-play data from local file systems, -- full support for 2023 pbp data, and -- various bugfixes. nflfastr.com #nflverse
nflfastR tweet medianflfastR tweet media
English
0
8
30
11.5K
nflfastR
nflfastR@nflfastR·
nflfastR users need to update the development version to v4.5.1.9012 with if (!require("pak")) install.packages("pak") pak::pak("nflverse/nflfastR")
English
1
0
6
4.5K
nflfastR
nflfastR@nflfastR·
This year's data had three major problems: 1. wrong posteam on kick offs 2. wrong posteam on PATs after a defensive td 3. additional timeouts All with a massive effect on downstream variables and models. And all fixed now! nflreadr::load_pbp(2023) will return the fixed data
Sebastian@mrcaseb

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

English
3
5
68
30.1K
nflfastR
nflfastR@nflfastR·
If you depend directly on nflfastR, e.g. because you use update_db(), then please install the current developer version with if (!require("pak")) install.packages("pak") pak::pak("nflverse/nflfastR") Make sure you have installed v4.5.1.9010 !
English
0
1
8
4.4K
nflfastR
nflfastR@nflfastR·
It has almost become a tradition that we face problems in nflfastR the first game of the season. And like every year, we solve the problems quickly! Play-by-play data from the season opener is now available! Preferably run nflreadr::load_pbp(2023) to load the data. Enjoy!
English
3
8
80
22.1K
nflfastR
nflfastR@nflfastR·
Fairly certain that changes to the NFL website will break the package (i.e., not allow it to find games / make anything available) in the short term. One season we will get to have a week 1 with no issues...
English
2
4
50
78.4K
nflfastR
nflfastR@nflfastR·
New data source! Thanks to @FTNNetwork, we now have a public source for play-by-play information for 2022+ on play action, RPO, drops, motion, and a lot more. Data dictionary here: nflreadr.nflverse.com/articles/dicti… To use this, update nflreadr and use nflreadr::load_ftn_charting(2022)
nflfastR tweet media
English
3
26
147
66.9K
nflfastR
nflfastR@nflfastR·
Alright. Should be fixed. Let us know in the discord if anything still looks off
English
1
1
15
0
nflfastR
nflfastR@nflfastR·
Please send all complaints to @ NFL
English
1
1
25
0
nflfastR
nflfastR@nflfastR·
I am very broken again. Don't use me.Will try to get fixed tomorrow. Fingers crossed!
English
3
4
51
0
nflfastR
nflfastR@nflfastR·
Okay, we think all the issues in play-by-play have been ironed out and it should be safe to use. If you find any more issues, please let us know in the discord.
English
2
0
18
0
nflfastR
nflfastR@nflfastR·
PSA: there seem to be a lot of problems with the new data. Use with extreme caution (if at all)
English
2
0
23
0
nflfastR retweetledi
Computer Cowboy
Computer Cowboy@benbbaldwin·
FYI: Looks like the @nflfastR scraper isn't working (NFL re-did their site, maybe?). Will look into it tomorrow but there probably won't be data quite yet
English
6
2
43
0
nflfastR retweetledi
Computer Cowboy
Computer Cowboy@benbbaldwin·
Did some re-writing of the nflfastR Beginner's Guide (TM) to incorporate new packages like nflreadr and nflplotR, the latter which makes some things easier (especially plotting team logos). If you've never tried out R, there's no time like the present! nflfastr.com/articles/begin…
English
7
38
250
0
nflfastR
nflfastR@nflfastR·
📢📢 UPDATE RELEASED ❗ nflfastR #rstats package 📦 v4.4.0 is now live on CRAN. It's a minor update including -- a new function that computes standings including tiebreakers, -- updates to team colors and Washington Commanders, and -- bugfixes. nflfastr.com #nflverse
nflfastR tweet medianflfastR tweet media
English
0
8
25
0
nflfastR retweetledi
Sebastian
Sebastian@mrcaseb·
A popular way to present NFL analyses are faceted plots in #rstats ggplot2. By default NFL team abbreviations are sorted alphabetically by ggplot2. But what if we want to sort by team nickname and/or division (or other variables)? nflplotR can help nflplotr.nflverse.com/reference/nfl_…
Sebastian tweet media
English
0
2
32
0