R/utils_helpers.R

Defines functions tab_fulltrend

# Utils for the dashboard and miscellaneous functions

# taxa options
taxa <- c("tous", "amphibiens", "mammifères", "oiseaux", "poissons", "reptiles")

# plot of index trend
#' @export
tab_fulltrend <- function(title = "Tendance de l'indice", 
                          outputFunction = plotly::plotlyOutput, 
                          id = "indextrend"){
  tabPanel(title, outputFunction(id))
}
ReseauBiodiversiteQuebec/tableaulpi documentation built on March 30, 2022, 1:46 p.m.