Description Usage Arguments Examples
This is the eq_location_clean. This function cleans the LOCATION_NAME column by stripping out the country name (including the colon) and converts names to title case (as opposed to all caps). The function creates a cleaned up version ot the LOCATION_NAME called LABELS.
1 |
df |
- A dataframe of the data with LOCATION_NAMEs to be cleansed. |
1 2 | df<-readr::read_delim(system.file("extdata", "signif.txt", package="Earthquake"), delim = "\t")
eq_location_clean(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.