This is a function that loads a csv file (specified using the
filename argument) and returns it as tibble.
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
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
filename argument does not represent a file an error occurs.
## 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.