make_filename: Create filename for a dataset from a specific year

Description Usage Arguments Value Note Examples

View source: R/Cousera4.R

Description

This function creates a filename for a dataset that contains US National Highway Traffic Safety Administration data from a specific year

Usage

1

Arguments

year

Integer number indicating year of interest

Value

String with a filename that can be used as a parameter for fars_read

Note

Generates an error if year parameter supplied by the user is not an integer number.

Examples

1
## Not run: make_filename(2013

ulicheva/Coursera4 documentation built on May 3, 2019, 2:24 p.m.