selectui01: Simplify repetitive calls for selectInputs in the user...

Description Usage Arguments Value Examples

View source: R/selectui.R

Description

This function is used to display a drop-down list of options for a user to select either states/countries to visualize coronavirus statistics. The options to select from come from data2, data3 and data5.

Usage

1
selectui01(inputId)

Arguments

inputId

An id name that is unique in the user interface-side in order for the server side of the shiny app to call on.

Value

A selectInput option

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
inputId <- "state"
selectui01("state")

## End(Not run)
## Not run: 
inputId <- "country"
selectui03("country")

## End(Not run)

etc5523-2020/r-package-assessment-jthoma48 documentation built on Jan. 1, 2021, 1:12 a.m.