prepareDatatable: prepare a datatable for shiny

Description Usage Arguments Details Value

Description

This function prepares a given dataset for visualization in the foodstorage shiny app. It colors storage values below 20 below 10

Usage

1
prepareDatatable(kornumsatz, filter = "nothing", test = FALSE)

Arguments

kornumsatz

kornumsatz data frame which results from startupSettings()

filter

character string for filtering the dataset; default is "nothing"; look at details

Details

Filter can be: "nothing", which means no filter is applied. "available" means only available products are shown. "empty" shows prducts which are empty at this moment.

Value

A colored datatable is returned.


frumentum/foodstorage documentation built on May 18, 2019, 10:14 a.m.