eq_location_clean: Clean location data from the NOAA data set

Description Usage Arguments Examples

Description

eq_location_clean extracts a first string preceded by a colon in the LOCATION column and converts it to the title case.

Usage

1

Arguments

locCol

A character vector. Location strings that need to be converted.

Examples

1
2
3
eq_location_clean('COLOMBIA: BOGOTA')

data("eq_data"); eq_location_clean(eq_data$LOCATION_NAME)

slava-kohut/R-Capstone-SoftDev documentation built on May 20, 2019, 10 a.m.