eq_clean_data: earthquake package

Description Usage Arguments Details Value Examples

View source: R/eq_clean_data.R

Description

2.Clean earthquake data with eq_clean_data function

Usage

1

Arguments

x

a dataframe or tibble to be cleaned

Details

This function is used to clean variables to be used in the plots.It will generate a DATE variable of class Date based on YEAR, MONTH and DAY in the data set. It will convert LATITUDE, LONGITUDE, EQ_PRIMARY, TOTAL_DEATHS to numeric and clean LOCATION_NAME using eq_location_clean().

Value

a cleaned dataframe or tibble

Examples

1
2
3
4
## Not run: 
data<-eq_clean_data(data)

## End(Not run)

hsm-stephanie/earthquake documentation built on April 30, 2020, 12:44 p.m.