eq_location_clean: Converts Location name to Title case

Description Usage Arguments Value Examples

Description

cleans the LOCATION_NAME column by stripping out the country name (including the colon) and converts names to title case (as opposed to all caps). This will be needed later for annotating visualizations.

Usage

1
eq_location_clean(eq_dataset_location)

Arguments

eq_dataset_location

NOAA earthquakes dataset

Value

Location name with Title case

Examples

1
2
3
4
## Not run: 
 eq_data$LOCATION_NAME <- eq_location_clean(eq_data)

## End(Not run)

garvish/earthquakes documentation built on May 16, 2019, 5:41 p.m.