Output Valid MLB Team Abbreviations
Examples
# \donttest{
# List valid team abbreviations excluding duplicates
valid_team_names()
#> [1] "AL" "ATL" "AZ" "BAL" "BOS" "CHC" "CIN" "CLE" "COL" "CWS" "DET" "HOU"
#> [13] "KC" "LAA" "LAD" "MIA" "MIL" "MIN" "MLB" "NL" "NYM" "NYY" "OAK" "PHI"
#> [25] "PIT" "SD" "SEA" "SF" "STL" "TB" "TEX" "TOR" "WSH"
valid_team_names(TRUE)
#> [1] "ATL" "AZ" "BAL" "BOS" "CHC" "CIN" "CLE" "COL" "CWS" "DET" "HOU" "KC"
#> [13] "LAA" "LAD" "MIA" "MIL" "MIN" "NYM" "NYY" "OAK" "PHI" "PIT" "SD" "SEA"
#> [25] "SF" "STL" "TB" "TEX" "TOR" "WSH"
# }