eq_location_clean: Remove blanks spaces and then transform to numeric

View source: R/functions.R

eq_location_cleanR Documentation

Remove blanks spaces and then transform to numeric

Description

More detailed description

Usage

eq_location_clean(LOCATION_NAME)

Arguments

LOCATION_NAME

vector that include country and location in the same string

Value

vector that contains only location

Examples

## Not run: 
x <- c("JORDAN:  BAB-A-DARAA,AL-KARAK", "SYRIA:  UGARIT",
       "TURKMENISTAN:  W", "GREECE:  THERA ISLAND (SANTORINI)", "ISRAEL:  ARIHA (JERICHO)" )
eq_location_clean(x)

## End(Not run)


rumorale/Capstone documentation built on Dec. 31, 2022, 12:42 a.m.