wernerandrew / nflparser Goto Github PK
View Code? Open in Web Editor NEWPython functions and classes to parse publicly available play-by-play data.
Python functions and classes to parse publicly available play-by-play data.
nflparser Routines for parsing and analyzing NFL games. Copyright (c) 2013 Andrew Werner Free for public use so long as you give me some sort of credit, or at least some notice, however obliquely or back-handedly. ------------------------------------------------------------ This package includes a set of classes that should be of some use in interpreting NFL play-by-play data. This data can be found for free since the year 2002 at the Advanced NFL Stats website: http://www.advancednflstats.com/2010/04/play-by-play-data.html The following classes work well with the raw files. --> the GameFactory class will take a file and return an iterable of games --> the PlayMaker class will take a row and return a play having relevant information, including information from the description. --> the parse_play and parse_plays routines parse the contents of the 'description' column into a series of 'segments' that can be aggregated to provide useful information about persons involved with the play or otherwise interesting surrounding circumstances. This framework differs from other framework in the level of detail it provides in regards to the 'description' column. Compared with simpler techniques based on token recognition and regular expression parsing, it is capable of recognizing complex play outcomes, such as successful and unsuccessful challenges, turnovers (and the outcome of the return), penalties (including offsetting or superseded penalties), and other exotic situations such as laterals. Most of the action will occur with developing interesting PlayMaker classes that deal constructively with the output of the parse_play routine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.