Description Usage Arguments Value Note References Examples
Reads a Fatality Analysis Reporting System (FARS) file in csv format and creates a dplyr tbl_df from it.
1 | fars_read(filename)
|
filename |
A character string giving the name of the file to read. |
This function returns a dplyr::tbl_df
of the file.
If the file or permission to it does not exist, an error is produced.
https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars
1 2 | test_data <- system.file("extdata", "accident_2014.csv.bz2", package = "fars")
fars_read(filename=test_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.