make_filename: make_filename

Description Usage Arguments Value Examples

Description

This function creates, with the given input, the name of the data file with fatal injuries in motor vehicle traffic crashes in the USA.

Usage

1

Arguments

year

An integer or character string denoting a year

Value

This function returns the character string "accident_<input as numeric>.csv.bz2" with <input as numeric> the given input converted to numeric

Examples

1
2
3
4
5
## Not run: 
make_filename(2013)
make_filename("2014")

## End(Not run)

FerrieHeskes/Deel3-week2 documentation built on May 16, 2019, 10:04 a.m.