fars_summarize_years: Total number of accidental injuries based on month for the...

Description Usage Arguments Details Value Examples

Description

This function reads the input file for the year provided by the user and then returns the number of observation for each month of the given year.

Usage

1

Arguments

...

Arguments passed on to make_filename

year

The year for which the information regarding fatal injuries is required. Valid value for <year> will be those year for which user has "Accident_<year>.csv" file present in the local directory.

Details

this function will throw an error if the year provided by user is not a valid year.

Value

This function returns the month and the total number of observation for each month present in the file for the given year.

Examples

1
2

sonam-sharma/pushrepo documentation built on May 30, 2019, 4:10 p.m.