eq_location_clean: Clean up location names in the NOAA earthquake database

Description Usage Arguments Value Examples

Description

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
QuakeCoursera:::eq_location_clean("USA: san francisco")

jmmark/QuakeCoursera documentation built on May 3, 2019, 5:18 p.m.