eq_clean_data: Module1: Cleaning NOAA earthquake data

Description Usage Arguments Details Value Examples

View source: R/eq_clean_data.R

Description

Module1: Cleaning NOAA earthquake data

Usage

1
eq_clean_data(datatoclean)

Arguments

datatoclean

A data frame with raw data obtained from NOAA website

Details

The function returns a date column created by uniting the year, month, day and converting it to the Date class

Value

A data frame with cleaned date, latitude and longitude numerical columns

Examples

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

## End(Not run)

vnmath/SoftwareDevinR documentation built on July 6, 2020, 9:36 a.m.