fars_summarize_years: Read and summarize all fatal injuries by month and year

Description Usage Arguments Value Examples

View source: R/fars_data.R

Description

Summarizing the fatal injuries per month and year by given years. Therefore fars_read_years is used. To exceute the functions the following functions need to be imported:

Usage

1

Arguments

years

A vector of integer values defining years to be loaded

Value

Returning a dataframe with the summarized injuries. Month will be shown as rows and years as columns

Examples

1
2
fars_summarize_years(c(2013, 2015))
fars_summarize_years(c(2014, 2015))

FlorianHandke/coursera_building_r_packages documentation built on July 15, 2020, 12:54 a.m.