mhelke / ChessComClubManagement

MIT License
1 stars 0 forks source link

Function to get all data related to match removals #29

Closed mhelke closed 1 year ago

mhelke commented 1 year ago

Consider grouping getting removals, getting game stats for the removals, and transforming into a helper function that will do it in one call. The functions alone are helpful, but it would save time if only one call for everything needs to be made.

Steps

  1. Get players to remove on given criteria
  2. Get the game history stats for those players
  3. Summarize the game history stats
  4. Join with the data from the removals table

Structure: username daily_rating total_games total_timeouts three_plus_dpm_timeout

_Originally posted by @mhelke in https://github.com/mhelke/ChessComClubManagement/issues/27#issuecomment-1592298975_
mhelke commented 1 year ago

Not going to implement this. Not all clubs want game stats included in their decision. Most clubs only want the data from the user profile (TO, min games, and rating).