Description Usage Arguments Details Value Note See Also Examples
View source: R/fars_functions.R
The function reads data from a CVS file, stored on disk. The data are from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System (FARS), which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.
1 | fars_read(filename)
|
filename |
A character string giving the name of the CVS data file to read, see notes. |
For more information, see:
https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars
https://en.wikipedia.org/wiki/Fatality_Analysis_Reporting_System.
A data frame with data readed from the CVS data file, or an error/stop if the file does not exists.
To generate file name use: make_filename
.
make_filename
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.