13.3 Inputs
- Shiny apps have a variety of inputs that are useful for different purposes including texts, numbers and dates in the shiny app. These inputs can be modified by the user, and by doing this, the objects in the app that use them are updated.
To add an input to a Shiny app, we need to place an input function Input() in the ui. Some examples of Input() functions are
TextInput() which creates a field to enter text
DateRangeInput() which creates a pair of calendars for selecting a date range
FileInput() which creates a control to upload a file.