fars_read_years: Fars read year

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This functions read the fars data from a given year and return a tibble with month and year columns, one line by accident. The function returns an error if the file for the input year is not found.

Usage

1

Arguments

years

Vector of numeric or character with the year the function will return the data from

Value

A tibble by given year with 2 columns each for MONTH and year of the event

Examples

1
fars_read_years(c(2013,2014))

Capucine0210/CourseraProject documentation built on Jan. 1, 2022, 3:06 p.m.