eq_location_clean: Clean Location Name

Description Usage Arguments Value Examples

View source: R/data_processing.R

Description

This function takes in a data.frame and returns it back with the column called "LOCATION_NAME" cleaned. Cleaned means the country name has been removed and the location name has been put into title case.

Usage

1

Arguments

db

A data.frame of the eartquake database with a column called "LOCATION_NAME"

Value

An identical data.frame with the exception that the "LOCATION_NAME" is cleaned.

Examples

1
2
3
4
5
6
7
## Not run: 
db <- AC.R.Capstone::NOAA_eq_data
tail(db)
clean_data <- eq_location_clean(db)
tail(clean_data)

## End(Not run)

Andrew-Clappison/AC.R.Capstone documentation built on Nov. 5, 2019, 2:21 p.m.