Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a simple function that silently reads a csv file of Fatality Analysis Reporting System data into a tibble. It will check to make sure the file exists before attempting to read it.
A path (character) to the file the function will read. Note that this can be a compressed file.
This function returns a tibble (a tidyverse version of a data frame) containing the Fatality Analysis Reporting System data.
1 2 3 4
## Not run: fars_read("data/accident_2013.csv.bz2") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.