Site to track per 36 and a few advanced stats

Moderators: UOducksTK1, Zyme, lukeyrid13, Oregon Ownage

User avatar
duckyoubeavers
Sophomore
Posts: 1631
Joined: Fri Jan 24, 2014 12:35 am
GM: Toronto Raptors GM

Site to track per 36 and a few advanced stats

Post by duckyoubeavers »

https://daslstats.herokuapp.com

I put up a site to track per 36 stats and a few advanced stats that i could calculate. I want to add a few more pages on here in the next couple days but wanted to get this out now

if anyone would like to see anything else on here i will try to put it in.
Raptors GM
User avatar
offtheheezy
Senior
Posts: 2151
Joined: Fri Jul 04, 2014 10:09 pm
GM: Vancouver Grizzlies

Re: Site to track per 36 and a few advanced stats

Post by offtheheezy »

wow this is incredible! thanks a lot for sharing :)
User avatar
offtheheezy
Senior
Posts: 2151
Joined: Fri Jul 04, 2014 10:09 pm
GM: Vancouver Grizzlies

Re: Site to track per 36 and a few advanced stats

Post by offtheheezy »

does this pull live everytime? or does it just have players who's ever been on your squad?
User avatar
duckyoubeavers
Sophomore
Posts: 1631
Joined: Fri Jan 24, 2014 12:35 am
GM: Toronto Raptors GM

Re: Site to track per 36 and a few advanced stats

Post by duckyoubeavers »

offtheheezy wrote:does this pull live everytime? or does it just have players who's ever been on your squad?
it just gets players who have played for you this season. and i will grab the new stats after every sim
Raptors GM
User avatar
offtheheezy
Senior
Posts: 2151
Joined: Fri Jul 04, 2014 10:09 pm
GM: Vancouver Grizzlies

Re: Site to track per 36 and a few advanced stats

Post by offtheheezy »

duckyoubeavers wrote:
offtheheezy wrote:does this pull live everytime? or does it just have players who's ever been on your squad?
it just gets players who have played for you this season. and i will grab the new stats after every sim
How do you grab usage and possessions and such? I can't even find it in our index :lol:
User avatar
dd10snoop28
Senior
Posts: 4821
Joined: Sat Jan 10, 2009 12:06 am
GM: New Jersey Nets GM
Location: Portland, Oregon

Re: Site to track per 36 and a few advanced stats

Post by dd10snoop28 »

Snazy!
Image
User avatar
duckyoubeavers
Sophomore
Posts: 1631
Joined: Fri Jan 24, 2014 12:35 am
GM: Toronto Raptors GM

Re: Site to track per 36 and a few advanced stats

Post by duckyoubeavers »

offtheheezy wrote:
duckyoubeavers wrote:
offtheheezy wrote:does this pull live everytime? or does it just have players who's ever been on your squad?
it just gets players who have played for you this season. and i will grab the new stats after every sim
How do you grab usage and possessions and such? I can't even find it in our index :lol:
had to do that myself.

this is the usage formula: Usg% - Usage Percentage (available since the 1977-78 season in the NBA); the formula is 100 * ((FGA + 0.44 * FTA + TOV) * (Tm MP / 5)) / (MP * (Tm FGA + 0.44 * Tm FTA + Tm TOV)). Usage percentage is an estimate of the percentage of team plays used by a player while he was on the floor.

this is the possessions formula: Possessions= FGA-(FGA-FG)*OR%+0.37*AST-0.37*FG*Q/R+TO+0.4*FTA . For offensive rebound percentage i just used 37% which seemed to be the nba average. so these stats may be slightly off. source: http://www.rawbw.com/~deano/hoopla/floorpct.html
Raptors GM
User avatar
Foxyg1396
Five Star Recruit
Posts: 1041
Joined: Sat Nov 21, 2020 2:27 pm
GM: Denver Nuggets

Re: Site to track per 36 and a few advanced stats

Post by Foxyg1396 »

That’s a great addition! Thank you!
User avatar
UOducksTK1
Site Admin
Site Admin
Posts: 37789
Joined: Thu Jan 08, 2009 11:28 pm
GM: Boston Celtics GM
Location: Portland, Oregon

Re: Site to track per 36 and a few advanced stats

Post by UOducksTK1 »

It'd be dope if you could read real time. How are you parsing the html pages? Do you have code for that?

Do Not Fear. Isaiah 41:13
User avatar
offtheheezy
Senior
Posts: 2151
Joined: Fri Jul 04, 2014 10:09 pm
GM: Vancouver Grizzlies

Re: Site to track per 36 and a few advanced stats

Post by offtheheezy »

@The Bean Regime's spreadsheet and this website and a few more tweaks on the backend would make this an advanced analytics tool for DASL :lol:
User avatar
The Bean Regime
Senior
Posts: 2644
Joined: Sat Jun 10, 2017 5:57 pm
GM: Minnesota Timberwolves GM

Re: Site to track per 36 and a few advanced stats

Post by The Bean Regime »

offtheheezy wrote:@The Bean Regime's spreadsheet and this website and a few more tweaks on the backend would make this an advanced analytics tool for DASL :lol:
My per 36 was just a copy and paste with formulas in Excel.

Unless you mean the other secret one. Shhh. :lol:
User avatar
duckyoubeavers
Sophomore
Posts: 1631
Joined: Fri Jan 24, 2014 12:35 am
GM: Toronto Raptors GM

Re: Site to track per 36 and a few advanced stats

Post by duckyoubeavers »

UOducksTK1 wrote:It'd be dope if you could read real time. How are you parsing the html pages? Do you have code for that?
yea i just scrape every box score with python. what do you mean by real time? just having it get the stats automatically after the sim is posted?
Raptors GM
User avatar
UOducksTK1
Site Admin
Site Admin
Posts: 37789
Joined: Thu Jan 08, 2009 11:28 pm
GM: Boston Celtics GM
Location: Portland, Oregon

Re: Site to track per 36 and a few advanced stats

Post by UOducksTK1 »

duckyoubeavers wrote:
UOducksTK1 wrote:It'd be dope if you could read real time. How are you parsing the html pages? Do you have code for that?
yea i just scrape every box score with python. what do you mean by real time? just having it get the stats automatically after the sim is posted?

Ohhh nvm, I thought you got a hold of the play by play files some how, so I was wondering if your scripts automatically picked up when new pbp files got added.

What is the web app written in? I’m working on getting a web app up for a draft central area for picking players, making it easier on commish and improving usability for GMs.

It’s newer stuff for me so it’s slow going.

Do Not Fear. Isaiah 41:13
User avatar
offtheheezy
Senior
Posts: 2151
Joined: Fri Jul 04, 2014 10:09 pm
GM: Vancouver Grizzlies

Re: Site to track per 36 and a few advanced stats

Post by offtheheezy »

Seems like we got quite a few engineers on here :lol:

We should all start a github project together :lol:
User avatar
duckyoubeavers
Sophomore
Posts: 1631
Joined: Fri Jan 24, 2014 12:35 am
GM: Toronto Raptors GM

Re: Site to track per 36 and a few advanced stats

Post by duckyoubeavers »

UOducksTK1 wrote:
duckyoubeavers wrote:
UOducksTK1 wrote:It'd be dope if you could read real time. How are you parsing the html pages? Do you have code for that?
yea i just scrape every box score with python. what do you mean by real time? just having it get the stats automatically after the sim is posted?

Ohhh nvm, I thought you got a hold of the play by play files some how, so I was wondering if your scripts automatically picked up when new pbp files got added.

What is the web app written in? I’m working on getting a web app up for a draft central area for picking players, making it easier on commish and improving usability for GMs.

It’s newer stuff for me so it’s slow going.
i would love the play by play files if they are available.

i wrote this in python using the dash library. you can find that here: https://dash.plotly.com/introduction

dash makes it super easy to create web apps if you already know python. lemme know if you need any help!
Raptors GM
Post Reply