yaobviously / NBADFS

Daily Fantasy Basketball workflow utilizing a Quantile Regression Forest to project Nth percentile outcomes for Fantasy Points
2 stars 0 forks source link

Where to get the data from? #1

Open LePetitNewbie opened 2 years ago

LePetitNewbie commented 2 years ago

Hi Jason This looks great. I do not have any coding skills and was wondering if you have a script to get the "nba_2021_boxscores.csv" or point me on how to get it. Hope that's okay.

Thanks Ol

yaobviously commented 2 years ago

Hi,

The .csv files I was using were created from the NBAstuffer.com datasets, both historical and in-season. See here:

https://www.nbastuffer.com/sports-data/

I probably do have the specific file stored locally but I was (i think you can see) updating it daily so the rolling statistics were current. You'd need the in-season datasets from NBAStuffer to use the script as-is. You can get this data for free from NBA.com using the nba_api package https://github.com/swar/nba_api if you want to practice some coding.

The simplest projection system that works pretty well is using a rolling window of about 15-20 games worth of data (rolling sum fantasy points / rolling sum minutes for a rolling window of Fantasy Points Per Minute) and using ~3 games of minutes played (adjusting for Starter/Not Starter) and just multiplying those two numbers. It is hard to beat. Many public projection systems are worse than this method.

Jason

On Tue., Nov. 23, 2021, 7:16 a.m. LePetitNewbie, @.***> wrote:

Hi Jason This looks great. I do not have any coding skills and was wondering if you have a script to get the "nba_2021_boxscores.csv" or point me on how to get it. Hope that's okay.

Thanks Ol

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yaobviously/NBADFS/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5BSNGMCD25SZLWBKOYPGLUNOAZ3ANCNFSM5ITLNZTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

LePetitNewbie commented 2 years ago

HI Mate Thanks for your reply. You did answer my query. I know where to get the dataset. I haven't any coding skills .. I'm trying to improve my DFS skills as well. I will have to learn to code as I realise there is so much you can do with it. Thanks also for providing the projection system.

Ol