fars_summarize_years: Get statistics of accidents of multiple year per month

Description Usage Arguments Value Examples

Description

Iteractive function that enable obtain the statistics from multiple .csv files from a range of years It will read a group of files, row_bind all the data into one data.frame and them compute statistics from the final data set.

Usage

1

Arguments

years

a number that represents the year or years of data to import. the user can import 1 year data or create a sequence like n:m (n<=m) and the function will read the files from year n to m

Value

This function returns a dataset with the count os accidents of every month (columns) grouped by year (rows)

Examples

1
2
## Not run: fars_summarize_years(2013)
## Not run: fars_summarize_years(2013:2015)

blewy/r_package_coursera documentation built on May 7, 2019, 10:38 a.m.