eq_location_clean: Import and clean NOAA data for use in analytics and...

Description Usage Arguments Examples

Description

This function will be used to remove the country name from the LOCATION_NAME field of the NOAA data. This is intended to be used within the eq_data_clean function, but will ultimately parse any text that is separated by a :. I originally embeded this code directly in eq_data_clean, but the instructions clearly require two functions. And thus, here it is.

Usage

1
eq_location_clean(dataframe)

Arguments

dataframe

A data.frame of NOAA data that has been read in already that has a column named LOCATION_NAME.

Examples

1
2
3
4
5
## Not run: 
#This function really shouldn't be used by yourself. It is only a support to the other function.
eq_location_clean(dataframe=data)

## End(Not run)

JJNewkirk/NOAAEQ documentation built on May 27, 2019, 1:12 p.m.