Description Usage Arguments Details Value Examples
This funtion 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).
1 |
df |
The erthquake data with raw location names |
This function takes the raw LOCATION_NAME and extracts everything after the ':', then removes the colon, replaces any LOCATION_NAMEs less than 5 characters with the COUNTRY name, and then converts to title case.
Returns a tbl_df data.frame
1 | ## Not run: eq_location_clean(df=data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.