Description Usage Arguments Value See Also Examples
View source: R/fars_functions.R
'fars_read_years()' is a helper function used by 'fars_summarize_years()', which reads in fetal traffic accident entries for specified years from accessible annual FARS data files within the current working directory
1 | fars_read_years(years)
|
years |
a numeric vector of four digit numbers represents years in the format 'YYYY' |
A list of tibbles containing annual accident entries that corresponds to years specified in the argument. An invalid input value (year) will cause a NULL value to be returned to the list and an "invalid year..." warning.
fars_read
and make_filename
,
which this function wraps
1 2 3 4 | ## Not run:
fars_read_years(c(2013,2014,2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.