Description Usage Arguments Value Note References Examples
View source: R/fars_functions.R
This functions reads a csv file that is expected to contain data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System.
1 | fars_read(filename)
|
filename |
a charcter string that describes the path and name of the
csv file including FARS data. See also |
This function returns a tibble containing the FARS data
The function uses read_csv
to read the data.
The validity of the data is not checked. Missing file will cause an error.
Fatality Analysis Reporting System
1 2 | fars_file_name <- make_filename(2014)
## Not run: dat <- fars_read(fars_file_name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.