Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function can be used to extract the MONTH column from the datasets provided
in the package. The packages to which the function will be applied are selected via
the the argument years
.
1 | fars_read_years(years)
|
years |
A list of integers representing years |
This function returns a list of dataframes. Each dataset contains two columns:
the column MONTH
, extracted from the datasets contained in the package, and the
column year
, containing the year to which the dataset refers.
An error is thrown in case an invalid year is inputed.
1 2 3 4 | ## Not run:
fars_read_year(list(2014,2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.