mlb_seasons_all function

Find MLB Seasons all

Find MLB Seasons all

mlb_seasons_all( sport_id = 1, division_id = NULL, league_id = NULL, with_game_type_dates = TRUE )

Arguments

  • sport_id: The sport_id to return season information for.
  • division_id: The division_id to return season information for.
  • league_id: The league_id to return season information for.
  • with_game_type_dates: with_game_type_dates to return season information for.

Returns

Returns a tibble with the following columns:

col_nametypes
season_idcharacter
has_wildcardlogical
pre_season_start_datecharacter
season_start_datecharacter
regular_season_start_datecharacter
regular_season_end_datecharacter
season_end_datecharacter
offseason_start_datecharacter
off_season_end_datecharacter
season_level_gameday_typecharacter
game_level_gameday_typecharacter
qualifier_plate_appearancesnumeric
qualifier_outs_pitchedinteger
post_season_start_datecharacter
post_season_end_datecharacter
last_date1st_halfcharacter
all_star_datecharacter
first_date2nd_halfcharacter
pre_season_end_datecharacter
spring_start_datecharacter
spring_end_datecharacter

Examples

try(mlb_seasons_all(sport_id = 1))