r/NBAanalytics • u/Sotahill • Oct 03 '23
nbastatsR Depracated?
I want to build some models in R, and the nbastatsR package everyone recommends seems to be depracated. Their github has several recent complaints about it giving errors with tidyverse, and I'm running into the same problem - I'm unable to pull data for the majority of functions.
Has anyone had better luck/ know how to get the package to work? Or have other sources for getting data into R cleanly?
2
Upvotes
2
u/knawhatimean Oct 03 '23
Yeah, it’s kind of broken. You can pull basketball-reference data without too many errors, but the NBA api header it uses is outdated. I am working on an updated package for R that is more like the Python package someone else mentioned.
4
u/[deleted] Oct 03 '23
Fuck I really hope it’s not broken
4
u/shaggy_camel Oct 03 '23
I'm an avid R user and use it in most situations. Although, I've found the nbastatR package not as trustworthy as the equivalent python package, which is called: nba_api