Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function reads a .csv file and convert in to tbl
data
frame object. The main advantage to using a tbl_df over a regular data frame is
the printing: tbl objects only print a few rows and all the columns that fit on
one screen, describing the rest of it as text.
1 | fars_read(filename)
|
filename |
name of a .csv file. |
It returns a tbl
data frame object.
If there is no such file then it will return "file <filename> does not exist".
1 2 3 4 | ## Not run:
fars_read("/home/kanna/Desktop/COURSERA/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.