Find NHL Players with 30 Goals and 100 PIM using R

Last week Jack Edwards raised the fact that Milan Lucic was the first Bruin player to join the 30 Goal / 100 Penalty Minute club in a few years.  It got me thinking about the other players who have accomplished this feat and wanted to hack up some data using R.  The code below grabs the necessary data and generates a very basic analysis of all skaters since 1960.

It appears that this type of player was more prevalent during the 80′s and has declined in recent years.  If you are skilled with R, I apologize for the sloppy code.  As always, if you grabbing data from external websites, please save your data and be kind servers when scraping large volumes of data.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>