Description Usage Arguments Details Value Note Examples
This is a function that loads a csv file (specified using the filename
argument) and returns it as tibble.
1 | fars_read(filename)
|
filename |
a character vector of length one which specifies the data path and/or filename which should be loaded. |
This function is a wrapper for the read_csv
and tbl_df
functions. Therefore
the dplyr and readr package has to be installed and loaded.
This function returns a tibble with the contents of the csv. file
If the filename
argument does not represent a file an error occurs.
1 2 | ## Not run: mydata <- fars_read("accident_2013.csv")
## Not run: myData <- fars_read("accident_2014.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.