Earlier quoted context omitted.
Python or Ruby is fine...the main trick is to be able to process those fields with regular expressions...which, IIRC, requires throwing in VBscript if you were to handle it solely in Excel. Python and Ruby would also allow for more elegant-looking -- i.e. more maintainable -- functions to handle that field.
R is fine too: it has regular expressions and probably excels if you plan to do statistics using all of that data. Python seems to have reasonable statistics functionality as well (with pandas, etc) but I haven't used it personally.
Every NFL play for the past 10 years in CSV format
101–105 of 105 posts
Thanks for the note. I've not really looked into how one would do that with R (doing it in Python seems more clear), but am checking it out now. If anyone else is looking I'm finding this PDF helpful: http://biostat.mc.vanderbilt.edu/wiki/pub/Main/SvetlanaEdenR...
Re: Every NFL play for the past 10 years in CSV format
#102There's an interface into this sort of play-by-play data (since 2000) at http://pro-football-reference.com/play-index/play_finder.cgi -- lets you do queries on down/distance/position on field/score differential, all that sort of stuff.
Re: Every NFL play for the past 10 years in CSV format
#103Amazing!!! Thanks to www.advancednflstats.com for doing all the leg-work. Highly recommend their site too. Their in-game win probability statistics are always a must-have for me on game-day ^_^
I really like his 4th Down analysis: http://www.advancednflstats.com/2009/09/4th-down-study-part-... The tl;dr version can be found at: http://www.advancednflstats.com/2010/05/4th-down-briefs.html The conclusion is that teams should go for it on 4th down much more often than they currently do. He also has a calculator where you can get the exact values: http://wp.advancednflstats.com/4thdncalc1.php
Could just be my imagination, but I felt like this season I saw many more teams go for it on 4th down (maybe some of this data can prove or disprove that?). Perhaps the impact of the above, or similar, analyses is finally being seen.
Re: Every NFL play for the past 10 years in CSV format
#104What ... no NHL? Oh ya.