Description Usage Arguments Value Examples
This function takes a dataframe object from the
eq_clean_data
function and modifies the LOCATION
by removing the COUNTRY
substring from the LOCATION
value. If the object is not a dataframe or has misnamed columns
for COUNTRY
or LOCATION
, then the function will
print an error message and return a NULL
object.
1 | eq_location_clean(clean_data)
|
clean_data |
A dataframe object returned by the
|
This function returns a cleaned dataframe, with the following 8 fields:
DATE
LATITUDE
LONGITUDE
COUNTRY
LOCATION
MAGNITUDE
INTENSITY
DEATH_COUNT
1 | ## Not run: eq_location_clean(clean_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.