Description Usage Arguments Value Examples
This function reads in multiple years of files and returns them all in one data frame. The new data frame contains an additional column labeling the year that the observation was read in from. Additionally any spaces ( ) in column names are replaced with periods (.).
1 |
file |
The name of the file to read in. The extension '.csv' is unnecessary. |
yearvec |
A vector containing the years to read in data for |
A data frame containing the years of values
1 | plays <- readin("play", 2009:2012)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.