Learn R Programming

baseballr (version 1.5.0)

mlb_sports_info: MLB Sport IDs Information

Description

MLB Sport IDs Information

Usage

mlb_sports_info(sport_id = 1)

Value

Returns a tibble with the following columns

col_nametypes
sport_idinteger
sport_codecharacter
sport_linkcharacter
sport_namecharacter
sport_abbreviationcharacter
sort_orderinteger
active_statuslogical

Arguments

sport_id

The sport_id to return information for.

Examples

Run this code
# \donttest{
  try(mlb_sports_info(sport_id = 1))
# }

Run the code above in your browser using DataLab