The functions provided in this pkg
package use data 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.
The functions allow the user to easily import FARS data into R and create simple summary statistics/visualization from the imported data.
This package has 5 functions that the user can utilize - fars_read: To import csv file as data frame - make_filename: To create filename based on user defined year - fars_read_years: To check if data exist for given year and import data - fars_summarize_years: Summarize yearly data - fars_map_state: Create state map based on given year
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.