get_cbb_data: Imports Ken Pomeroy Data

View source: R/get_cbb_data.R

get_cbb_dataR Documentation

Imports Ken Pomeroy Data

Description

Reads the data from the URL listed below. Using dylr methods puts the data into tidy format. Includes an option to filter the data for conference games only.

Usage

get_cbb_data(conf = FALSE)

Arguments

conf

Boolean Filter for conference games only

Details

Requires the tidyverse and lubridate packages.

The Ken Pomeroy data can be found at http://kenpom.com/cbbga22.txt

Conference data was provided by https://www.kaggle.com/c/mens-march-mania-2022/data

Full conference names were edited to match the format found in the Ken Pomeroy data.

Value

A tibble. Each row represents a game in the 2021-2022 season.

Examples


## Get full data set
get_cbb_data()

## Get conference data
get_cbb_data(1)


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