This function returns a server function suitable for use in shiny::runApp()
safetyGraphicsServer(
input,
output,
session,
meta,
mapping,
domainData,
charts,
filterDomain
)
Shiny input object
Shiny output object
Shiny session object
data frame containing the metadata for use in the app. See the preloaded file (?safetyGraphics::meta
) for more data specifications and details. Defaults to safetyGraphics::meta
.
current mapping
named list of data.frames to be loaded in to the app.
list of charts to include in the app
domain used for the data/filter tab. Demographics ("dm
") is used by default. Using a domain that is not one record per participant is not recommended.