Learn R Programming

baseballr (version 1.3.0)

ncaa_schedule_info: Get Schedule and Results for NCAA Baseball Teams

Description

Get Schedule and Results for NCAA Baseball Teams

Usage

ncaa_schedule_info(teamid = NULL, year = NULL)

Value

A data frame with the following fields: date, opponent, result, score, innings (if more than regulation), and the url for the game itself.

col_nametypes
datecharacter
opponentcharacter
resultcharacter
scorecharacter
inningscharacter
opponent_slugcharacter
slugcharacter
game_info_urlcharacter

Arguments

teamid

The team's unique NCAA id.

year

The season (i.e. use 2016 for the 2015-2016 season, etc.)

Examples

Run this code
# \donttest{
  try(ncaa_schedule_info(teamid = 736, year = 2021))
# }

Run the code above in your browser using DataLab