date_slider_input functions, allows the user to select the desired data range. the selected date range is further used by our shiny app to plot the the confirmed/recovered/death cases against the selected date range by the user. This selected date range acts like our x axis in the shiny app. The user's selected date range can be stored in as a label in the selected_date_range, which is an argument of our function

date_slider_input(selected_date_range)

Arguments

selected_date_range

stores the user's selected date range in this label.