Learn R Programming

baseballr (version 1.5.0)

ncaa_teams: Scrape NCAA baseball Teams (Division I, II, and III)

Description

This function allows the user to obtain NCAA teams by year and division

Usage

ncaa_teams(year = most_recent_ncaa_baseball_season(), division = 1, ...)

Value

A data frame with the following variables

col_nametypes
team_idcharacter
team_namecharacter
team_urlcharacter
conference_idcharacter
conferencecharacter
divisionnumeric
yearnumeric
season_idcharacter

Arguments

year

The season for which data should be returned, in the form of "YYYY". Years currently available: 2002 onward.

division

Division - 1, 2, 3

...

Additional arguments passed to an underlying function like httr.

Details

ncaa_teams(2023, 1)