year_filter: Filters a tibble with a 'date' column for given year

View source: R/year_filter.R

year_filterR Documentation

Filters a tibble with a 'date' column for given year

Description

The homework asked to do this as part of question 3d. Right now this only works for year values of 2021 and 2022.

Usage

year_filter(data, year = 2022)

Arguments

data

A tibble, preferable the kenpom data

year

An integer value representing the desired year

Value

tibble

Examples

year_filter(get_cbb_data(), 2021)


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