library(data.table)
sleep <- data.table::as.data.table(datasets::sleep) |>
_[, Observation := seq(1,20)] |>
data.table::setnames(old = c("extra","group"), new = c("Hours","Drug"))
usethis::use_data(sleep, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.