Description Usage Arguments Details Value Examples
This function cleans the NOAA earthquake data extracted from https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1
which was placed in a dataframe by function eq_get_data
. The cleanup consists of:
1 |
data |
The dataframe constructed by function 'eq_get_data' |
1. Making LONGITUDE and LATITUDE numeric
2. Make a new dataitem DATE using the dataitems YEAR, MONTH and DAY from the dataframe
3. Cleanup the locationname via function eq_clean_data
by deleting all text following a ':'
This function returns the cleanedup NOAA earthquake data in a dataframe
1 2 3 4 | ## Not run:
eq_clean_data(eq_get_data("extdata/signif.txt.tsv"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.