eq_clean_data: Clean NOAA data

Description Usage Arguments Details Value Examples

View source: R/clean.R

Description

Clean NOAA Significant Earthquake Database and store it into a dataframe

Usage

1

Arguments

raw

Raw dataframe obtained after reading NOAA Significant Earthquake Database tab-separated file

Details

The clean data frame should have the following:

  1. 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

Value

The clean dataframe after creating DATE column and transforming LATITUDE/LONGITUDE columns

Examples

1

raggaraluz/mastering_r_capstone documentation built on May 29, 2019, 6:53 p.m.