eq_clean_data: Clean earthquake data

Description Usage Arguments Value Examples

Description

Creates a single 'date' datetime object out of the fields 'YEAR','MONTH','DAY','HOUR','MINUTE','SECOND'. The 'date' is constructed filling the NA fields as '1' for month and day, and '0' for the time fields.

Usage

1

Arguments

frame

The earthquake data frame. See the documentaton in the data part.

Value

Data frame like an earthquake data, not incuding 'YEAR','MONTH','DAY','HOUR','MINUTE','SECOND', and added 'data' field.

Examples

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

## End(Not run)

cogitoergoread/noaa documentation built on May 20, 2019, 1:28 p.m.