Description Usage Arguments Details Value Examples
This is a simple function returning the name of the file, according to the year given in the function argument
1 | fars_make_filename(year = "2013")
|
year |
A character string (or numeric/integer value) specifying year of interest for FARS data. The function uses as.integer(year), therefore, given agrument should be coercible to integer Parsing from numeric should be taken with care, 2015.7 will result in 2015. |
The function can malfunction in case the specified year is not coercible to integer or database for resulting integer is missing
This function returns string with filename matching the filename from Coursera dataset (does not include path)
1 2 3 | fars_make_filename("2013")
fars_make_filename(2014)
fars_make_filename(2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.