Package built according to the instructions of Week 4, Building R Packages course. The following functions in this package are to be used for reading and analyzing purposes of the Fatality Analysis Reporting System data:
1) fars_read(): Creates a dataframe object from the specified file.
2) make_filename(): Generates filenames of the accident_
3) fars_read_years(): Creates a dataframe object based on the selected years.
4) fars_summarize_years(): Aggregation of the dataframe object based on the selected years.
5) fars_map_state(): Generates a plot for the selected state and year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.