sportsdataverse / hoopR

An R package to quickly obtain clean and tidy men's basketball play by play data.
http://hoopr.sportsdataverse.org/
Other
81 stars 18 forks source link

`nba_commonallplayers` no longer gives `BIRTH_DATE` #119

Closed bmacGTPM closed 1 year ago

bmacGTPM commented 1 year ago

Previously nba_commonallplayers would return BIRTH_DATE for each player. Now it doesn't. It might be because the NBA API changed slightly. This site https://www.nba.com/stats/players/bio does not have date of birth (I think it used to, but don't quote me on that).

Individual player pages do have DOB (e.g. https://www.nba.com/stats/player/201935). I tried using nba_leaguedashplayerbiostats but that does not have DOB either. Perhaps it could be added there if it can't be pulled with the bio info?

bmacGTPM commented 1 year ago

Never mind, I was being dumb. DOB is in nba_commonplayerinfo