make_filename: File Name Generator.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Generates a filename (character) in the format similar to other files given as a part of the 1st assignment of the course 'Building R Packages" on Coursera.

Usage

1

Arguments

year

The year for which the filename has to be generated.This should be an integer value.

Value

The filename in the above mentioned format for the year which has been supplied. (An object of class character).

Examples

1
2
myfilename <- make_filename(2020)
str(myfilename)

abhinav-piplani/Assignment1 documentation built on May 27, 2019, 7:39 a.m.