nflverse/nflverse-data

[BUG] missing value for `air_yards` and `yards_after_catch`

Opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Have you installed the latest development version of the package(s) in question?

  • I have installed the latest development version of the package.

If this is a data issue, have you tried clearing your nflverse cache?

I have cleared my nflverse cache and the issue persists.

What version of the package do you have?

nflfastR 4.6.0

Describe the bug

play 1558 of 2021_02_NO_CAR; play 2072 of 2021_12_ATL_JAX and play 1644 of 2022_04_MIN_NO.
those 3 plays have NA for air_yards and yards_after_catch.

Reprex

pass_d<-pbp%>%
  filter(season>=2018, season<=2022, week>=1, week<=99, 
         complete_pass==1, !is.na(receiving_yards)) %>%	 
  filter(is.na(air_yards) %>%
  select(play_id, game_id,season, week, qtr, time, team = posteam, desc, play_type, 
         yrdln, 
         yardline_100,passing_yards,receiving_yards,air_yards,yards_after_catch,
         yards_gained, penalty, 
         return_touchdown, touchdown, player_id = passer_player_id,
         receiver_player_id) %>%
  collect()

Expected Behavior

for compele_pass, air_yards and yards_after_catch should not be NA.

nflverse_sitrep

NA

Screenshots

No response

Additional context

No response