Description Usage Arguments Value Examples
This is a simple function that cleans the Earthquake dataset. It removes country from the Location Name variable. If there is no location then, then just Country is supplied.
1 |
x |
Earthquake dataset |
This function returns the modified dataset
1 2 3 4 | library(dplyr)
library(readr)
raw_data<-readr::read_tsv(system.file("extdata", "signif.txt", package = "RCapstone"))
eq_clean_data(raw_data) %>% eq_location_clean()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.