plume: a simple author handler for scientific writing #4909
arnaudgallou
started this conversation in
Show and Tell
Replies: 2 comments 1 reply
-
Sounds useful, thanks! I'm a bit puzzled by this:
would it be possible to used nested list-columns, for affiliation2 and 3? (or nested lists instead of dataframes altogether) |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've just released plume version 0.2.0 which is now entering in a relatively stable phase. The package is particularly useful to generate author and affiliations schemas from tabular data and inject it into the YAML header of Quarto files. Here's an example from the documentation: ---
title: Encyclopédie
---
Qui scribit bis legit aut <- PlumeQuarto$new(
encyclopedists,
file = "file.qmd"
)
aut$set_corresponding_authors(1, 4)
aut$to_yaml() ---
title: Encyclopédie
author:
- id: aut1
name:
given: Denis
family: Diderot
email: diderot@encyclopediste.fr
phone: '+1234'
orcid: 0000-0000-0000-0001
note: born in 1713 in Langres
attributes:
corresponding: true
roles:
- supervision
- writing - original draft
affiliations:
- ref: aff1
- id: aut2
name:
given: Jean-Jacques
family: Rousseau
email: rousseau@encyclopediste.fr
orcid: 0000-0000-0000-0002
attributes:
corresponding: false
roles:
- writing - original draft
affiliations:
- ref: aff2
- id: aut3
name:
given: François-Marie
family: Arouet
email: arouet@encyclopediste.fr
note: also known as Voltaire
attributes:
corresponding: false
roles:
- writing - original draft
affiliations:
- ref: aff2
- id: aut4
name:
given: Jean
family: Le Rond d'Alembert
email: alembert@encyclopediste.fr
orcid: 0000-0000-0000-0003
note: born in 1717 in Paris
attributes:
corresponding: true
roles:
- supervision
- writing - original draft
affiliations:
- ref: aff1
- ref: aff3
affiliations:
- id: aff1
name: Université de Paris
- id: aff2
name: Lycée Louis-le-Grand
- id: aff3
name: Collège des Quatre-Nations
---
Qui scribit bis legit |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've just released the development version of plume, a R package that aims at reducing the hassle of handling and formatting author information for scientific writing. The package also allows users to push author metadata into the yaml header of
.qmd
, following Quarto's author and affiliations schema.I'd be happy to hear any feedback, both on the package and naming of method's parameters.
Beta Was this translation helpful? Give feedback.
All reactions