Learn R Programming

baseballr (version 1.5.0)

mlb_probables: Retrieve probable starters for a given MLB game

Description

Retrieve probable starters for a given MLB game

Usage

mlb_probables(game_pk)

Value

Returns a tiible that includes probable starting pitchers and the home plate umpire for the game_pk requested including the following columns:

col_nametypes
game_pkinteger
game_datecharacter
fullNamecharacter
idinteger
teamcharacter
team_idinteger
home_plate_full_namecharacter
home_plate_idinteger

Arguments

game_pk

The unique game_pk identifier for the game

Examples

Run this code
# \donttest{
  try(mlb_probables(566001))
# }

Run the code above in your browser using DataLab