eq_location_clean: Location Clean

Description Usage Arguments Value Note Examples

Description

The country name from LOCATION_NAME column is stripped out. And the column data is converted into Title case.

Usage

1

Arguments

data

a data.frame containing NOAA earthquake data.

Value

A data.frame with country name removed from LOCATION_NAME column. And the column is converted into Title case.

Note

This function makes a call to eq_clean_data() function to make the process simple.

Examples

1
2
3
4
5
## Not run: 
noaa.df <- eq_location_clean(readr::read_tsv("data-raw/signif.txt"))
noaa.df <- eq_location_clean(raw.noaa.df)

## End(Not run)

GopalSeshadri/NOAA documentation built on May 30, 2019, 7:59 p.m.