eq_location_clean: Cleaning LOCATION_NAME column of the raw NOAA dataset

Description Usage Arguments Value Examples

Description

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). This will be needed later for annotating visualizations.

Usage

1

Arguments

df

The raw dataset from NOAA website.

Value

This function returns the cleaned dataset as in the description.

Examples

1
## Not run: eq_tidy_data <- eq_location_clean(eq_download_data())

perfectslumber/NOAAsignif documentation built on May 23, 2019, 5:04 a.m.