make_filename: Create the proper file name

Description Usage Arguments Value Examples

Description

This function takes a year and uses it to create a string representing a file name. Will result in an error if the string cannot be coerced to an integer

Usage

1

Arguments

year

A string or numeric in "yyyy" format

Value

This function returns a string generated using the year provided

Examples

1
2
3
4
## make_filename("2015")

## year <- 2015
## fileName <- make_filename(year)

alphaecho1229/Week4Assessment documentation built on May 12, 2019, 10:30 p.m.