Alex - Player Filter
Dhanish - 1st feature in our report (just the flow of seeing teams' standing in a year, players who played in that year, team stats, player stats for that year etc.)
Tianchang - Accounts
Calder - Fantasy team & Team Evaluator
cd src/
pip3 install -r requirements.txt
python3 manage.py runserver
Go to: https://bball-analytics.appspot.com/
Files related to Database Design Schema can be found under /Report directory
You can find the schema definition of all the tables under /sql/tables You can find test-sample.sql and test-sample.output under /sql
- For code that creates our tables
- For code that uses pandas to scrape real data from csv files to populate the tables "TeamsInfo", "TeamStats", "Player" and "PlayerStats"
(https://www.kaggle.com/drgilermo/nba-players-stats?fbclid=IwAR3Ch4TslrxGwKE4iaEBuwidrFVzsQ6oY4oQMJu_X5xjo__5svRcowjyHgo) - and (https://www.kaggle.com/open-source-sports/mens-professional-basketball) - we have csv's in github already
- That displays all unique basketball teams that have played since the 1930's
- That takes year as a user input and displays all basketball teams that played in that particular year. User Input comes through a drop-down menu of years
- Click on a team to see all years the team played in. Then select a year which will then display the selected team's performance summary for that year. You may then click the button to display all players who played for this team in the selected year. (NOTE: List of players may be missing for some of the earlier years ex: 1930's '40's etc.) Finally, you can click on any of the players to view their stats when they played for the selected team in the selected year.
- The view 36 min caculates the average data(include, PER, TS%, offensive rating, defensive rating, rebound rate, game score, etc) in a period of 36 min. This advanced metrix is very helpful when interpreting given data for each player and team.
- Player filter: Allow user to check the season statistics for players that satisfy the user's input. For example, user may search for players who played from 2000 to 2010 as a shooting guard and had a score rate more than 65%.
- /src/teams/models.py
- /src/teams/views.py
- /src/players/models.py
- /src/players/views.py
test-production.sql and test-production.out can be found under sql/