#' Remove cash
#' @param data data.frame
#' @param var variable name (tidy approach)
remove_cash <- function(data, var) {
data %>%
dplyr::filter({{var}} != "Cash and/or Derivatives")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.