Learn R Programming

rvolleydata (version 2.0.0)

load_pbp: Load cleaned play-by-play data form the volleydata repository.

Description

Load cleaned play-by-play data form the volleydata repository.

Usage

load_pbp(league = NULL, seasons = NULL)

Value

A data frame containing the play-by-play data for the specified seasons.

Column NameType
match_idint
seasonint
match_datetimechr
home_team_namechr
away_team_namechr
team_involvedchr
jersey_numberint
actionchr
outcomechr
setint
point_numberint
point_winnerchr
home_scoreint
away_scoreint
rally_lengthint

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.

Examples

Run this code
try({load_pbp("mlv", 2024)})

Run the code above in your browser using DataLab