context("Test create_get_data_function")
test_that("create_get_data_function creates function for data set ID", {
get_cpih01 <- create_get_data_function("cpih01")
expect_type(get_cpih01, "closure")
expect_equal(formals(get_cpih01), pairlist(time = NULL,
geography = NULL,
aggregate = NULL))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.