Description Usage Arguments Value Note Examples
It creates a list containing the data objects ('tbl_df' type) corresponding
to the years provided by the years
input parameter. The data include
only the MONTH
and YEAR
fields. NULL is returned for the data
table whose year does not exist
1 | fars_read_years(years)
|
years |
An array of numeric representing the years referring to the data to be loaded |
A list object containing the data frames referring to years provided as input, if the corresponding files exist; NULL otherwise
Data files to be loaded must be placed in the same directory of this R script!
1 | fars_read_years( c(2013, 2014) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.