get_date_games | R Documentation |
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
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
)
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 |
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
get_date_games(date = "12/11/2018", conference = "Ivy")
get_date_games(date = "12/11/2018", conference.ID = 865)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.