Description Usage Arguments Details Value Examples
View source: R/eq_clean_data.R
2.Clean earthquake data with eq_clean_data
function
1 |
x |
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 | ## Not run:
data<-eq_clean_data(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.