Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match scoreboard / Team Scores for awpy.analytics #151

Open
thwmp opened this issue Apr 12, 2022 · 4 comments
Open

Match scoreboard / Team Scores for awpy.analytics #151

thwmp opened this issue Apr 12, 2022 · 4 comments
Assignees

Comments

@thwmp
Copy link

thwmp commented Apr 12, 2022

Is your feature request related to a problem? Please describe.
Not a problem, just an easy function for data gathering.

Describe the solution you'd like
include a simple function for scoreboard data, specifically team scores

(Currently this requires finding the last round and parsing the data for who won)

This would be in addition to the data found in player_stats from awpy.analytics.stats

@pnxenopoulos
Copy link
Owner

Hi @thwmp, thanks for your request.

I think this can be part of a larger team_stats function. Here are some things that could be part of such a function:

  • score
  • score by side (ct vs t)
  • count of round end reasons
  • total spend
  • average team rating
  • average team damage
  • total utility damage
  • successful retakes (and retake success %)

Anything you feel is missing?

@thwmp
Copy link
Author

thwmp commented Apr 12, 2022

Team collective flash stats / Time enemy flashed

That's a great list though, that's well beyond my needs :)

@thwmp
Copy link
Author

thwmp commented Apr 12, 2022

I'm not sure if it would be a separate function or not but accolades/superlatives would be fun too.

Most Headshots / Most Bomb Plants / Most Entry Kills / Most blind / etc ..

I'm looking to do some end of game reporting after a pug for a community group.

Just an idea :)

@JanEricNitschke
Copy link
Collaborator

@thwmp the superlatives are pretty easily done by taking the player stats as a dataframe and just sorting them by the column you are interested in.

For a team_stats function i am not sure how to best do it because most of those are very easily calculated if you already have the player_stats. So it might make sense to just call that and then aggregate/average those results + add the couple extra ones that arent already in there like score, score by side and round end reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants