eq_location_clean: Clean location

Description Usage Arguments Details Value Examples

View source: R/clean.R

Description

Clean location from NOAA Significant Earthquake Database and return it as a vector

Usage

1

Arguments

raw

Raw dataframe obtained after reading NOAA Significant Earthquake Database tab-separated file

Details

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). This function should be applied to the raw data to produce a cleaned up version of the LOCATION_NAME column.

Value

The clean dataframe after transforming LOCATION_NAME column

Examples

1

raggaraluz/mastering_r_capstone documentation built on May 29, 2019, 6:53 p.m.