eq_location_clean: Function eq_location_clean

Description Usage Arguments Examples

Description

This is the eq_location_clean. This function 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). The function creates a cleaned up version ot the LOCATION_NAME called LABELS.

Usage

1

Arguments

df

- A dataframe of the data with LOCATION_NAMEs to be cleansed.

Examples

1
2
df<-readr::read_delim(system.file("extdata", "signif.txt", package="Earthquake"), delim = "\t")
eq_location_clean(df)

MaxSunshine/Earthquake documentation built on May 28, 2019, 1:51 p.m.