Constructs a widget for specifying settings for importing data. This widget is designed to be used within a Shiny web application.
Arguments
- charactercontaining the identifier for the button HTML element to accompany this widget.
- x
- charactervector containing the field/layer names for the dataset. A- NULLvalue may also be specified to initialize the widget without any field/layer names.
- width
- characterwidth of the displayed widget. Defaults to- NULLsuch that the widget is automatically sized.
- height
- characterwidth of the displayed widget. Defaults to- NULLsuch that the widget is automatically sized.
- elementId
- characterHTML identifier for the widget. Defaults to- NULL.
Server value
A list object containing a list element for each field/layer name
containing:
- name
- charactername of the field/layer.
- import
- logicalvalue indicating if the field/layer should be used.
- type
- charactervalue. Available options are- "Theme",- "Weight", or- "Include".
- nonce
- numericrandom value used to ensure that updates trigger when the button is clicked.
Examples
# \dontrun{
# run Shiny app to demo the sidebar pane
if (interactive()) {
  runExample("importSettings")
}
# }