Nothing
context("dataset")
test_that("as.dataset", {
x <- galicia
.plan <- compress_plan("place.of.birth", "geo", "Place of Birth") %>%
dimension("age.group", "classification", "Age Group") %>%
dimension("gender", "classification", "Gender") %>%
dimension("year", "time", "Year") %>%
dimension("province.of.residence", "geo", "Province of Residence") %>%
dimension("concept", "metric", "Concept") %>%
dimension("value", "value", "value")
.dataset <- as.dataset(x, .plan,
label = paste("Population by province of residence,",
"place of birth, age, gender and year",
"in Galicia"),
href = "https://github.com/zedoul/jsonstat")
expect_true(inherits(.dataset, "jsonstat.dataset"))
})
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.