Description Usage Arguments Value Examples
View source: R/fars_function.R
fars_read function reads your data file downloaded from the
Fatality Analysis Reporting System.
If file you are trying to read doesn't exist on the fars database then you will get a message filename does not exist.
Any messages associated with downloading the file will be suppressed. Data will be read using the read_csv function from the readr package.
Dataframe will be stored in tbl_df format using the dplyr package
1 | fars_read(filename)
|
filename |
Path to the file containing data. |
A tibble with data.
1 2 3 4 | ## Not run:
fars_complete_2013 <- fars_read("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.