getTeam | R Documentation |
Get unified team name and data from any format team name
getTeam(
teamname,
out = "teamonly",
upper = TRUE,
print = TRUE,
league = "ALL",
defaultinc = TRUE
)
teamname |
string name of team in any format |
out |
string 'teamonly' or 'to' for only team name or 'all' for data.frame of all team data |
upper |
logical return team in upper case |
print |
logical print team name in addition to return |
league |
defaults to ALL, specify MLB for mlb, WNBA for wnba etc. |
defaultinc |
filter to default leagues (filters out ufc) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.