load_mbb_team_box: *Load hoopR men's college basketball team box scores*

View source: R/mbb_pbp.R

load_mbb_team_boxR Documentation

Load hoopR men's college basketball team box scores

Description

helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots

Usage

load_mbb_team_box(
  seasons = most_recent_mbb_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given men's college basketball seasons. (Min: 2003)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_mbb_db()).

dbConnection

A DBIConnection object, as returned by

tablename

The name of the play by play data table within the database

Value

Returns a tibble

Examples


load_mbb_team_box(2021)


hoopR documentation built on June 18, 2022, 1:06 a.m.