Description Usage Arguments Details Value Depends on Examples
View source: R/fars_functions.R
Reads a FARS data file in R as data frame table.
1 | fars_read(filename)
|
filename |
The name of the file which the data are to be read from. |
This function is the principal means of reading FARS tabular data into R.
The file must be in a CSV format. If the file, specified through filename
,
does not exist the execution is stopped and an error is returned. Otherwise the
content of the file is read. Please note that while reading the file all
warnings are suppressed.
A data frame table (see tbl_df
in the dplyr
package).
read_csv
in the readr
package.
tbl_df
in the dplyr
package.
1 2 3 4 | ## Not run:
fars_read("/tmp/data/fars/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.