The goal of farsFiki is to import csv files with accidents data, summarize accidents information and create maps with this data.
You can install the released version of farsFiki from GitHub with:
install_github("fsigal/farsFiki")
This is a basic example which shows you how to solve a common problem:
library(farsFiki)
fars_read(accident_2010.csv.bz2)
make_filename(2010)
fars_read_years(2010:2019)
fars_summarize_years(2010:2019)
fars_map_state(17,2010)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.