powered by
Get NCAA Baseball Game Logs
ncaa_game_logs(player_id, year, type = "batting", span = "game")
A data frame containing player and school information as well as game by game statistics
A player's unique id. Can be found using the get_ncaa_baseball_roster function.
The year of interest.
The kind of statistics you want to return. Current options are 'batting' or 'pitching'.
The span of time; can either be 'game' for game logs in a season, or 'career' which returns seasonal stats for a player's career.
# \donttest{ try(ncaa_game_logs(player_id = 2113782, year = 2021, type = "pitching", span = "game")) try(ncaa_game_logs(player_id = 1879650, year = 2019, type = "batting", span = "career")) # }
Run the code above in your browser using DataLab