fars_summarize_years: Load FARS data files and show counts

Description Usage Arguments Value Examples

View source: R/fars_script.R

Description

This function loads FARS files for specified years and shows a count of records for each year.

Usage

1

Arguments

years

Integer or character vector for the years to load data for.

Value

table containing data for all specified years and the count of records for each year. If the function is not able to coerce the inputs to integers the function will generate an error. If the files are not found at the current working directory the function will return an error. Issues reading in the CSV files also return errors.

Examples

1
2

j-new/FARSaccess documentation built on Feb. 18, 2018, 9:55 a.m.