Description Usage Arguments Details Value Errors See Also Examples
View source: R/fars_functions.R
Reads a .csv file containing FARS data into a tibble
1 | fars_read(filename)
|
filename |
path to the file |
This function takes the path to a file containing FARS data. The FARS data is in .csv.bz2 format, which will be decompressed and read automatically into a tibble.
Requires the readr
and tibble
packages.
a tibble
Will raise an error if the file is not found
fars_read_years()
, fars_summarize_years()
, fars_map_state()
1 2 3 4 | ## Not run:
fars_data <- fars_read("path/to/fars_data.csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.