Skip to contents

I use (the filter) argument to optionally filter the objects found in the datasets package, then create a selectInput().

This module function comes from the Getting started: UI input + server output section of Mastering Shiny.

Usage

datasetInput(id, filter = NULL)

Arguments

id

module id

filter

limit the options of built-in datasets (i.e., is.data.frame or is.matrix)

Value

list of data object names