Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] missing value for air_yards and yards_after_catch #36

Open
2 tasks done
ak47twq opened this issue Dec 20, 2023 · 0 comments
Open
2 tasks done

[BUG] missing value for air_yards and yards_after_catch #36

ak47twq opened this issue Dec 20, 2023 · 0 comments

Comments

@ak47twq
Copy link

ak47twq commented Dec 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant