#' Prepare data of total sales
#'
#' @import dplyr
#'
prep_ventes <- function(bnvd_data) {
group_by_at(bnvd_data, .vars = c("departement", "annee")) %>%
summarise(quantite = sum(quantite)) %>%
ungroup() %>%
filter(!is.na(quantite))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.