ncaa_bb_games: ncaa_bb_games

View source: R/ncaa_bb_games.R

ncaa_bb_gamesR Documentation

ncaa_bb_games

Description

Obtains basketball game data by date from the ncaa stats API. Some notes:

  • When values are missing (such as a team rank, or a bracket round), they are recorded as NA

  • dates and times are recorded in ET as is returned by the ET

  • If seeking to group by a team identifier, it is recommended to use slugs

  • game_id can be used to obtain pbp and box score data for the game

Usage

ncaa_bb_games(date = Sys.Date(), type = "men")

Arguments

date

An R Date object. Defaults to Sys.Date()

type

Men's or Women's game schedule (options: 'men', 'women')

Value

a data frame with NCAA MBB game data

Examples


  ncaa_bb_games(as.Date('2021-12-03'))


ehess/ncaascrapR documentation built on March 28, 2022, 3:33 a.m.