eq_location_clean: Function to clean the location info in noaa earthquake data...

Description Usage Arguments Value Note Examples

View source: R/eq_location_clean.R

Description

This function cleans the info in the original NOAA data.frame column "LOCATION_NAME", stripping redundant info like country name and secundary location descriptions. It returns a single column data.frame with the location text.

Usage

1
eq_location_clean(raw_location)

Arguments

raw_location

a single column data.frame containing the LOCATION_NAME column from the naoo dataset

Value

data.frame containing cleaned location data in one column

Note

this function is for internal use

Examples

1
2
3
4
## Not run: 
locNameClean <- eq_location_clean(naoo_data$LOCATION_NAME)

## End(Not run)

RMHoek/NOAAearthquakeAnalysis documentation built on May 14, 2019, 8:58 a.m.