library(ggplot2) library(pander) library(kableExtra) library(CodebookGenerator) library(DT)
codebookDF <- iris
kable(CodebookGenerator::summarizeDataFrame(codebookDF), digits=1) %>% kable_styling(bootstrap_options = c("striped", "hover","condensed"),full_width = F)
datatable(CodebookGenerator::summarizeVariables(codebookDF), escape=F, rownames=F, fillContainer=F, style="bootstrap")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.