Learn R Programming

baseballr (version 0.5.0)

get_game_pks_mlb: Find game_pk values for MLB games via the MLB api http://statsapi.mlb.com/api/

Description

Find game_pk values for MLB games via the MLB api http://statsapi.mlb.com/api/

Usage

get_game_pks_mlb(date)

Arguments

date

The date for which you want to find game_pk values for MLB games

Value

Returns a data frame that includes game_pk values and additional information for games scheduled or played requested

Examples

Run this code
# NOT RUN {
get_game_pks_mlb("2019-04-29")
# }

Run the code above in your browser using DataLab