Description Usage Arguments Value Examples
This function reads yearly and monthly data from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System and returns an error if the selected years are not written corrected, found in the working directory files or if the working directory is not set properly
1 | fars_read_years(years)
|
years |
An character vector, integers or a list containing years |
a list of data frames tbl containing MONTH and a newly created variable
year for each year specified as parameter
Returns NULL
if the years can not be found in the files in the directory
or if the directory is not properly set
1 2 3 4 | ## Not run:
fars_read_years(2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.