#' Count the number of countries
#'
#' @param data a data containing a country column
#'
#' @export
#'
n_countries <- function(data){
dplyr::n_distinct(data$country)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.