Description Usage Arguments Value Imported functions Examples
A function that builds a date field and ensures that the longitude and latitude of the earthquake location are numeric. The function takes in the NOAA data, which is obtained from https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1) and returns a data frame with a valid date field and numeric longitude and latitude.
1 |
noaa_data |
NOAA significant earthquakes dataset |
A data.frame, data.table with updated longitude, latitude, and date variables.
data.table syntax
1 2 3 | library(data.table)
raw_noaa <- as.data.table(noaa_data)
clean_noaa <- eq_clean_data(raw_noaa)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.