Description Usage Arguments Value Examples
This function perform the summarization which consist in the lines number of each dataset, and bind the separated dataset into one data.frame (using bind_rows). Later transform rows into column by the spread function. As a result, years in columns rows as months.
1 | fars_summarize_years(years)
|
years |
Could be a single year or a list pf years. |
The return will be a data.frame with years in columns and months in rows. Each row represent the number of accidents.
1 | ## Not run: fars_summarize_years(years = list(2013,2014,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.