Description Usage Arguments Value Examples
The function takes the list of years that we want to know about the accident, find the files that record those accidents by the year and returning the columns of the months and the year. An error "invalid year: <inputed year>" will be printed if the data of the year we inputed is not availabe.
1 | fars_read_years(years)
|
years |
A list of years (in integer) that we want to read the data about. |
A data frame with 2 columns specifying the Month and the year for each accidents by the years that we put in the list.
1 2 | fars_read_years(c(2013, 2014))
fars_read_years(2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.