eq_location_clean: Help function for cleanind raw data

Description Usage Arguments Examples

Description

This function speciallly extracts location information from LOCATION_NAME column

Usage

1

Arguments

loc

LOCATION_NAME vector

return cleaned LOCATION_NAME

Examples

1
2
3
4
fname <- system.file("extdata", "signif.txt.tsv", package = "earthquake")
eq_dat_raw <- as.data.frame(readr::read_tsv(fname)) 
locations <- eq_location_clean(eq_dat_raw$LOCATION_NAME)
locations

thunder001/earthquake documentation built on May 15, 2019, 4:14 a.m.