eq_clean_data: Clean NOAA dataset

Description Usage Arguments Value Examples

View source: R/clean_data.R

Description

Takes raw NOAA data frame and returns a clean data frame. The clean data frame has the following: A date column created by uniting the year, month, day and converting it to the Date class LATITUDE and LONGITUDE columns converted to numeric class.

Usage

1

Arguments

raw

raw NOAA data frame

Value

a clean data frame

Examples

1
2
3
4
5
## Not run: 
data <- readr::read_delim("earthquakes.tsv.gz", delim = "\t")
clean_data <- eq_clean_data(data)

## End(Not run)

vadimus202/quakeR documentation built on May 19, 2019, 1:47 a.m.