eq_location_clean: Clean location names from NOAA data

Description Usage Arguments Value Examples

View source: R/NOAAviz.R

Description

Given a LOCATION from NOAA data strips out the country name and ':', leaving all characters following and converting to title case. Non-exported helper function.

Usage

1

Arguments

loc_name

NOAA dataset style name, with country preceeding ':' and further details.

Value

A cleaned location string.

Examples

1
2
3
4
## Not run: 
    eq_location_clean("Canada: Land of the free")

## End(Not run)

jdallmann/NOAAviz documentation built on Nov. 4, 2019, 2:35 p.m.