eq_location_clean: Take out country from Location Name

Description Usage Arguments Value Examples

Description

The function uses COUNTRY column as the reference, and take out the country name from LOCATION_NAME column. NOte that the coutry name has to be exact match, and it has to followed by ':'. It then converts the result to title case and wrap the result to width of 25 (for plotting purpose).

Usage

1

Arguments

df

data frame of the earthquake data

Value

df data frame with cleansed LOCATION_NAME

Examples

1
## Not run: df <- eq_location_clean(df)

wingtham/NOAA documentation built on May 24, 2019, 3:51 p.m.