mlb_venues {baseballr} | R Documentation |
Find MLB Venues
Description
Find MLB Venues
Usage
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. |
Value
Returns a tibble with the following columns:
col_name | types |
venue_id | integer |
venue_name | character |
venue_link | character |
active | logical |
season | logical |
Examples
try(mlb_venues())
try(mlb_venues(venue_ids = 4781))
try(mlb_venues(sport_ids = 1))
[Package baseballr version 1.6.0 Index]