2.Clean earthquake data with
a dataframe or tibble to be cleaned
This function is used to clean variables to be used in the plots.It will generate a DATE variable of class Date based on YEAR, MONTH and DAY in the data set. It will convert LATITUDE, LONGITUDE, EQ_PRIMARY, TOTAL_DEATHS to numeric and clean LOCATION_NAME using eq_location_clean().
a cleaned dataframe or tibble
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.