eq_location_clean: Cleans the LOCATION_NAME column of NOAA dataset

Description Usage Arguments Value Examples

Description

This function cleans the LOCATION_NAME column by stripping out the country name (including the colon) and converts names to title case (as opposed to all caps).

Usage

1

Arguments

x

character vector from LOCATION_NAME column of NOAA dataset

Value

character vector of clean location names

Examples

1
2
3
4
5
## Not run: 
data <- readr::read_delim("earthquakes.tsv.gz", delim = "\t")
clean_data <- eq_location_clean(data)

## End(Not run)

vadimus202/quakeR documentation built on May 19, 2019, 1:47 a.m.