You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the calculation of ep and epa is wrong when there is a change in possession at the end of the quarter. In this instance NO punted the ball to CAR at the end of the quarter but the possession team doesn't change until after the END OF QUARTER row which affects the ep and epa.
I think the calculation of ep and epa is wrong when there is a change in possession at the end of the quarter. In this instance NO punted the ball to CAR at the end of the quarter but the possession team doesn't change until after the END OF QUARTER row which affects the ep and epa.
library(tidyverse)
pbp <- readRDS(url(glue::glue("https://raw.githubusercontent.com/guga31bb/nflfastR-data/master/data/play_by_play_2020.rds")))
pbp %>% filter(game_id == '2020_17_NO_CAR', between(play_id, 920, 990)) %>% select(posteam, down, ydstogo, desc, ep, epa) %>% View
The text was updated successfully, but these errors were encountered: