Learn R Programming

ncaavolleyballr (version 0.4.3)

find_team_name: Match pattern to find team names

Description

This is a convenience function to find NCAA team names in ncaa_teams. Once the proper team name is found, it can be passed to find_team_id() or group_stats().

Usage

find_team_name(pattern = NULL)

Value

Returns a character vector of team names that include the submitted pattern.

Arguments

pattern

Character string of pattern you want to find in the vector of team names.

See Also

Other search functions: find_team_id()

Examples

Run this code
if (FALSE) { # interactive()
find_team_name(pattern = "Neb")
}

Run the code above in your browser using DataLab