eq_location_clean: Clean the location name column in the dataframe.

Description Usage Arguments Value Examples

Description

This function cleans the location name column and strip out the country name in the dataframe.

Usage

1
eq_location_clean(eq_cleanup)

Arguments

Input

cleaned data.frame from the base file dataset.

Value

This function converts the location name column of the dataframe into the country name and returns a tibble.

Examples

1
2
3
4
5
6
## Not run: 
filename<-system.file("extdata","data.gz",package="NOAAA")
readr::read_delim(filename, delim = "\t") %>%
eq_location_clean()

## End(Not run)

shubh-b/NOAAA documentation built on May 21, 2019, 2:31 a.m.