Description Usage Arguments Value Note Examples
This is a function which reads the FARS data from a csv file into a dataframe and converts it into a tbl_df object
1 | fars_read(filename)
|
filename |
A character string which is the name of the csv file with the FARS data |
This function returns the FARS data in a tbl_df object
If the filename does not exist, the function stops with an error message.
1 2 | filename<-system.file("extdata","accident_2013.csv.bz2",package="FARSanalysis")
fars_read(filename)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.