Description Usage Arguments Value Examples
Takes an earthquake like data frame and creates an easy to read location string. 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). This will be needed later for annotating visualizations. This function should be applied to the raw data to produce a cleaned up version of the LOCATION_NAME column.
1 |
frame |
The earthquake data frame or its cleaned version. See the documentaton in the data part. |
The same data frame with converted 'LOCATION_NAME'.
1 2 3 4 | ## Not run:
earthquake_titlecaps <- eq_location_clean(earthquakes)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.