View source: R/fars_functions.R
fars_read | R Documentation |
Data reading by file name
fars_read(filename)
filename |
the name of the file containing the data to be read. |
This function reads a FARS file and creates a data frame table. The file name is generated by the function make_filename.
This function returns a data frame table when the file exists. An error is given if the file doesn't exist. The file has to be located in the present working directory
## Not run:
my_data <- fars_read("accident_2013.csv.bz2")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.