Skip to contents
ncaa_scrape():

This function allows the user to obtain batting or pitching statistics for any school affiliated with the NCAA at the division I, II, or III levels. The function acquires data from the NCAA's website (stats.ncaa.org) and returns a tibble.

ncaa_baseball_pbp():

Get Play-By-Play Data for NCAA Baseball Games.

ncaa_baseball_roster():

Get NCAA Baseball Rosters.

ncaa_game_logs():

Get NCAA Baseball Game Logs.

ncaa_lineups():

Get NCAA Baseball Game Lineups.

ncaa_park_factor():

Get Park Effects for NCAA Baseball Teams.

ncaa_schedule_info():

Get Schedule and Results for NCAA Baseball Teams.

ncaa_school_id_lu():

Lookup NCAA School IDs (Division I, II, and III)

Details

Scrape NCAA baseball data (Division I, II, and III)

ncaa_scrape(teamid=255, year=2013, type = "batting")

Get Play-By-Play Data for NCAA Baseball Games

x <- ncaa_schedule_info(736, 2021)$game_info_url[2]
  ncaa_baseball_pbp(game_info_url = x)

Get NCAA Baseball Rosters

ncaa_baseball_roster(teamid = 104, team_year = 2021)

Get NCAA Baseball Game Logs

ncaa_game_logs(player_id = 2113782, year = 2021, type = "pitching", span = "game")

Get NCAA Baseball Game Lineups

ncaa_lineups(game_info_url="https://stats.ncaa.org/game/index/4587474?org_id=528",year=2018)

Get Park Effects for NCAA Baseball Teams

ncaa_park_factor(teamid = 736, years = c(2017:2019), type = "conference")

Get Schedule and Results for NCAA Baseball Teams

ncaa_schedule_info(teamid =736, year = 2021)

Lookup NCAA School IDs (Division I, II, and III)