make_filename: Get Fatality-Analysis-Reporting-System-(FARS) csv filename

Description Usage Arguments Value Examples

Description

This function returns the filename for FARS csv data associated with a particular year. See the FARS website for more info. The code for this function is part of the Building R Packages course sourced from coursera. Example data is only available for 2013-2015.

Usage

1

Arguments

year

The year associated with the file name you want to return.

Value

Returns a character string representing the name of a csv file.

Examples

1
  print(make_filename("2015"))

simongarisch/R-Packages-Week-4 documentation built on May 29, 2019, 9:36 a.m.