Description Usage Arguments Details Value Examples
This simple function serves as a basic check and data import for the several other functions provided in this package
1 | fars_read(filename)
|
filename |
this parameter takes the expected name of the file that contains Fatality Analysis Reporting System data |
this function requires you to unzip the fars_data file in order to reach the .bz2 data files that is contained inside for each individual year. Working directory needs to contain the files that are included in data folder of fars_data .zip file
This function return a data frame using dplyr package's tbl_df function and readr package's read_csv function
1 2 3 4 | ## Not run:
fars_data(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.