| mlb_venues | R Documentation |
Find MLB Venues
mlb_venues(venue_ids = NULL, sport_ids = NULL, season = NULL)
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 a tibble with the following columns:
| col_name | types | description |
| venue_id | integer | Venue MLBAM ID. |
| venue_name | character | Venue name. |
| venue_link | character | API link to the venue. |
| active | logical | Whether the venue is active. |
| season | character | Season the venue record applies to. |
try(mlb_venues())
try(mlb_venues(venue_ids = 4781))
try(mlb_venues(sport_ids = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.