Description Usage Arguments Details Value Examples
View source: R/eq_clean_data.R
Cleaning raw NOAA data frame and returning a clean data frame
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: date,LONGITUDE,LATITUDE,DEATHS
. The date
column is
converted into date-format and the LONGITUDE,LATITUDE,DEATHS
are converted into numeric types.
The function utilizes the function eq_location_clean
.
A clean data frame with cleaned date, latitude,longitude and death columns
1 2 3 4 5 | ## Not run:
data <- readr::read_delim("signif.txt", delim = "\t")
data <- eq_clean_data(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.