Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am cjmabry on github.
  • I am chrismabry (https://keybase.io/chrismabry) on keybase.
  • I have a public key ASCHN2msEA48LSyCh8wWhiiQx1CkRoNEJB-ZHtV3s7G2bwo

To claim this, I am signing this object:

@cjmabry
cjmabry / qb_pass_analysis_example.py
Last active September 28, 2015 19:35
Parse NFL play-by-play data for pass attempts by distance and side of field using the nflgame API.
import nflgame
"""Parse NFL play-by-play data for pass attempts by distance and side of field using the nflgame API.
"""
team_name = 'TEN'
year = 2015
kind = 'REG'
games = nflgame.games(year=year, kind=kind, home=team_name, away=team_name)