Data on NFL penalties from 2009-2019 (as found on nflpenalties.com).
There are two separate data files, both excel workbooks, data from 2009-2019 (located in the data folder).
by_team_group.xlsx: penalties per phase of the game (Offense/Defense/Special Teams), per team, per year. Each sheet contains a different year.
Total/Off/Def/ST Ct - number of penaltiesTotal/Off/Def/ST Yds - penalty yardageOff/Def/ST Presnap - number of penalties pre-snapby_penalty.xlsx: data on 39 specific penalties, per team, per year. Each sheet contains a different penalty. Data for β09-β19 is stacked in each sheet.
Games - num games played (includes post season)Count - total num penalties committedYards Lost - true yards lostDismissed - num penalties dismissed by opponentHome - num penalties homeAway - num penalties awayPenalty_Outcome - yardage penalty (see nuances below)Yeardefensive-pass-interference,illegal-touch-kick,intentional-grounding,illegal-use-of-hands,fair-catch-interference,illegal-blindside-block,clipping,low-block,unnecessary-roughness,roughing-the-passer,face-mask-15-yards,unsportsmanlike-conduct,taunting,horse-collar-tackle,chop-block,disqualification,roughing-the-kicker,offensive-holding,illegal-block-above-the-waist,offensive-pass-interference,tripping,illegal-forward-pass,illegal-touch-pass,defensive-delay-of-game,false-start,defensive-holding,defensive-offside,neutral-zone-infraction,delay-of-game,illegal-formation,illegal-shift,encroachment,illegal-contact,ineligible-downfield-pass,offside-on-free-kick,illegal-motion,illegal-substitution,ineligible-downfield-kick,running-into-the-kickerPenalty_Outcome for a few penalties were purposely populated with odd values, as follows
defensive-pass-interference &illegal-touch-kick.Penalty_Outcome = 111intentional-grounding & illegal-use-of-hands.Penalty_Outcome = 999wins_per_year.xlsx: wins, loses, and draws per team, per season