Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a function that read data from file referenced by filename
into a tbl_df class object. It will give an error and exist if the file
filename
does not exist in the working directory. The source data
is from the US National Highway Traffic Safety Administration's Fatality
Analysis Reporting System (FARS):
https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars
1 | fars_read(filename)
|
filename |
A character string of file name whose data to be read to an object of class tbl_df. |
This function returns a table/data frame with data from the supplied file name.
1 2 | ## Not run: fars_read("accident_2014.csv.bz2")
## Not run: fars_read("data/accident_2014.csv.bz2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.