output$table_substance_routine <- renderDT({
req(table_substance_routine_data())
datatable(
table_substance_routine_data() |> select(-Id),
selection = "single",
rownames = FALSE,
escape = FALSE,
colnames = c(
"Days of the week" = "Days",
"Substance" = "Substance",
"Frequency" = "Frequency"
)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.