Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
This is a function that takes a year in the form of an integer or string as an argument and then uses that value to read in a CSV as a tbl_df for data of that given year and and returns a monthly summary of the observations.
1 | fars_summarize_years(years)
|
years |
A year passed as an argument in the form of an integer or string for which the data should be read in. |
This function will return an error message for invalid years.
This function returns a tbl_df object
1 2 3 4 5 | ## Not run:
fars_summarize_years(2013)
fars_summarize_years('2013')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.