make_filename: Function "make_filename" - creates a file name in a specified...

Description Usage Arguments Details Value Note Examples

Description

Function creates a string to be used as a name of CSV file using a given year and a string "accident_" ... ".csv.bz2".

Usage

1

Arguments

year

A string or an integer

Details

This function contributes to the functions fars_read_years, fars_map_state

Value

This function returns a string with the CSV file name for a given year

Note

The returned string of this function used in the function fars_read and as an input in the function fars_map_state to make an input parameter filename

Examples

1
2
3
## Not run: 
make_filename(2015)
## End(Not run)

olb1605/FARS_Package_Coursera documentation built on May 23, 2019, 4:05 a.m.