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

Description Usage Arguments Details Value Note Examples

Description

use_testthat()

Usage

1
eq_data_read(filename)

Arguments

filename

The name of the NOAA earthquake data file

Details

Function for reading the NOAA earthquake data file

Value

This function returns tbl_df object (earthquake data)

Note

The function will stop If the filename does not exist (error message)

Examples

1
2
3
4
5
## Not run: 
filename<-system.file("data","earthquakes_data.txt.zip",package="capstone")
eq_data_read(filename)

## End(Not run)

arielaragon/Mastering_Software_Dev_R_Master documentation built on May 18, 2019, 9:16 p.m.