Description Usage Arguments Value Examples
This function uses the read_csv function from the readr package to load a given .csv file into R, and then converts the imported data into the data frame tbl structure. If the file does not exist, the function will stop and return an error.
1 | fars_read(filename)
|
filename |
a character string for the file name input of the .csv file |
this function either returns a data frame tbl of the .csv data, or an error, if a file for the given year does not exist
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.