knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The functions provided in this far() package are able to be used to calculate the required values based on 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
library(far)
This is the introduction to "fars_read" function.
This function returns reading the dataset. If the dataset is not available it informs about the unavailability.
This function returns making the file name
This function returns the "Month" & "Year". If incorrect year has entered it retunrs informing that the year is invalid.
This function returns the number of records grouping by year & month.
This function returns the map of the given state based on latitude and longitude from the dataset. If an invalid state number is incerted, an error message will be displayed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.