teams: Get team names and IDs from datavolley object

View source: R/meta.R

teamsR Documentation

Get team names and IDs from datavolley object

Description

Get team names and IDs from datavolley object

Usage

teams(x)

home_team(x)

home_team_id(x)

visiting_team(x)

visiting_team_id(x)

Arguments

x

datavolley or data.frame: a datavolley object as returned by dv_read, or the plays component of that object

Value

character vector of team names or IDs

See Also

dv_read

Examples

## Not run: 
  x <- dv_read(dv_example_file(), insert_technical_timeouts = FALSE)
  teams(x)
  home_team_id(x)

## End(Not run)

raymondben/datavolley documentation built on April 14, 2024, 11:31 p.m.