eq_clean_data: Clean NOAA data

Description Usage Arguments Value Examples

Description

This function takes in raw NOAA earthquake data as a data.frame (using the original names) and converts the LONGITUDE and LATITUDE columns to numeric class. It also creates a DATE variable that combines the YEAR, MONTH and DAY variables to a a Date class object.

Usage

1
eq_clean_data(dataframe)

Arguments

dataframe

A data.frame including raw NOAA earthquake data, as read from the original .txt file.

Value

A tibble with the new column and modified class.

Examples

1

rafaelcb/NOAA documentation built on May 9, 2019, 1:16 p.m.