Description Usage Arguments Value Examples
This function takes raw NOAA data frame and returns a clean data frame. The clean data frame should have the following: A date column created by uniting the year, month, day and converting it to the Date class, LATITUDE, LONGITUDE, EQ_PRIMARY(magnitude) and TOTAL_DEATHS columns converted to numeric class. The rows whose LATITUDE, LONGITUDE or EQ_PRIMARY is missing (NA) are removed.
1 |
raw_df |
A data frame of raw data. |
A data frame of clean data
1 2 3 4 5 | ## Not run:
data(raw_df)
clean_df <- eq_clean_data(raw_df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.