Description Usage Arguments Value Examples
fars_read
function reads a csv file as a dataframe
the function takes a string argurment which is the name of the data filename
if it does not exist, it will generate an error like this: "File 'filename' does not exist"
otherwise, the function will recognise the data and will read the filename as a dataframe
1 | fars_read(filename)
|
filename |
A string character that represents a data filename in csv format to be read |
A data frame read from the filename argument using the dplyr package. If it does not exists, it will throw an error
1 | ## Not run: fars_read("accident_2015.csv.bz2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.