eq_location_clean: Function to Clean the Name of the Location of Earthquake.

Description Usage Arguments Value Examples

View source: R/earthquake.R

Description

Function that cleans the LOCATION_NAME column of the data set by stripping out the country name (including the colon) and converts names to title case (as opposed to all caps). The country names are stored in a different column.The cleaned location will be used for annotation purposes of maps that showcase the locations of earthquakes in the world based on the data.

Usage

1

Arguments

raw_data

Data file on earthquakes from U.S. National Oceanographic and Atmospheric Administration (NOAA).

Value

An object of class data.frame or tbl_df or tibble.

Examples

1

Noob-Programr/noaa documentation built on Dec. 17, 2021, 5:26 a.m.