The four defensive penalties that hand an offense a new set of downs it did not earn: pass interference, roughing the passer, defensive holding, and illegal contact. Counted per 100 dropbacks so teams that throw more are not flattered.
penalty = 1 AND penalty_team = defteam AND penalty_type IN ( 'Defensive Pass Interference', 'Roughing the Passer', 'Defensive Holding', 'Illegal Contact' )These are the objections I already know about. If you have a better one, or you think a different threshold tells a truer story, say so and I will re-run it with your numbers and publish what comes back.
Version 1. Older versions are never deleted, so a piece that citesbailout_flag@v1 stays reproducible after this definition is revised. Source: Data: nflverse (nflfastR), CC-BY 4.0