View source: R/format_investigators.R
format_investigator_group_as_flextable | R Documentation |
An investigator group is a tibble of investigators that are considered a grouping, for the purposes of reporting. Examples of groups include an institution, or by Role. The goal of this function is to format this group of investigators into a list of flextable "chunks".
format_investigator_group_as_flextable(
investigators,
label = "",
label_sep = "\n",
sep = "\n",
summary_field = "Investigator Summary",
...
)
label |
A text string or a tibble containing one value |
label_sep |
Separator between label and investigators (default: newline) |
sep |
Separator between investigators (default: newline) |
i |
An investigator tibble |
The investigator group (a tibble of related investigators) should be formatted as a list of flextable chunks. A group label can be applied to these investigators, potentially formatted itself.
The label
field is an overloaded field. It is either a simple text string
representing the name of the group, or a tibble. If it is a tibble, it is
expected to contain a single value representing the label to use. The parameter
is constructed this way to enable the dplyr::group_map()
function to work,
since it passes a tibble with the grouped variables.
A flextable chunk representing the group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.