Description Usage Arguments Value Examples
The function accepts a base filename from the CFB Stats data files and a
vector containing the years to read the data in. If there are multiple years
to read in the years are stacked and an extra variable is added called
Year
that contains the year of that data row. The package assumes
the CFB Stats data are stored in a location with different folders for
each year and the name of the folders are YYYY data
, e.g.
2009 data/play.csv . The function also replaces column names with a space
with a .
.
1 |
file |
The base name of the file to read in. |
yearvec |
A numeric vector of years of data to read in at once. |
folder_loc |
The location on your local drive of where the CFB Stats data is stored. |
A data frame containing the data file for all years. An additional column has been added with the year of each data row.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.