Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a function that read the dataset in the year you choose. The data are from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, 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 filename generated by the make_filename function. |
This function returns a dataframe in the year you choose.
1 2 3 | ## Not run: filename=make_filename(2013)
## Not run: df=fars_read(filename)
## Not run: head(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.