fars_read: fars_read

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This is a function that loads the database using the function "read_csv" from the "readr" package.

Usage

1
fars_read(filename)

Arguments

filename

A valid .csv file with the information of interest.

Value

This function creates a table from the data frame object.

Note

If the filename given does not exists, the function stops and prints "' does not exist". This function also suppresses additional information related with the csv database characteristics and potential errors.

Examples

1
fars_read("dataexample.csv")

fardl/framirez documentation built on Feb. 26, 2020, 9:40 a.m.