Description Usage Arguments Value Examples
Given a file name, this function imports a file in CSV format and converts it in a object with the classes "tbl_df", "tbl" and "data.frame". Otherwise, it stops the execution an returns an error message.
1 | fars_read(filename)
|
filename |
a charcater string specifying the file name |
This function returns an object with the classes "tbl_df", "tbl" and "data.frame".If the file doesn't exist in the working directory, it will stop the execution and return an error message
1 2 3 4 | ## Not run:
data_2013 <- fars_read("accident_2013.csv.bz2")
data_2013
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.