fars_make_filename: Create filename following the Coursera FARS datasets naming...

Description Usage Arguments Details Value Examples

Description

This is a simple function returning the name of the file, according to the year given in the function argument

Usage

1
fars_make_filename(year = "2013")

Arguments

year

A character string (or numeric/integer value) specifying year of interest for FARS data. The function uses as.integer(year), therefore, given agrument should be coercible to integer Parsing from numeric should be taken with care, 2015.7 will result in 2015.

Details

The function can malfunction in case the specified year is not coercible to integer or database for resulting integer is missing

Value

This function returns string with filename matching the filename from Coursera dataset (does not include path)

Examples

1
2
3

xzguqgsntdzq/Review_2 documentation built on May 13, 2019, 4:48 p.m.