fars_summarize_years: FARS data number of entries per year and month

Description Usage Arguments Value Examples

Description

Read downloaded data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System and delivers a summary with number of entries per year and month.

Usage

1

Arguments

years

A list of wanted years in the format yyyy (four digits)

Value

A data frame, with the number of entries for the matching year (columns) and month (rows).

If the file for a year is not found, a warning will be issued and there will be no column for the year.

Examples

1
2
3
4
## Not run: 
fars_summarize_years(2012:2015)

## End(Not run)

danielmoralesx/dmorales.fars documentation built on May 10, 2019, 1:09 a.m.