eq_location_clean: Parse LOCATION_NAME field of NOOA dataset

Description Usage Arguments Value Examples

View source: R/capstone_functions.R

Description

This function parses the LOCATION_NAME stripping out the country name and converting it to title case

Usage

1
eq_location_clean(location_name)

Arguments

location_name

represents the detailed information about location

Value

This function returns the clean version of the LOCATION_NAME

Examples

1
2
3
4
## Not run: 
eq_location_clean(raw$LOCATION_NAME)

## End(Not run)

sophiasagan/R_Capstone documentation built on Oct. 18, 2020, 10:36 p.m.