Learn R Programming

shinyfilters (version 0.3.0)

get_input_labels: Retrieve the Labels of Input Objects

Description

Returns the labels of the shiny inputs for the provided object.

Usage

get_input_labels(x, ...)

Value

A character vector of input labels

Arguments

x

An object for which to retrieve input labels; typically a data.frame.

...

Passed onto methods.

Examples

Run this code
df <- data.frame(
  name = c("Alice", "Bob"),
  age = c(25, 30),
  completed = c(TRUE, FALSE)
)

get_input_labels(df)

Run the code above in your browser using DataLab