Skip to content
New issue

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

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

Already on GitHub? # to your account

In 2020_01_TB_NO, the Muffed KO is Treated as a Possession/Drive and a Red Zone Drive #217

Closed
JoeMarino2021 opened this issue Mar 11, 2021 · 3 comments · Fixed by #222
Closed

Comments

@JoeMarino2021
Copy link

In 2020_01_TB_NO, the following fourth quarter play (PID = 3509?) is treated as a possession/drive and a red zone drive for TB.

6-T.Morstead kicks 33 yards from 50 to TB 17. 32-M.Edwards MUFFS catch, RECOVERED by NO-16-B.Fowler at TB 18. 16-B.Fowler to TB 18 for no gain (17-J.Watson).

If the desire is to match up with official accounts, then NO is credited with two consecutive drives/possessions here (NO and TB each officially have 13 drives for the game, so 26 total drives in the game). Depending on your analysis, it is possible that counting this as a TB "drive" may be more accurate. My personal preference would be to not increment the drive counter here.

What is probably not desired by nflfastR or any analyst's purpose, however, is the setting of the red zone flag (drive_inside20) on this pseudodrive to 1. TB certainly did not advance the ball into the red zone on this possession. That flag variable should be 0 here.

Thanks for the great tool, and thanks for reading this report. Have an incredible day!

@guga31bb guga31bb linked a pull request Mar 15, 2021 that will close this issue
@JoeMarino2021
Copy link
Author

JoeMarino2021 commented Mar 15, 2021

So, let me get this straight so I know how to code it on my end. For the following play:

play_id | game_id | yards_gained | fixed_drive | posteam | play_type | extra_point_attempt | desc
3509 | 2020_01_TB_NO | 0 | 21 | TB | kickoff | 0 | 6-T.Morstead kicks 33 yards from 50 to TB 17. 32-M.Edwards MUFFS catch, RECOVERED by NO-16-B.Fowler at TB 18. 16-B.Fowler to TB 18 for no gain (17-J.Watson).

The posteam will remain TB, but the fixed_drive will not increment to 21? So, the total drives in the game will be 26? Two teams will be shown as the posteam for drive 20?

ETA: Will the red zone flag be set or not set?

@guga31bb
Copy link
Member

fixed_drive will increment to 21 once we fix it and there will be 26 drives

Two teams will be shown as the posteam for drive 20?

For drive 21, yes. I typically deal with this by throwing away plays with NA down when counting drives by team

@JoeMarino2021
Copy link
Author

JoeMarino2021 commented Mar 15, 2021

This becomes the start of drive 21 for NO, with the first play listed as belonging to TB? So, the drive 22, which belonged to NO entirely will now be drive 21, shared with TB?

I typically deal with this by throwing away plays with NA down when counting drives by team

ETA: But a single play drive of a kickoff return would be a drive, but have a NA for the down.

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

Successfully merging a pull request may close this issue.

2 participants