View source: R/Olv_select_col.R
Olv_select_col | R Documentation |
Pick a column from a dataframe using an input from the UI. Can be for example from a selectInput()
.
Olv_select_col(data, input)
data |
The dataset used to select the column. Should be a reactive value (e.g. datmap1()) |
input |
the input from the ui (e.g. the input from a |
## Not run:
showcolumn2 = reactive({
Olv_select_col(
data = datmap1(), #a dataset made with read_csv()
input = input$select3 #the input from a shiny::selectInput()
)
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.