mlb_league: *MLB Leagues*

View source: R/mlb_league.R

mlb_leagueR Documentation

MLB Leagues

Description

MLB Leagues

Usage

mlb_league(seasons = NULL, sport_id = NULL, league_id = NULL)

Arguments

seasons

Year(s) to return to return league information for.

sport_id

The sport_id to return league information for.

league_id

The league_id(s) to return league information for.

Value

Returns a tibble with the following columns

col_name types
leader_type character

Examples


  try(mlb_league(seasons = 2021, sport_id = 1))


baseballr documentation built on Sept. 9, 2022, 9:06 a.m.