Description Usage Arguments Details Value
View source: R/fars_functions.R
Function to read FARS file.
This function uses readr and dplyr packages. It takes a CSV file as an input filename parameter. If the file does not exist in the working directory, this function stops with an output message that the file does not exist. If the file exists, this function reads it into dataframe object. It suppresses messages and progress bar while reading the file.
Function to load a CSV dataset into a dataframe
1 | fars_read(filename)
|
filename |
Path to file |
Dataset must accomplish the FARS structure
The dataframe generated Error if file doesn't exist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.