drop_empty_cols <- function(dt,
verbose=TRUE){
for(col in names(dt)){
if(all(is.na(dt[[col]]))){
messager("Removing:",col,v=verbose)
dt[[col]] <- NULL
}
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.