eq_data_read: Read the NOAA data set in a dataframe manner.

Description Usage Arguments Value Note Examples

Description

This function reads the raw NOAA earthquake data from the base file and converts it into a clean dataframe for further analysis.

Usage

1
eq_data_read(filename)

Arguments

Dataset

in a tab-delimited format.

Value

This function convert the raw input into a dataframe and returns a tibble as an output.

Note

If the base file does NOT exist at the specified directory, the function throws an error message and stops executing.

Examples

1
2
3
4
5
## Not run: 
filename<-system.file("extdata","data.gz",package="NOAAA")
eq_data_read(filename)

## End(Not run)

shubh-b/NOAAA documentation built on May 21, 2019, 2:31 a.m.