fars_read_years: 'fars_read_years' takes a list of years and returns a list of...

Description Usage Arguments Value Source See Also Examples

Description

fars_read_years takes a list of years and returns a list of data.frames with month and year columns based on provided files. the files need to be in the working directory.

Usage

1

Arguments

years

a list or vector of integers/characters - years of origin

Value

a list of data.frames with month and year columns

Source

Coursera Mastering Software Development in R - Johns Hopkins University

See Also

make_filename fars_read fars_summarize_years fars_map_state

Examples

1
2
3
4
5
6
7
## Not run: 
   fars_read_years(year:(year+n))
   fars_read_years(list(year,(year+n)))
   fars_read_years(year)
   fars_read_years(list(year:(year+n))) #example of error (return NULL)

## End(Not run)

Polkas/farsfuns documentation built on May 28, 2019, 2:25 p.m.