make_filename: Print "Make FILE NAME of Accident Data"

Description Usage Arguments Value Note

View source: R/fars_functions.R View source: R/fars_functions.R

Description

This is a function that reads the year entered by a user during function call, and prints the file name corresponding to that year.

Usage

1

Arguments

year

The function argument which stores the year entered by the user, as an integer.

Value

This function prints the name of the file corresponding to the year entered as a string object.

Note

C-type formatting used here ("sprintf" to convert "year" from integer to string while printing message).


Urmimala-Nath/courseraAccFARS documentation built on July 30, 2020, 4:28 a.m.