#' List unique values of categorical data
#'
#' This function is for internal use only. It extracts and sorts levels of factors, and unique values of characters.
#'
#' @noRd
get_categories <- function(x) {
sort(unique(as.character(x)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.