make_filename: Standard data file name

Description Usage Arguments Details Value Examples

Description

Standard data file name

Usage

1

Arguments

year

an integer year value (YYYY)

Details

This function returns a standard name for a given year for the source zip files from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System

Value

a string representing a standard file name for a given year

Examples

1
2
3
4
5
## Not run: 
make_filename("accident_%d.csv.bz2", 2013)
Creates a standard file name for the 2017 dataset

## End(Not run)

barnabe/building_an_r_package documentation built on May 11, 2019, 6:23 p.m.