Description Usage Arguments Value Examples
Clean up location names in the NOAA earthquake database The LOCATION_NAME column in the NOAA database starts out life including the country name, as well as other formatting issues. Use this function to strip out and reformat the region for convenient labeleing
1 | eq_location_clean(loc_nm)
|
loc_nm |
String containing original location name from the NOAA earthquake file |
A string removing the country name, fixing spacing, and converting to Title Case
1 | capstoneR:::eq_location_clean("USA: san francisco")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.