map_singleform_values: Get user's values from single input forms

Description Usage Arguments

View source: R/utils.R

Description

Get user's values from single input forms

Usage

1
2
3
4
map_singleform_values(input, input_other, type = c("select", "combo box",
  "date", "text", "text input", "numeric"), default = NULL,
  multiple = FALSE, collapsed = FALSE, format = c("vector",
  "data.frame"), label = "Label")

Arguments

input

input Character or shiny input variable (input$id), conjointly, with the id. Ex. input$FundingAgencyName

input_other

input In case of having Other as entry value in the combo box. Ex. input$projLeadEnt == "Other"

type

character Three type of inputs: select for select and selectize inputs, date for date inputs, and text, for text input

default

character vector Value b

multiple

logical TRUE for multiple input values, otherwise FALSE

collapsed

logical TRUE to separate

format

character Export vector or dataframe

label

character label name that appears in the user interface


AGROFIMS/agdesign documentation built on June 11, 2020, 12:02 p.m.