Description Usage Arguments Value Examples
View source: R/fars_functions.r
fars_data.zip (FARS dataset) represents the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes. This data are from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System.
1 | fars_read_years(years)
|
years |
A vector of integers, each element of the vector representing one year. |
a list with dataframes, each dataframe has just the columns MONTH and year.
In the case that the function don't find information about a year
(from vector years
) in FARS a warning message will be returned.
1 2 | fars_read_years(c(2013, 2014, 2))
fars_read_years(c(2013, 2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.