make_filename: Create a file name

Description Usage Arguments Value Examples

View source: R/fars_function.R

Description

This function creates an appropriate file name for a given year.

Usage

1

Arguments

year

A year used to make a file name. This should be a numeric.

Value

Returns a plot of the accidents based on the state.num and year inputs. Returns an error if the state or year do not exist in the data set.

Examples

1
## Not run: make_filename(2013) #returns "accident_2013.csv.bz2"

Souravp33/RPackageBuilt documentation built on May 28, 2019, 12:58 p.m.