Description Usage Arguments Value Examples
The function takes a data frame of NOAA earthquake data and cleans the LOCATION_NAME field. It removes the country name (of form "COUNTRY:" from the LOCATION_NAME data, and converts the remainder of the field to Title Case. This will make the location name easier to read when plotting and mapping.
1 |
x |
A data frame of NOAA significant earthquake data. |
A dataframe with the same supplied data, but with the LOCATION_NAME variable cleaned up to remove the country name that is supplied in the COUNTRY variable and convert the remainder of the words in LOCATION_NAME to Title Case.
1 2 3 4 | ## Not run:
data_loc_clean <- eq_location_clean(data_raw)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.