Description Usage Arguments Details Value Examples
This function opens your files regarding the specific year and also does summarization. It will create one file using all files you have given the function by simply binding the rows together. Then it groups the data by year and month and counts observations per group (month of a year). In the end it will give you the summarized data. Each column will represent the year you specified with the number of observations per specific month.
1 | fars_summarize_years(years)
|
years |
numerical variable - can be a list |
It uses function 'spread' from tidyr package to describe the data per year. If you submit a non-existing year, the same errors as for fars_read_years function will appear.
a tibble where aach column represents the year you specified with the number of observations per specific month.
1 2 3 4 | ## Not run:
fars_summarize_years(list(2013))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.