library(testthat)
library(noaar)
library(magrittr)
NOAA_data <- NOAA_data %>%
eq_clean_data() %>%
eq_location_clean()
test_that("The data preparation process has been successful", {
expect_true(class(NOAA_data$Date) == "Date")
expect_true(class(NOAA_data$Longitude) == "numeric")
expect_true(class(NOAA_data$Latitude) == "numeric")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.