Description Usage Arguments Value Examples
This function reads a file by firstly checking that a file with that name exists and if it does, it converts it into a data frame table You must use system.file("extdata", "filename", package = "fars2") as the argument of the function to load the package internal data set
1 | fars_read(filename)
|
filename |
A character string giving the file's name the function will read |
This function returns a error message either if the file's name does not exits or a data frame table representing the data of the file
1 | fars_read(system.file("extdata", "accident_2015.csv.bz2", package = "fars2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.