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:
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.