Description Usage Arguments Value Note Examples
Read one or multiple year from files in the FARS format where FARS is US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.
1 | fars_read_years(years)
|
years |
a vector (atomic or list) of integer(s) representing year in 4 digits format YYYY. |
a list of tibble. If a year is invalid return NULL for that year.
The function output a warning in case of invalid year. If all years are invalid returns a list of NULL
1 2 3 4 | ## Not run:
myData <- fars_read_years(c(2013, 2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.