eq_location_clean: Cleans earthquake location data

Description Usage Arguments Details Value Note Examples

View source: R/data_prep.R

Description

Cleans earthquake location data

Usage

1

Arguments

data

A data frame with raw data obtained from NOAA website

Details

This function transforms NOAA data frame LOCATION_NAME column by trimming the country name (if applicable) and converting to title case

Value

A data frame with cleaned LOCATION_NAME column

Note

The function is not exported

Examples

1
2
3
4
5
## Not run: 
data <- readr::read_delim("earthquakes.tsv.gz", delim = "\t")
clean_data <- eq_location_clean(data)

## End(Not run)

mdelcorvo/earthquaker documentation built on May 21, 2019, 4:01 a.m.