library(dplyr)
library(testthat)
dataclean <- NOAAdata %>%
eq_clean_data() %>%
eq_location_clean()
test_that("Clean location", {
expect_equal(head(dataclean$Location), c("Nisa",
"Turkey",
"Izmir, Efes, Aydin, Manisa, Alasehir, Sart",
"Greece",
"Pakistan" ,
"Kwangju" ))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.