Description Usage Arguments Details Value Examples
This function reads a file in a tibble format and creates a data frame from it. In the data frame, cases correspond to rows and variables to columns in the file.
1 | fars_read(filename)
|
filename |
A character string giving the path to a file. |
First, the function will check if the file named by the argument exists. If it does not, an error will be thrown indicating the specified file does not exist. If the file name is valid, the function reads the data and converts it into tibble format.
This function returns a tibble of the specified data file. Using a missing or invalid value for a file or path name will result in an error.
1 | fars_read("accident_2013.csv.bz2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.