Description Usage Arguments Value Note
View source: R/fars_functions.R View source: R/fars_functions.R
This is a function that reads the year entered by a user during function call, and prints the file name corresponding to that year.
1 | make_filename(year)
|
year |
The function argument which stores the year entered by the user, as an integer. |
This function prints the name of the file corresponding to the year entered as a string object.
C-type formatting used here ("sprintf" to convert "year" from integer to string while printing message).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.