Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a function that reads csv files according to given years and then extracts month and year information from data. The function throws a warning if accident file for a year cannot be found.
1 | fars_read_years(years)
|
years |
A list of string of years that will be used to find the files. |
This function returns a list of either data frame where each data frame
contains the MONTH and year column of the dataset or NULL if one or more files
corresponding to year in years
do not exist.
1 | ## Not run: fars_read_years({"1996", "2013","2014"})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.