fars_read_years: Print "fars_read_years"

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function creates 2 columns Month and Year related to the source file of the specified year.

Usage

1

Arguments

years

The value of the year. The year can be set as character or numeric and will not break the execution of the code. Also you can use a vector of years.

Value

This function returns 2 columns Month and Year.

Note

In this function, are used the mutate ad select functions from dplyr package. So please make sure to have upfront install and load the dplyr package otherwise you may face issues/errors during the execution.

Examples

1
2
fars_read_years("2013")
fars_read_years(c(2013,2015))

a-antonopoulou/TestAssignment documentation built on Aug. 24, 2020, 2:23 a.m.