mlb_seasons_all {baseballr}R Documentation

Find MLB Seasons all

Description

Find MLB Seasons all

Usage

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.

Value

Returns a tibble with the following columns:

col_name types
season_id character
has_wildcard logical
pre_season_start_date character
season_start_date character
regular_season_start_date character
regular_season_end_date character
season_end_date character
offseason_start_date character
off_season_end_date character
season_level_gameday_type character
game_level_gameday_type character
qualifier_plate_appearances numeric
qualifier_outs_pitched integer
post_season_start_date character
post_season_end_date character
last_date1st_half character
all_star_date character
first_date2nd_half character
pre_season_end_date character
spring_start_date character
spring_end_date character

Examples


 try(mlb_seasons_all(sport_id = 1))


[Package baseballr version 1.6.0 Index]