mlb_sports_info function

MLB Sport IDs Information

MLB Sport IDs Information

mlb_sports_info(sport_id = 1)

Arguments

  • sport_id: The sport_id to return information for.

Returns

Returns a tibble with the following columns

col_nametypes
sport_idinteger
sport_codecharacter
sport_linkcharacter
sport_namecharacter
sport_abbreviationcharacter
sort_orderinteger
active_statuslogical

Examples

try(mlb_sports_info(sport_id = 1))