library(FarsProject) library(dplyr) library(maps) library(tidyr)
This is overview of FARS PAckage and its usage .This package contain function to read the FARS data and do analysis on accident in a given year.
fars_read()
fars_summarize_years()
fars_map_state()
filename <- system.file("extdata", "accident_2013.csv.bz2", package = "FarsProject") fars_read(filename)
setwd(system.file("extdata", package = "FarsProject")) years <- c(2013) fars_summarize_years(years)
setwd(system.file("extdata", package = "FarsProject")) fars_map_state(20, 2013)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.