eq_location_clean: Clean and Separate NOAA Earthquake Location Field

Description Usage Arguments Details Value Examples

View source: R/clean_data.R

Description

This function takes a NOAA earthquake data frame and do some data manipulation on Locaiton Name.

Usage

1

Arguments

data

a data frame of NOAA earthquake.

Details

eq_location_clean function manipulates the Location Name by separating country name and location name into Country and Location columns. It then turns Location into Title Case.

Value

a tibble with one additional column which is the result of the previous Location Name being divided into two columns Country and Location.

Examples

1
2

ankit2219/masteringr documentation built on Dec. 24, 2021, 1:25 a.m.