| cfbd_game_weather | R Documentation |
Get weather from games.
cfbd_game_weather(
year,
week = NULL,
season_type = "regular",
team = NULL,
conference = NULL,
division = NULL
)
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, both, allstar, spring_regular, spring_postseason |
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 |
division |
(String optional): Division/classification filter – one of |
cfbd_game_weather() - A data frame with 23 variables:
| col_name | types | description |
| 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 | Game-time temperature, in degrees Fahrenheit. |
| dew_point | integer | Dew point at kickoff, in degrees Fahrenheit. |
| humidity | integer | Relative humidity at kickoff, as a percentage (0-100). |
| precipitation | integer | Precipitation total at kickoff, in inches. |
| snowfall | integer | Snowfall total at kickoff, in inches. |
| wind_direction | integer | Wind direction, in degrees (0-360, 0 = north). |
| wind_speed | integer | Wind speed, in miles per hour. |
| pressure | integer | Barometric pressure, in millibars. |
| weather_condition_code | integer | Weather condition code from the upstream weather provider. |
| weather_condition | character | Free-text weather condition (e.g. "Clear", "Light rain"). |
Other CFBD Games:
cfbd_calendar(),
cfbd_game_box_advanced(),
cfbd_game_info(),
cfbd_game_media(),
cfbd_game_player_stats(),
cfbd_game_records(),
cfbd_game_team_stats(),
cfbd_live_scoreboard()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.