#' occupation_appel_WS UI Function
#'
#' @description A shiny Module.
#'
#' @param id,input,output,session Internal parameters for {shiny}.
#'
#' @noRd
#'
#' @import shiny
#' @import R6
#' @importFrom DT DTOutput renderDT
mod_occupation_appel_WS_ui <- function(id) {
ns <- NS(id)
tagList()
}
#' occupation_appel_WS Server Functions
#'
#' @noRd
mod_occupation_appel_WS_server <- function(id, r6) {
moduleServer(id, function(input, output, session) {
# ns <- session$ns
observe({
# browser()
r6$data_xtradata <- r6$download_data_memoise(r6$rangeStart, r6$rangeEnd, r6$rangeStep, r6$plageHoraire, r6$parkings_list)
# print(head(r6$data_xtradata))
if (!isTruthy(r6$data_xtradata)) {
showNotification("La requ\u00eate n\'a pas fonctionn\u00e9", type = "error", duration = 30)
}
})
})
}
## To be copied in the UI
# mod_occupation_appel_WS_ui("occupation_appel_WS_ui_1")
## To be copied in the server
# mod_occupation_appel_WS_server("occupation_appel_WS_ui_1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.