Hi,
I'm new comer in APBRmetrics. I used to play basketball when I was younger, and I enjoy this kind of stuff (stats/math & computers). So it was pleasant surprise discover this discipline and this forum.
My idea is to start exploring data importing csv files using R or python.
I've seen team box score stats in http://www.nbastuffer.com/Download_NBA_ ... Excel.html (but I have to pay to get data)
I've seen also data for each team and for some years ago like displayed in:
http://www.basketball-reference.com/tea ... l_per_game
I know that I can convert to csv in the site, but I have to visit url for every team, every season and probably there is some other site where can I get a csv with all data.
Do you have any suggestion?
Thanks in adavance!
Hernán
ps: Exploring yahoo data
http://sports.yahoo.com/nba/stats/bytea ... eason_2010
I don't understand what does "Opposing Team Stats" mean in relation to "Team Stats"?
Team box score stats
Re: Team box score stats
"Opposing Team Stats" compiles what the opposing team stats where against a specific team for a season. You can think of it as that team's defensive results, what they allowed the other team's offense to do against them.
For other data files, look here http://basketballvalue.com/downloads.php and read other threads here.
For other data files, look here http://basketballvalue.com/downloads.php and read other threads here.
Re: Team box score stats
If you know Python I recommend using urllib and possibly BeautifulSoup.
A Python script that grabs all basketball-reference team pages, for all seasons, with BoxScore data in them, is ~10 lines long
A Python script that grabs all basketball-reference team pages, for all seasons, with BoxScore data in them, is ~10 lines long
Re: Team box score stats
Ok, now I understand "Opposing team stats". I will check basketballvalue.com.Crow wrote:"Opposing Team Stats" compiles what the opposing team stats where against a specific team for a season. You can think of it as that team's defensive results, what they allowed th eother team's offense to do against them.
For other datafiles, look here http://basketballvalue.com/downloads.php and read other threads here.
Thank you!!
Re: Team box score stats
Yes!! That's exactly what I'm doing now.J.E. wrote:If you know Python I recommend using urllib and possibly BeautifulSoup.
A Python script that grabs all basketball-reference team pages, for all seasons, with BoxScore data in them, is ~10 lines long
I think that may be a bit more than ~10 lines long, since I 've to parse 2 or 3 kind of pages (one for get the page of the season, another for get a list of links to boxscores and the last to get the boxscores data).
Thank you!!