This function creates a markdown badge for an individual, including their name, ORCID, email, and affiliation if available. It also adds a footnote with the individual's role and affiliation.
Usage
individual2badge(
individual,
role = c("aut", "cre", "cph", "ctb", "fnd", "rev")
)Arguments
- individual
A data frame with columns
given,family,orcid,email, andaffiliation.- role
A character string indicating the individual's role. Must be one or more of
"aut"(author),"cre"(contact person),"cph"(copyright holder),"ctb"(contributor),"fnd"(funder),"rev"(reviewer). Default is `"aut"“.
See also
Other individual:
add_individual(),
individual2df(),
individual2person(),
select_individual(),
store_individuals()