Get team names and IDs from datavolley object
Arguments
- x
datavolley or data.frame: a datavolley object as returned by
dv_read
, or the plays component of that object
Examples
if (FALSE) {
x <- dv_read(dv_example_file(), insert_technical_timeouts = FALSE)
teams(x)
home_team_id(x)
}