eq_location_clean: Location cleaning function The function takes NOAA data and...

Description Usage Arguments Value Examples

Description

Location cleaning function The function takes NOAA data and cleans the LOCATION_NAME column by stripping out the country name (including the colon) and converting names to title case (as opposed to all caps)

Usage

1

Arguments

raw_data

The raw NOAA dataset (as data frame)

Value

Dataset with cleaned LOCATION_NAME column

Examples

1
2
3
4
## Not run: 
  clean_data <- eq_location_clean(raw_data)

## End(Not run)

skolchin/eqvispkg documentation built on May 8, 2019, 3:14 a.m.