Nothing
skip_on_cran()
skip_if(!curl::has_internet())
skip_if(httr::http_error("ourworldindata.org"))
test_that("owid search gives object of class matrix and array", {
search <- owid_search("gdp")
expect_equal(class(search), c("matrix", "array"))
expect_equal(class(search[1, 1]), "character")
expect_equal(length(search[, 2]), length(grep("gdp", search[, 2], ignore.case = TRUE)))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.