Read downloaded data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System into a list of months available per year.
A list of wanted years in the format yyyy (four digits)
A list of data frames, with one entry per year. Each data frame has a column with the month of each row from the original file and a column year.
If the file for a year is not found, a warning will be issued, and the corresponding entry in the list is set to NULL.
1 2 3 4
## Not run: fars_read_years(2013:2016) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.