This package provides functions to read and analyze "Fatality Analysis Reporting System" datasets. The package contains:
fars_map_state
: Plot accidents to a map of a specific state for a given yearfars_read
: Read "Fatality Analysis Reporting System" datasetsfars_read_years
: Read "Fatality Analysis Reporting System" data specifying the year numberfars_summarize_years
: Summarize the number of accidents by month and year in "Fatality Analysis Reporting System" data specifying the year numbersmake_filename
: Create a default filename for a given year To install the package type the following (the development version from Github):
library(devtools) install_github("Solymi90/Fars.Assignment") library(Fars.Assignment)
For some ideas on getting started with analyzing FARS data, check out the FARS's official website.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.