valid_team_names: Output Valid MLB Team Abbreviations

View source: R/load_data.R

valid_team_namesR 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)



camdenk/mlbplotR documentation built on June 15, 2024, 6:27 a.m.