Skip to contents

Load cleaned team boxscore data from the volleydata repository.

Usage

load_team_boxscore(league = NULL, seasons = NULL)

Arguments

league

A string specifying which of "mlv", "lovb", or "au" to load data for.

seasons

An integer or vector of integers of seasons to fetch data for. Defaults to all available seasons.

Value

A data frame containing team boxscore data for the specified seasons.

Column NameType
match_idint
seasonint
match_datetimechr
team_involvedchr
team_namechr
set_numberint
servesint
serve_errorsint
serve_acesint
serve_efficiencydbl
attack_attemptsint
attack_errorsint
attack_killsint
attack_success_ratiodbl
attack_efficiencydbl
receptionsint
reception_errorsint
positive_reception_ratiodbl
perfect_reception_ratiodbl
block_pointsint
block_touchesint
earned_pointsint
net_pointsint
assistsint
successful_digsint
idchr
spike_hpint
pointsint
leaguechr

Examples

try({load_team_boxscore("mlv", 2024)})
#> # A tibble: 694 × 29
#>    match_id season match_datetime      team_involved team_name set_number serves
#>       <dbl>  <dbl> <dttm>              <chr>         <chr>          <dbl>  <dbl>
#>  1  2125267   2024 2024-01-25 01:00:00 home          Omaha Su…          1     25
#>  2  2125267   2024 2024-01-25 01:00:00 home          Omaha Su…          2     23
#>  3  2125267   2024 2024-01-25 01:00:00 home          Omaha Su…          3     25
#>  4  2125267   2024 2024-01-25 01:00:00 home          Omaha Su…          4     25
#>  5  2125267   2024 2024-01-25 01:00:00 home          Omaha Su…          5     14
#>  6  2125267   2024 2024-01-25 01:00:00 away          Atlanta …          1     25
#>  7  2125267   2024 2024-01-25 01:00:00 away          Atlanta …          2     25
#>  8  2125267   2024 2024-01-25 01:00:00 away          Atlanta …          3     17
#>  9  2125267   2024 2024-01-25 01:00:00 away          Atlanta …          4     20
#> 10  2125267   2024 2024-01-25 01:00:00 away          Atlanta …          5     14
#> # ℹ 684 more rows
#> # ℹ 22 more variables: serve_errors <dbl>, serve_aces <dbl>,
#> #   serve_efficiency <dbl>, attack_attempts <dbl>, attack_errors <dbl>,
#> #   attack_kills <dbl>, attack_success_ratio <dbl>, attack_efficiency <dbl>,
#> #   receptions <dbl>, reception_errors <dbl>, positive_reception_ratio <dbl>,
#> #   perfect_reception_ratio <dbl>, block_points <dbl>, block_touches <dbl>,
#> #   earned_points <dbl>, net_points <dbl>, assists <dbl>, …