View source: R/format_creators.R
format_creators_as_text | R Documentation |
A creator (investigator, author, presenter) can have a partnership role and a specific role. This function formats the information for output.
format_creators_as_text(.x, collapse = ", ", ...)
A creator is a person associated with a research product (grant, publication or presentation). There can be one or more creators, and they may have different roles on each product. Additionally, the creator has a partnership role which may change over time. Thus, each research product has a tibble associated with the creators for that work and include descriptions of their name, role in the product (coI, author) and partnership role.
This function produces a text summary of this information so that it could
be printed out succinctly. There are many different parameters that can be
tweaked (see format_investigator_name
for many formatting options passed on
through this function).
A creators table has one or more creators using standardized field names (not yet an object, though). Given this table, we convert the fields into a single string (per creator) then consolidate the creators into a single string (using collapse to separate the entries).
The end of result of this function is a single string consolidating the
creators in .x
.
format_investigator_name()
for flags to format the investigator name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.