eq_location_clean: Clean up location names in the NOAA earthquake database The...

Description Usage Arguments Value Examples

View source: R/cleandata.R

Description

Clean up location names in the NOAA earthquake database The LOCATION_NAME column in the NOAA database starts out life including the country name, as well as other formatting issues. Use this function to strip out and reformat the region for convenient labeleing

Usage

1

Arguments

loc_nm

String containing original location name from the NOAA earthquake file

Value

A string removing the country name, fixing spacing, and converting to Title Case

Examples

1
capstoneR:::eq_location_clean("USA: san francisco")

gravatarsmiley/capstoneR documentation built on May 30, 2019, 4:06 a.m.