Description Usage Arguments Examples
View source: R/data_cleaning.R
Takes the output from eq_location_clean
, expects TSUNAMI, VOLCANO, YEAR, MONTH, DAY, HOUR, MINUTE, and SECOND columns.
1 | eq_clean_data(rawdata = NULL)
|
rawdata |
optional, dataframe outputted from |
1 2 3 4 5 6 7 8 9 | ## Not run:
# Clean data and filter out entries with no TOTAL_DEATHS data
data <- eq_clean_data() %>%
dplyr::filter(!is.na(TOTAL_DEATHS)) %>%
dplyr::select(DATE, YEAR, COUNTRY, REGION, LONGITUDE, LATITUDE, MAG, TOTAL_DEATHS) %>%
tidyr::drop_na()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.