
Extract team summary statistics for all matches in a particular season
Source:R/team_match_stats.R
team_match_stats.Rd
The NCAA's main page for a team includes a tab called "Game By Game" and a section called "Game by Game Stats". This function extracts the team's summary statistics for each match of the season.
Arguments
- team_id
Team ID determined by NCAA for season. To find ID, use
find_team_id()
.- opponent
Logical indicating whether to include team's stats (FALSE) or opponent's stats (TRUE). Default is set to FALSE, returning team stats.
- sport
Three letter abbreviation for NCAA sport (must be upper case; for example "WVB" for women's volleyball and "MVB" for men's volleyball).
Note
This function requires internet connectivity as it checks the NCAA website for information.
See also
Other functions that extract team statistics:
team_season_info()
,
team_season_stats()