Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guga31bb committed Jun 14, 2024
1 parent ee4499a commit 0aff697
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions data-raw/build_scramble_fix.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ dat <- bind_rows(
select(-date_time) %>%
mutate_at(vars(home_team, away_team, posteam), nflfastR:::team_name_fn)

# 1999: need to join on yards_gained ?

d <- dat %>%
dplyr::left_join(
pbp,
Expand All @@ -60,8 +58,6 @@ d <- dat %>%
mutate(scramble_id = paste0(game_id, "_", play_id)) %>%
filter(scramble_id != "2005_09_CIN_BAL_1725")



# number non-matched by season
nrow(d)
d |> filter(is.na(desc)) |> group_by(season) |> summarise(n = n())
Expand Down

0 comments on commit 0aff697

Please sign in to comment.