fars_read: Read the fars data into R This function reads fars data...

Description Usage Arguments See Also Examples

View source: R/fars_functions.R

Description

Read the fars data into R This function reads fars data stored as csv files into the working directory and returns a tibble or dataframe if the data do not exist an error message is given You can customize the data to read with the filename argument

Usage

1
fars_read(filename)

Arguments

filename

a character string giving the filename to read

return

returns the data as tibble/dataframe or an error message if the filename does not exist

See Also

make_filename

Examples

1
2
3
4
5
6
## Not run: 
fars_read("accident_2015.csv.bz2")
or make the filename with: \code{\link{make_filename}}
make_filename(2015) %>% fars_read()

## End(Not run)

LauraR09/farsfunctions documentation built on Nov. 10, 2019, 4:32 p.m.