Description Usage Arguments Value Examples
This function takes a data frame, ideally from the NOAA Significant Earthquakes dataset, and cleans the LOCATION_NAME column. Specifically, it deletes the name of the country, if there is one included in the string, leaving only the region name. It also changes the string into title case. This function is meant to be used in the geoms of this package, so it does not need to be exported.
1 |
data |
A data frame with a LOCATION_NAME column. |
A data frame with the LOCATION_NAME column changed. Specifically, it deletes the name of the country, if there is one included in the string, leaving only the region name. It also changes the string into title case.
1 2 3 | ## Not run: load("data/data.rda")
data<-eq_location_clean(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.