Learn R Programming

baseballr (version 0.8.6)

get_ncaa_schedule_info: Get Schedule and Results for NCAA Baseball Teams

Description

Get Schedule and Results for NCAA Baseball Teams

Usage

get_ncaa_schedule_info(teamid = NULL, year = NULL)

Arguments

teamid

The team's unique NCAA id.

year

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

Value

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

Examples

Run this code
# NOT RUN {
get_ncaa_schedule_info(736, 2019)
# }

Run the code above in your browser using DataLab