Description Usage Arguments Value Examples
This is a simple function that reads csv data file using read_csv from readr package. The function begins with checking whether the filename provided to the function as input exists before reading it as a dataframe in r.This function has been customized NOT to display the progress report on reading time in an interactive session.Additionally, while creating the data in R session, this function ignores all simple messages in the context
1 | fars_read(filename)
|
filename |
A character sting specifying the pathname of the file located in the local computer. |
This function returns a dataframe in R session after reading the filename provided as parameter of the function
1 2 3 4 | ## Not run:
fars_read("~/data/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.