Description Usage Arguments Value Note Examples
fars functions for Coursera R package course
The fars_read function imports a file, if it exists, in csv format and converts it to a table. If file does not exist it returns an error.
1 | fars_read(filename)
|
filename |
A character string indicating the name of csv file |
This function returns a table with data from the loaded file
Function will return error if file does not exist
1 2 3 4 5 | ## Not run:
fars_read(filename="accident_2015.csv.bz2")
t <- system.file("extdata", "accident_2013.csv.bz2", package="fars") fars_read(t)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.