Skip to contents

Load cleaned team staff data from the volleydata repository.

Usage

load_team_staff(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 the team staff data for the specified seasons.

Column NameType
match_iddbl
seasondbl
match_datetimechr
team_namechr
staff_typechr
full_namechr
first_namechr
last_namechr
leaguechr

Examples

try({load_team_staff("mlv", 2024)})
#> Warning: Failed to open 'https://github.com/awosoga/volleydata/releases/download/pvf-team-staff/pvf_team_staff.csv': The requested URL returned error: 404
#> Error in open.connection(structure(4L, class = c("curl", "connection"), conn_id = <pointer: 0x560cd0867190>),  : 
#>   cannot open the connection