eq_location_clean: eq_location_clean

Description Usage Arguments Value Examples

Description

This function cleans the location form the NOAA earthquake data where the earthquake took place. The cleanup of the location is done by ruling out all text folowed by a ':' data extracted from https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1

Usage

1
eq_location_clean(locationname)

Arguments

locationname

The column LOCATION_NAME from the NOAA earthquake data

Value

This function returns the cleanedup LOCATION_NAME

Examples

1
2
3
4
## Not run: 
eq_clean_data(eq_get_data("inst/extdata/signif.txt.tsv"))

## End(Not run)

FerrieHeskes/FinalAssignmentR documentation built on May 26, 2019, 7:26 a.m.