all_teams_records: Builds Team Win Records Table

View source: R/all_teams_records.R

all_teams_recordsR Documentation

Builds Team Win Records Table

Description

Takes the Ken Pomeroy basketball data and builds a tibble of each teams win record. Give the full Ken Pomeroy data to get total ranking. Give the Ken Pomeroy data filtered for conference games to get conference rankings.

Usage

all_teams_records(data)

Arguments

data

A tibble of the Ken Pomeroy basketball data

Value

A tibble. The rows are individual teams and sorted by weighted rank. The columns give games won, total games, and win percentage.

Examples


## Get total ranking for each team
all_teams_records(get_cbb_data(0))


## Get conference ranking for each team
all_teams_records(get_cbb_data(1))


devinwarner10/devinwcbb documentation built on April 22, 2022, 2:06 a.m.