Skip to contents

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

Usage

plotthis_AreaPlotApp(data_list)

Arguments

data_list

A named list of data frames for which AreaPlot modules will be created. That is, UI inputs and an area 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_AreaPlotApp(data_list)
if (interactive()) runApp(app)