Description Usage Arguments Details Value Examples
Cleaning NOAA earthquake data and geolocalisation values
1 | eq_clean_data(datatoclean)
|
datatoclean |
A data frame with raw data obtained from NOAA website |
After downloading and reading in the dataset from NOAA site, https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1. National Geophysical Data Center / World Data Service (NGDC/WDS): Significant Earthquake Database. National Geophysical Data Center, NOAA. doi:10.7289/V5TD9V7K The function returns a date column created by uniting the year, month, day and converting it to the Date class and also converts LATITUDE and LONGITUDE columns to numeric class.
A data frame with cleaned date, latitude and longitude numerical 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.