make_filename: Create a date specific file name.

Description Usage Arguments Value Source

Description

The function takes a single argment, which is a year defining a time period when data from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System is available for this function. This function is not used directly by the user, it is called from the fars_read_years and fars_map_state functions.

Usage

1

Arguments

year

An integer or an object that can be coerced to an integer. Should be 2013, 2014, or 2015.

Value

This function returns a character string representing a file extension for the National Highway data available for extraction. The character string is then sent to the fars_read function.

Source

US National Highway Traffic Safety Administration's Fatality Analysis Reporting System


greegreg/fars documentation built on May 31, 2019, 8:07 a.m.