Description Usage Arguments See Also Examples
View source: R/fars_functions.R
Read the fars data into R
This function reads fars data stored as csv files into the working directory
and returns a tibble or dataframe
if the data do not exist an error message is given
You can customize the data to read with the filename
argument
1 | fars_read(filename)
|
filename |
a character string giving the filename to read |
return |
returns the data as tibble/dataframe or an error message if the filename does not exist |
1 2 3 4 5 6 | ## Not run:
fars_read("accident_2015.csv.bz2")
or make the filename with: \code{\link{make_filename}}
make_filename(2015) %>% fars_read()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.