Skip to contents

Shiny module. Used to create PDF reports of all review activities.

Usage

mod_report_server(id, r, rev_data, db_path, table_names)

Arguments

id

Character string, used to connect the module UI with the module Server.

r

Common reactiveValues. Used to access ....

rev_data

Common reactiveValues. Used to access rev_data$summary (a data frame with summarized review data) and rev_data$show_all (logical, whether to show data of everyone in the tables or only data of the selected subject id.), and rev_data$show_modal (to communicate that the review data modal should be opened).

db_path

Character string with the path to the app database.

table_names

An optional character vector. If provided, will be used within datatable_custom(), to improve the column names in the final interactive tables.