fars_summarize_years: fars_summarize_years counts for each year given in input, the...

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

fars_summarize_years counts for each year given in input, the number of accidents per MONTH. This function calls fars_read_years.

Usage

1

Arguments

years

An integer vector with all the target years

Value

A dataframe with n+1 column : MONTH and n year. Values of n year is the accident number for specific a month. If the year doesn't exist in the files, return warning

Examples

1
fars_summarize_years(c(2014, 2015)) -> success

axellencls/roadAccidentsStudy documentation built on April 5, 2020, 12:53 a.m.