get_date_games: Date Schedule Scrape

get_date_gamesR Documentation

Date Schedule Scrape

Description

This function returns a schedule for the given date and specified conference. Results are included if applicable, as well as the play-by-play game id

Usage

get_date_games(
  date = as.character(format(Sys.Date() - 1, "%m/%d/%Y")),
  conference = "All",
  conference.ID = NA,
  use_file = F,
  save_file = F,
  base_path = NA
)

Arguments

date

a character object containing a date in the format mm/dd/yyyy. Defaults is previous day (yesterday)

conference

the common name used for a conference, not sensitive to case, spacing, punctuation, etc.

conference.ID

alternatively, if the conference ID is known it replace the conference name variable

Value

data frame with each row representing an inidividual game

  • Date - Game date

  • Start_Time - Start time reported in eastern time zone (I believe)

  • Home - Home team

  • Away - Away team

  • GameID - If the game is finished and has play-by-play data available, the game ID used to scrape game data

  • Home_Score - If the game is finished, the final score for the home team

  • Away_Score - If the game is finished, the final score for the away team

  • Attendance - The attendance count reported by the NCAA

  • Neutral_Site - A logical variable that is true when the game was played at a designated neutral destination

Examples

get_date_games(date = "12/11/2018", conference = "Ivy")
get_date_games(date = "12/11/2018", conference.ID = 865)

jflancer/bigballR documentation built on March 1, 2025, 3:57 a.m.