eq_location_clean: Clean Data (Location)

Description Usage Arguments Value Examples

Description

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.

Usage

1
eq_location_clean(clean_data)

Arguments

clean_data

A dataframe object returned by the eq_clean_data function

Value

This function returns a cleaned dataframe, with the following 8 fields:

Examples

1
## Not run: eq_location_clean(clean_data)

elyminator91/MasteringSoftwareDevelopmentCapstone documentation built on May 20, 2019, 9:59 a.m.