#' @name newdate
#'
#' @title Reactive function of southeast dataset
#'
#' @description This function refactor the reactive function that takes value from date range input
#'
#'
#' @export
library(shiny)
library(dplyr)
library(magrittr)
newdate <- function(input){
shiny::reactive({
shiny::req(input$range)
southeastcovid::southeast %>% dplyr::filter(dplyr::between(date, input$range[1], input$range[2]))
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.