Set up an author object using the quarto author schema https://quarto.org/docs/journals/authors.html.
Usage
author(given, family, orcid = NULL, roles = c(), ...)
Arguments
- given
a character string with the author's first name(s)
- family
a character string with the author's last name(s)
- orcid
the author's unique ORCiD (see https://orcid.org/)
- roles
a vector of roles from the CRediT taxonomy (see https://casrai.org/credit/); use credit_roles() to view the full list
- ...
further info to add to author object (see Details)
Details
The author schema is as follows (the function currently does not do much checking). The metadata/roles attribute is specific to this package.
:
author- id: "LDB"
: 1
number:
name: Lisa M.
given: DeBruine
family: Lisa M. DeBruine
literal-particle: ""
dropping-dropping-particle: ""
non: https://debruine.github.io
url: debruine@gmail.com
email: ""
fax: 0000-0002-7523-5539
orcid: ""
note: ""
acknowledgements:
attributes: true
corresponding-contributor: false
equal: false
deceased:
metadata: [Conceptualization, Methodology]
roles:
affiliations- id: UofG-SPN
: 1
number: University of Glasgow
name: School of Psychology & Neuroscience
department: 62 Hillhead Street
address: Glasgow
city: Scotland
region: United Kingdom
country-code: G12 8QB
postal: https://www.gla.ac.uk/schools/psychologyneuroscience/ url