fars_read_years: fars_read_years

Description Usage Arguments Details Value See Also Examples

View source: R/fars_read_years.R View source: R/fars_functions.R

Description

The function fars_read_years save the name of a specific data base according to a year, read the ddatabase and transmute it drops existing variables as year.

The function fars_read_years save the name of a specific data base according to a year, read the ddatabase and transmute it drops existing variables as year.

Usage

1
2
3

Arguments

years

as a variable to tranform it in an integer value accross make_filename. It will be used when it generate the name of a file with the function fars_read.

Details

you need enter a number as a year contained in the set: 2013, 2014 or 2015 or it will return a warning as a message.

you need enter a number as a year contained in the set: 2013, 2014 or 2015 or it will return a warning as a message.

Value

if the year is in the set: 2013, 2014 or 2015, it will transmute a database in a new data frame depending on a specific month. Otherwise it will print a warning.

if the year is in the set: 2013, 2014 or 2015, it will transmute a database in a new data frame depending on a specific month. Otherwise it will print a warning.

See Also

fars_read

make_filename

Examples

1
2
## Not run: fars_read_years(2013)
fars_read_years(2013)

RG9303/Project-RG-Package documentation built on June 16, 2020, 3 p.m.