Description Usage Arguments Value Examples
Reading data from the Fatality Analysis Reporting System The fars_read function reads data file into a dplyr data table. If the data file does not exist in the working directory, this function throws an error.
1 | fars_read(filename)
|
filename |
A character string giving a filename. |
The function reads the given file and creates a dplyr data table from it. If file with the given name does not exist, the function returns an error message.
1 2 3 4 | ## Not run:
fars_read("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.