load_cfb_pbp: *Load cleaned play-by-play from the data repo*

View source: R/cfb_pbp.R

load_cfb_pbpR Documentation

Load cleaned play-by-play from the data repo

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_cfb_pbp(
  seasons = most_recent_cfb_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given College Football seasons.

...

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

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

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


cfbfastR documentation built on June 14, 2022, 1:05 a.m.