valid_team_names {mlbplotR}R Documentation

Output Valid MLB Team Abbreviations

Description

Output Valid MLB Team Abbreviations

Usage

valid_team_names(remove_league_info = FALSE)

Arguments

remove_league_info

Should "AL", "NL", and "MLB" be removed from the returned vector? Defaults to FALSE.

Value

A vector of type "character".

Examples


# List valid team abbreviations excluding duplicates
valid_team_names()
valid_team_names(TRUE)



[Package mlbplotR version 1.1.0 Index]