Description Usage Arguments Value Examples
Iteractive function that enable obtain the statistics from multiple .csv files from a range of years It will read a group of files, row_bind all the data into one data.frame and them compute statistics from the final data set.
1 | fars_summarize_years(years)
|
years |
a number that represents the year or years of data to import. the user can import 1 year data or create a sequence like n:m (n<=m) and the function will read the files from year n to m |
This function returns a dataset with the count os accidents of every month (columns) grouped by year (rows)
1 2 | ## Not run: fars_summarize_years(2013)
## Not run: fars_summarize_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.