Description Usage Arguments Value Note Examples
fars_read
reads FARS data .csv and converts it to tibble i.e. dplyr::tbl_df(). it used with
fars_summarize_years
, fars_read_years
, make_filename
and fars_map_state
.
1 | fars_read(filename)
|
make_filename |
A string of characters located in WD |
This function returns a tibble of FARS data. As a side side effect, it also prints the tibble.
if filename is not in WD than it returns an error
1 | fars_read("accident_2015.csv.bz2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.