eq_clean_data: Clean earthquake data

Description Usage Arguments Value Note Examples

Description

This function cleans raw earthquake data. It creates a date column, cleans the location column, and converts the latitute and longtitude columns to numeric

Usage

1
eq_clean_data(raw_data)

Arguments

raw_data

The raw earthquake data.frame

Value

A cleaned earthquake data.frame

Note

the function will throw an error if raw_data is not a data.frame

Examples

1
2
3
4
## Not run: 
eq_clean_data(raw_earthquake_data)

## End(Not run)

codyschulz/earthquakeMap documentation built on May 25, 2019, 4:20 p.m.