Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
This is a function that takes a filename of a CSV as an argument and reads it in as a data frame table. Successful execution will result in a data frame table object containing the CSV data.
1 | fars_read(filename)
|
filename |
A string filename that corresponds to the CSV to be read in |
It will first check if the filename is valid and print a warning and stop if it is not. The function will generate an error for invalid CSV inputs.
This function returns a tbl_df object
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.