eq_location_clean: eq_location_clean Parse LOCATION_NAME field of NOAA dataset

Description Usage Arguments Value Examples

View source: R/eq_location_clean.R

Description

eq_location_clean Parse LOCATION_NAME field of NOAA dataset

Usage

1
eq_location_clean(locationtoclean)

Arguments

data

A data frame with raw data obtained from NOAA website

location_name

represents the detailed information about location

Value

A data frame with cleaned LOCATION_NAME column

This function returns the clean version of the LOCATION_NAME

Examples

1
2
3
4
5
6
## Not run: 
library(readr)
data <- readr::read_delim(("extdata","earthquake.txt", delim = "\t")
data <- eq_location_clean(data)

## End(Not run)

willojs/earthquakesNOAA documentation built on Nov. 5, 2019, 12:21 p.m.