Description Usage Arguments Details Value Examples
View source: R/eq_clean_data.R
Cleaning raw NOAA data frame location columns
1 |
df |
A raw data frame containing eqrthquake data from NOAA website |
In order to use this function, one has to obtain the NOAA data from
https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1. The function returns
a cleaned data frame with cleaned columns: LOCATION_NAME
. From the LOCATION_NAME
column the country name is stripped out and names are converted to title case.
A clean data frame with location column
1 2 3 4 5 | ## Not run:
data <- readr::read_delim("signif.txt", delim = "\t")
data <- eq_location_clean(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.