Description Usage Arguments Value Examples
View source: R/fars_functions.R
A helper (not exported) function used by fars_read_years
and fars_map_state
functions. It takes a file name and reads in the data storing it in a data frame.
If the file does not exist the function throws an error.
1 | fars_read(filename)
|
filename |
A character string giving the name of the file from to import the data from |
This function returns a data frame containing the fars data for a given year.
1 2 3 4 | ## Not run:
fars_read("accident_2014.csv.bz2")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.