Find NHL Players with 30 Goals and 100 PIM using R

[This article was first published on Data Twirling » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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.

 

To leave a comment for the author, please follow the link and comment on their blog: Data Twirling » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)