This function aggregates player statistics and play-by-play information
within a season by applying player_season_stats()
, player_match_stats()
,
or match_pbp()
across groups of teams (for player_season_stats()
) or
across contests within a season (for player_match_stats()
and
match_pbp()
). For season stats, it aggregates all player data and team
data into separate data frames and combines them into a list.
For instance, if you want to extract the data from the teams in the women's
2024 Final Four, pass a vector of
c("Louisville", "Nebraska", "Penn State", "Pittsburgh")
to the function. For match or play-by-play data for a team, pass a single
team name and year. Team names can be found in ncaa_teams or by
using find_team_name()
.