Closed mrcaseb closed 4 years ago
Correction. I've fixed a bug and can now scrape roster data back to 1920!
Update: I've optimized the function now and at highest speed (no waiting time between scraping teams) the function took 1.39 sec to scrape all 32 rosters of the 2019 season (3111 Players, .txt attached below).
Thanks for letting us know, but please submit a pull request with the code for us to consider including it within the package.
I have developed a function to scrape roster data from http://www.nfl.com/feeds-rs which is compared to the package function highly efficient (few seconds for all teams per season). Data is available back to the 2002 season, includes more information (see column names below) and is joinable with gsisID. Probably the most useful column is the headshot_url.
You can check the data via a temporarily uploaded secret Gist. If you are interested in adding the function to the package or use the code in other ways please contact me here or on Twitter. Otherwise just close the issue and that's it.