mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 09:59:39 +02:00
45 lines
1.2 KiB
R
45 lines
1.2 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/columnSelectInput.R
|
|
\name{columnSelectInput}
|
|
\alias{columnSelectInput}
|
|
\title{A selectizeInput customized for data frames with column labels}
|
|
\usage{
|
|
columnSelectInput(
|
|
inputId,
|
|
label,
|
|
data,
|
|
selected = "",
|
|
...,
|
|
col_subset = NULL,
|
|
placeholder = "",
|
|
onInitialize,
|
|
none_label = "No variable selected"
|
|
)
|
|
}
|
|
\arguments{
|
|
\item{inputId}{passed to \code{\link[shiny]{selectizeInput}}}
|
|
|
|
\item{label}{passed to \code{\link[shiny]{selectizeInput}}}
|
|
|
|
\item{data}{\code{data.frame} object from which fields should be populated}
|
|
|
|
\item{selected}{default selection}
|
|
|
|
\item{...}{passed to \code{\link[shiny]{selectizeInput}}}
|
|
|
|
\item{col_subset}{a \code{vector} containing the list of allowable columns to select}
|
|
|
|
\item{placeholder}{passed to \code{\link[shiny]{selectizeInput}} options}
|
|
|
|
\item{onInitialize}{passed to \code{\link[shiny]{selectizeInput}} options}
|
|
|
|
\item{none_label}{label for "none" item}
|
|
}
|
|
\value{
|
|
a \code{\link[shiny]{selectizeInput}} dropdown element
|
|
}
|
|
\description{
|
|
Copied and modified from the IDEAFilter package
|
|
Adds the option to select "none" which is handled later
|
|
}
|
|
\keyword{internal}
|