Description Usage Arguments Details Value Examples
eq_clean_data
creates a date class field and converts location
coordinates into numeric vectors.
1 |
data |
a data frame holding the earthquake data |
The YEAR field ranges from -2000 or 2000 BC to more contemporary times which the usual date functions don't manage well with. This function splits the years into AD and BC and creates a DATE field from the YEAR, MONTH and DAY fields (most of the MONTH and DAY fields for the BC years are NA)
A data frame with the date and location fields formated correctly
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.