Navigate participants - Shiny module Server
Source:R/mod_navigate_participants.R
mod_navigate_participants_server.Rd
A shiny
module. Used to show participant information in a
bslib::value_box()
. By clicking on the bslib::value_box()
, additional
participant information will be shown, as well as a selection menu to select
a different subject. Once the subject is changed, the active subject_id
will
be changed in the application.
Arguments
- id
Character string, used to connect the module UI with the module Server.
- r
Common
reactiveValues
. Used to accessfiltered_tables$General
, containing a data frame with general data to be displayed in the participant selection modal. In addition, it will be used to access the list offiltered_subjects
(character vector), and the currently activesubject_id
(character string). The only parameter that the module will change, if requested by the user, issubject_id
.
See also
mod_navigate_participants_ui()
for the UI function