eq_clean_data: Reads NOAA earthquakes data set from .txt file and convert to...

Description Usage Arguments Value Examples

Description

This function takes raw NOAA data frame and returns a clean data frame- 1) A date column created by uniting the year, month, day and converting it to the Date class 2) LATITUDE and LONGITUDE columns converted to numeric class

Usage

1
eq_clean_data(raw_data_file)

Arguments

raw_data_file

raw NOAA dataframe .txt file location

Value

clean dataframe with Date, latitude, longitude conversion.

Examples

1
2
3
4
## Not run: 
 eq_clean_data("signif.txt")

## End(Not run)

garvish/earthquakes documentation built on May 16, 2019, 5:41 p.m.