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_.csv.bz2 form.

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.



JimMeister/farsdata documentation built on May 28, 2019, 12:43 p.m.