Skip to contents

Load cleaned mlv player boxscore data from the volleydata repository.

Usage

load_mlv_player_boxscore(seasons = NULL)

Arguments

seasons

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

Value

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

Column NameType
match_idint
seasonint
match_datetimechr
team_involvedchr
team_namechr
player_namechr
last_namechr
first_namechr
sets_playedint
player_numberchr
is_captainlgl
is_liberoint
set_starting_positionchr
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

Examples

try({load_mlv_player_boxscore(2024)})
#> Rows: 16229 Columns: 36
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr   (7): team_involved, team_name, player_name, first_name, last_name, set...
#> dbl  (26): match_id, season, sets_played, player_number, set_number, serves,...
#> lgl   (2): is_captain, is_libero
#> dttm  (1): match_datetime
#> 
#>  Use `spec()` to retrieve the full column specification for this data.
#>  Specify the column types or set `show_col_types = FALSE` to quiet this message.
#> # A tibble: 6,881 × 36
#>    match_id season match_datetime      team_involved team_name       player_name
#>       <dbl>  <dbl> <dttm>              <chr>         <chr>           <chr>      
#>  1  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Tori Dixon 
#>  2  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Tori Dixon 
#>  3  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Tori Dixon 
#>  4  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Tori Dixon 
#>  5  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Tori Dixon 
#>  6  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Paige Brig…
#>  7  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Paige Brig…
#>  8  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Paige Brig…
#>  9  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Paige Brig…
#> 10  2125267   2024 2024-01-25 01:00:00 home          Omaha Supernov… Paige Brig…
#> # ℹ 6,871 more rows
#> # ℹ 30 more variables: first_name <chr>, last_name <chr>, sets_played <dbl>,
#> #   player_number <dbl>, is_captain <lgl>, is_libero <lgl>, set_number <dbl>,
#> #   set_starting_position <chr>, serves <dbl>, 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>, …