Skip to contents

This function generates a Shiny application with modular plotthis::BarPlot() components. A module is created for each data frame provided in the named list of data frames.

Usage

plotthis_BarPlotApp(data_list)

Arguments

data_list

A named list of data frames for which BarPlot modules will be created. That is, UI inputs and a bar plot will be generated for each.

Value

A Shiny app object.

Author

Jacob Martin, Jared Andrews

Examples

library(VizModules)
data_list <- list("sales" = example_sales, "population" = example_population)
app <- plotthis_BarPlotApp(data_list)
if (interactive()) runApp(app)