Description Usage Arguments Value Examples
This is a simple function that filter data for given years. In case if data for given year does not exist appropriate message is shown and NULL value is returned for this year. Function selects only MONTH and year variables from a data source.
1 | fars_read_years(years)
|
years |
A numeric or character vector that can be convereged to numeric vector, meaning years to be filter. |
This function returns a list with data frames for each year, containing two variables MONTH (int) and year (chr).
1 2 3 4 | ## Not run: fars_read_years(c(2013,2014))
## Not run: fars_read_years(c("2013","2014"))
## Not run: fars_read_years(2014)
## Not run: fars_read_years("2014")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.