#' Filter data by countries and cases types
#'
#' @description A function to filter the countries .
#'
#' @param data A data frame containing a `country` variable.
#' @param country_name The country let users to select.
#' @importFrom dplyr %>%
#'
#'
#' @export
#'
filter_data <- function(data, country_name){
data %>%
dplyr::filter(country == country_name
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.