Description Usage Arguments Value Examples
This function takes as input a data.frame of the entire significant
earthquake data data
, 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 |
data |
A tibble data.frame with LOCATION_NAME column that has to be cleaned |
This function returns a tibble (data.frame)
1 2 3 | NOAA_url = "https://www.ngdc.noaa.gov/nndc/struts/results?type_0=Exact&query_0=$ID&t=101650&s=13&d=189&dfn=signif.txt"
data <- suppressMessages({readr::read_delim(NOAA_url, delim = "\t", progress = FALSE)})
eq_location_clean(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.