Description Usage Arguments Details Value Examples
This function reads a FARS dataset containig in csv file given in argument. If the file doesn't exist the function stops and prints an arror message saying that the data doesn't exist. If the data exist, the functions reads it and create a data frame from it.
1 | fars_read(filename)
|
filename |
The name of the csv.bz2 file which the data are read from. |
If the format of the file is not csv.bz2 or csv, the function returns an error message saying "invalid file argument"
a data frame tbl
1 | acc2013 <- fars_read ("accident_2013.csv.bz2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.