Description Usage Arguments Value Examples
View source: R/fars_function.R
This function creates an appropriate file name for a given year.
1 | make_filename(year)
|
year |
A year used to make a file name. This should be a numeric. |
Returns a plot of the accidents based on the state.num
and
year
inputs. Returns an error if the state or year do not exist in the
data set.
1 | ## Not run: make_filename(2013) #returns "accident_2013.csv.bz2"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.