This is just a mock package for week 4 assignment of Cousera course Building R Packages It contoins a series of functions that where documented and tested to be deployed as a package.
The main objectives are:
make_filename : Help function to create a file name string
fars_read_years : Iteractive function that enables the user to read multiple .csv files from a range of years. It will read a group of files on the same folder changing the year inside a range that was defined by the user
fars_summarize_years : Iteractive function that enable obtain the statistics from multiple .csv files from a range of years. It will read a group of files, row_bind all the data into one data.frame and them compute statistics from the final data set.
fars_map_state : Function that enables to obtain the statistics from .csv files from specific year and US State and plot on a map the number of acidents per geographical location. It will read a group of files, select specific states, filter the imported data and plot the counts on a map using longitude and latitude.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.