Description Usage Arguments Value Examples
This basic function takes a csv file path and reads the file using readr::read_csv and dplyr::tbl_df. Note that dplyr::tbl_df (in the code) is deprecated and you should use tibble::as_tibble() instead. The code for this function is part of the Building R Packages course sourced from coursera. Example data is only available for 2013-2015. Requires readr and dplyr to run.
1 | fars_read(filename)
|
filename |
Path to a csv file. |
Returns an object of the class data.frame, dbl_df, tbl.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.