eq_read_data: Mastering Software Development in R Specialization Capstone...

Description Usage Arguments Value Note Examples

View source: R/functions.R

Description

Mastering Software Development in R Specialization Capstone Project Coursera Capstone Project Read Earthquakes data.

Usage

1
eq_read_data(filename)

Arguments

filename

A caracter that contains the name of the file with its respective extension.

Value

This function returns the read data in a "dataframe", "tbl_df", "tbl" format.

Note

This function will generate an error if the filemane is wrong or have a wrong extension.

Examples

1
2
3
4
5
## Not run: 
file<-system.file("extdata","earthquakes_data.txt.zip",package="Capstone")
eq_read_data(file)

## End(Not run)

Fr3ddy1/Capstone documentation built on May 26, 2019, 7:43 p.m.