Description Usage Arguments Details Value Note Examples
far_raed
is a function which reads an accident data from the US FARS (Fatality Analysis Recording System),
by yearly from 2013-2015.
1 | fars_read(filename)
|
filename |
A chracter of filename of accident which has the form of "accident_2013.csv.bz2". The file sholud not be a vector. |
To import the accident data saved as CSV
file, first uses function.
And then converts to tabular data frame using a tbl_df
function. If the file name does't exist, it throws an error with the file name does not exist.
It returns a data fram of 50 variables where the number of rows varies by year. If the file does't exist it returns does not exist.
To generate file name use: make_filename
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.