Skip to contents

Get weather from games.

Usage

cfbd_game_weather(
  year,
  week = NULL,
  season_type = "regular",
  team = NULL,
  conference = NULL
)

Arguments

year

(Integer required): Year, 4 digit format(YYYY)

week

(Integer optional): Week - values from 1-15, 1-14 for seasons pre-playoff (i.e. 2013 or earlier)

season_type

(String default regular): Select Season Type: regular, postseason, or both

team

(String optional): D-I Team

conference

(String optional): Conference abbreviation - Select a valid FBS conference Conference abbreviations P5: ACC, B12, B1G, SEC, PAC Conference abbreviations G5 and FBS Independents: CUSA, MAC, MWC, Ind, SBC, AAC

Value

cfbd_game_weather() - A data frame with 23 variables:

game_id: integer.

Referencing game id.

season: integer.

Season of the game.

week: integer.

Game week.

season_type: character.

Season type of the game.

start_date: character.

Game date.

start_time_tbd: logical.

TRUE/FALSE flag for if the game's start time is to be determined.

game_indoors: logical.

TRUE/FALSE flag for if the game is indoors

home_team: character.

Home team name.

home_conference: character.

Home team conference.

away_team: character.

Away team name.

away_conference: character.

Away team conference.

venue_id: integer.

Referencing venue id.

venue: character.

Venue name.

temperature: integer.

Temperature.

dew_point: integer.

Dew Point.

humidity: integer.

Humidity.

precipitation: integer.

Precipitation.

snowfall: integer.

Snowfall.

wind_direction: integer.

Wind direction.

wind_speed: integer.

Wind Speed.

pressure: integer.

Pressure.

weather_condition_code: integer.

Weather condition code.

weather_condition: character.

Weather condition.