SafetyGraphics / safetyGraphics

Clinical Trial Safety Graphics with R
https://safetygraphics.github.io/safetyGraphics/
Other
93 stars 24 forks source link

Adding a dropdown for selecting mapping files #713

Open raheems opened 1 year ago

raheems commented 1 year ago

Would you provide some guidance on implemeting the following:

To elaborate, suppose there are two mapping config files and depending on the source data, the uses would select the one that is appropriate for the input data.

I see that the mapping paramter in the safetyGraphicsApp() function but wondering where should the input-file-selector should be placed.

Thank you

jwildfire commented 1 year ago

Hi @raheems - there are a few ways you could approach this:

raheems commented 1 year ago

I was trying to find a way to pass user-selectable parameters when deploying the app using the following line:

safetyGraphics::safetyGraphicsApp(runNow = FALSE) # add parameters here (if any)

Since shiny app cannot be called from another shinyApp, how to include selectInput style parameters that users can select and click a button that calls

safetyGraphics::safetyGraphicsApp(selected_parameter, runNow = FALSE)