make_filename: Create a file name from a given year.

Description Usage Arguments Details Value Examples

Description

This function creates a string that is the file name for the FARS data set of a given year.

Usage

1

Arguments

year

the number of the year for whose data set you want the file name

Details

The function will try to cast the parameter into an integer. Errors may result from casting a variable that cannot be cast into an integer.

Value

the file name of the FARS data set for the given year

Examples

1
2
3
4
## Not run: 
f <- make_filename(2013)

## End(Not run)

plexxx/myAssignment documentation built on May 9, 2019, 12:49 p.m.