fars_read: 'fars_read' returns a data.frame with data from the supplised...

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

The function takes a character vector of a path of a filename to read into R. If the filename does not exist the function will stop and an error will be thrown.

Usage

1
fars_read(filename)

Arguments

filename

a character vector of filename of a csv file to read

Value

this function returns a dataframe of the data read in from a csv file

Note

fars_read depends on read_csv and tbl_df from the readr and dplyr packages respectively

Examples

1
2
3
4
## Not run: 
  fars_read("data/filename.csv")

## End(Not run)

MarijusB/building_first_R_package documentation built on Aug. 6, 2020, 12:12 a.m.