Learn R Programming

ncaavolleyballr (version 0.4.3)

player_season_stats: Extract player statistics from a particular team and season

Description

The NCAA's main page for a team includes a tab called "Team Statistics". This function extracts the table of player statistics for the season, as well as team and opponent statistics (though these can be omitted).

Usage

player_season_stats(team_id, team_stats = TRUE)

Value

Returns a data frame of player statistics. Note that hometown and high school were added in 2024.

Arguments

team_id

Team ID determined by NCAA for season. To find ID, use find_team_id().

team_stats

Logical indicating whether to include (TRUE) or exclude (FALSE) team statistics. Default includes team statistics with player statistics.

See Also

Other functions that extract player statistics: player_match_stats()

Examples

Run this code
if (FALSE) { # interactive()
player_season_stats(team_id = "585290")
}

Run the code above in your browser using DataLab