Description Usage Arguments Value Examples
This function allows you to read month and year columns in more than one datasets in working directory at once. It aimed to read datasets especially from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System.
1 | fars_read_years(years)
|
years |
A numeric vector of which year's datasets should be readed. |
This function returns a list, year and month columns of loaded dataframes as elments. If the datasets are not available in the working directory, this function gives error like "warning("invalid year: ", year)".
1 2 3 4 | ## Not run:
fars_read_years(c(2013,2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.