Description Usage Arguments Value Imported functions Examples
A function that removes country information from the location field and ensures that the location is in title case. 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 cleaned location name
1 |
noaa_data |
NOAA significant Earthquakes dataset |
A data.frame, data.table with updated location name
data.table syntax
1 2 3 | library(data.table)
raw_noaa <- as.data.table(noaa_data)
clean_noaa <- eq_location_clean(raw_noaa)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.