-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathload_cfb_pbp.Rd
30 lines (27 loc) · 978 Bytes
/
load_cfb_pbp.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_cfb_pbp.R
\name{load_cfb_pbp}
\alias{load_cfb_pbp}
\title{\strong{Load cleaned play-by-play from the data repo}}
\usage{
load_cfb_pbp(
seasons = most_recent_cfb_season(),
...,
dbConnection = NULL,
tablename = NULL
)
}
\arguments{
\item{seasons}{A vector of 4-digit years associated with given College Football seasons.}
\item{...}{Additional arguments passed to an underlying function that writes
the season data into a database (used by \code{\link[=update_cfb_db]{update_cfb_db()}})}
\item{dbConnection}{A \code{DBIConnection} object, as returned by \code{\link[DBI:dbConnect]{DBI::dbConnect()}}}
\item{tablename}{The name of the play by play data table within the database}
}
\value{
Returns a tibble with play-by-play data
}
\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
}