This package allows the seamless visualisation of data from the US National Highway Traffic Safety Administration Fatality Analysis Reporting System. This system can be found on the web here.
There are two exported functions:
fars_map_state()
and fars_summarize_years()
The parameters and outputs for both are found withing the help documentation for each. Type:
?fars_map_state
or
?fars_summarize_years
to find more details.
No data is included in this package. Data can be obtained from the above mentioned FARS link. The only criteria is that the data should be in CSV format and compressed bz2 format. The data files must reside in the same working directory as the R script files containing the above functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.