eq_location_clean: Clean earthquake data location column

Description Usage Arguments Value Note Examples

View source: R/eq_location_clean.R

Description

This function cleans the raw earthquake data location column, removing the country part of the string

Usage

1
eq_location_clean(raw_data1)

Arguments

raw_data1

The raw earthquake data.frame

Value

An earthquake data.frame with a cleaned LOCATION_NAME column

Note

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

Examples

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

## End(Not run)

codyschulz/earthquakeMap documentation built on March 18, 2018, 7:48 p.m.