mlb_venues function

Find MLB Venues

Find MLB Venues

mlb_venues(venue_ids = NULL, sport_ids = NULL, season = NULL)

Arguments

  • venue_ids: Venue directorial information based venue_id.
  • sport_ids: The sport_id(s) for which to return venue directorial information.
  • season: Year for which to return venue directorial information for a given season.

Returns

Returns a tibble with the following columns:

col_nametypes
venue_idinteger
venue_namecharacter
venue_linkcharacter
activelogical
seasonlogical

Examples

try(mlb_venues()) try(mlb_venues(venue_ids = 4781)) try(mlb_venues(sport_ids = 1))