Title: | Volleyball Scoring with the Athletes Unlimited Scoring System |
---|---|
Description: | Volleyball scoring following the Athletes Unlimited scoring system. |
Authors: | Ben Raymond [aut, cre], Adrien Ickowicz [aut], openvolley.org [org] |
Maintainer: | Ben Raymond <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.7 |
Built: | 2024-11-21 03:21:22 UTC |
Source: | https://github.com/openvolley/auvolley |
The Athletes Unlimited league plays matches of 3 sets, each to 25 points. To apply their scoring system to normal volleyball games, we need to decide what to do with sets 4 and 5 (if played). If you only want to count things that happened in the first 3 (or 4) sets, then you should remove data rows associated with sets 5 and/or 4 before calling this function. Otherwise, the set_5_weighting
parameter allows the count of actions from set 5 to be scaled.
au_individual( x, set_5_weighting = 25/15, scoring = au_scoring(), infer_sets = FALSE, no_set_attacks = c("PR", "PP", "P2") )
au_individual( x, set_5_weighting = 25/15, scoring = au_scoring(), infer_sets = FALSE, no_set_attacks = c("PR", "PP", "P2") )
x |
datavolley or datavolleyplays: a datavolley object as returned by |
set_5_weighting |
numeric: the weighting that should be applied to actions from the fifth set of a match (if it went that long) |
scoring |
list: the scores to apply for each outcome. See |
infer_sets |
logical: set this to |
no_set_attacks |
character: a vector of attack codes for which sets are not expected (setter dumps, attacks on overpasses, second-ball attacks) |
Most of the actions that are counted are self-explanatory: serve aces, attack kills, and serve, pass, attack, and set errors. The perhaps-less obvious ones:
A pass (serve reception) is counted if it is a perfect or positive pass
A set assist is a set that leads to an attack kill
Digs are counted on opposition attacks and block cover, if scouted, but not freeball passes. All dig grades except dig errors and digs directly back over the net are counted
Only block kills are counted
A tibble with a breakdown by player of points in each category, along with
points
: each player's total points scored. If set 5 results have been included, points scored in set 5 will be scaled by set_5_weighting
points_per_set
: each player's total points divided by the number of sets they played
adjusted_points
: each player's total points but adjusted for game length. The adjusted_points
= points_per_set
* 3 * nmatches
* playing_time
where nmatches
is the average number of matches played by each team, and playing_time
is (number of sets played by the player) / (number of sets played by their team)
https://auprosports.com/volleyball/how-we-play-volleyball/
x <- datavolley::dv_read(datavolley::dv_example_file()) au_individual(x)
x <- datavolley::dv_read(datavolley::dv_example_file()) au_individual(x)
The default scores for each outcome
au_scoring()
au_scoring()
A named list with components ace
, serve_error
, pass
, pass_error
, assist
, set_error
, kill
, attack_error
, block
, and dig
, giving the numeric score for each
https://auprosports.com/volleyball/how-we-play-volleyball/