Open samhoppen opened 4 years ago
Hi there!
I had the same issue and started to investigate what could be the problem.
I'm a noob in R, but I believe that error is raised while getting the birthdates of players. I think there could be a problem while retrieving the nodes with rvest.
If you see the player_ids, you'll see you have the exact same problem but due to not using that data again, the error is not raised:
@ryurko @dutta hope you can get something there!
Update:
It's not the retrieving but an NFL problem with some missing GSIS IDs out there. Here's an example with Jalan McClendon (missing) and Cam Newton (how it should be).
I guess the solution is skipping those players or giving them a default value...
I've been trying to upload the rosters but keep running into the same issues. Below is the code I've been using:
I skipped the preseason as I'm only looking at the regular season data, but I've run this before without experiencing any issues. Here's the error I keep getting:
Any thoughts on how to resolve? Not sure if there's a package I'm missing or other code that's blocking this from working, but I've started new projects with just this code and still run into the issue. Let me know. Thanks!