Learn R Programming

baseballr (version 0.8.6)

get_probables_mlb: Retrieve probable starters for a given MLB game via the MLB api http://statsapi.mlb.com/api/

Description

Retrieve probable starters for a given MLB game via the MLB api http://statsapi.mlb.com/api/

Usage

get_probables_mlb(game_pk)

Arguments

game_pk

The unique game_pk identifier for the game

Value

Returns a data frame that includes probable starting pitchers and the home plate umpire for the game_pk provided requested

Examples

Run this code
# NOT RUN {
get_probables_mlb(566001)
# }

Run the code above in your browser using DataLab