Description Usage Arguments Value Examples
The function converts Lat and Lon from character to numeric. For dates, it
pastes the year, month and day as character and convert it to date. The date
conversion works fine for A.D dates, but for B.C. dates, it needs to be
changed manually by forcing the year to negative. It also converts
TOTAL_DEATHS and EQ_PRIMARY columns to numeric, while changing COUNTRY column
to factor. In addition, it calls eq_location_clean
to format
LOCATION_NAME column.
1 |
df |
raw data frame of earthquake data |
df cleansed version of the earthquake data
1 | ## Not run: df <- eq_clean_data(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.