eq_location_clean: Clean location names

Description Usage Arguments Value Examples

Description

This function strips out the country name (including the colon) and converts names to title case (as opposed to all caps).

Usage

1

Arguments

loc

A character string or vector of character strings indicating the location. The country must be separated from the location name by a colon.

Value

A character string or vector of character strings wih cleaned location names.

Examples

1
2
3
eq_location_clean(c("MEXICO:  MICHOACAN",
                    "SWITZERLAND:  BASEL",
                    "THAILAND:  BANGKOK"))

la-sch/NOAAeq documentation built on May 20, 2019, 7:31 p.m.