Description Usage Arguments Value Note Examples
This is a function that reads a given filename, given by the filename
argument into R using the read_csv
function from the readr
packages and then returning the read in table as a tbl_df
object from the dplyr package.
1 | make_filename(year)
|
year |
A character string or integer giving the year to use to format the filename. This parameter will be coerced to an integer in the function. |
This function returns a character string of a filename corresponding to the given year
This function is called by the fars_read_years function and not usually called on its own. Hence not exported.
1 | ## Not run: make_filename(2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.