Description Usage Arguments Details Value Note Examples
Reads and Prints month and year data in the dataframes from working directory that contain fatalities data of accidents in the US in given years
1 | fars_read_years(years)
|
years |
A vector of years where each year is a 4 digit numeric or character string |
This function takes vector of valid years and applies make_filename and fars_read functions to read and print tibble of valid files from working directory
Prints a tibble with Month and year for first 10 rows for each of the valid year inputs
Function returns an error message if the years input is not a valid year
1 2 3 4 | ## Not run:
fars_read_years(c(2013,2014))
fars_read_years(c(2013,2014, 2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.