Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a function that read a csv.bz2 file. You can
manually write the name of the csv.bz2 file in the filename parameter
and it is utilized in conjuntion with the make_filename
function for files obtain
from the US National Highway Traffic Safety Administration's that have this
nomenclature "accident_
It will return a tibble object that have all these classes: 'tbl_df', 'tbl' and 'data.frame'.
The function return an error message if the file does not exist or if it is not find.
1 | fars_read(filename)
|
filename |
A csv.bz2 file that can be explicitly specify
or from a string "character" generated with the |
This function returns the dataframe tbl from an input that is a csv.bz2 file.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.