This file should contain instructions about how to use the package. Just as a matter of example I show a simple call to fars_map_state

library(Assignment2)
library(dplyr)

y<-2013
fn<-make_filename(y)
df<-fars_read(fn)
tot_num_fatalities<- df %>% summarize(n=n())
sprintf("the total number of fatalies in %d is %d ",y,tot_num_fatalities$n)


andyc-rpackage/Assignment2 documentation built on May 10, 2019, 11:44 a.m.