Using CRediT roles

plume implements a simple solution to work with the Contributor Roles Taxonomy (CRediT).

First, create a table using plm_template(credit_roles = TRUE) to ensure the table has all the appropriate columns.

Then, assign roles to specific contributors using 1 and leave it blank otherwise. For the purpose of the example, I only selected a few roles. You should normally use all roles, as recommended by the official CRediT’s documentation.

#> # A tibble: 4 × 6
#>   given_name     family_name      conceptualization analysis supervision writing
#>   <chr>          <chr>                        <dbl>    <dbl>       <dbl>   <dbl>
#> 1 Denis          Diderot                          1        1           1       1
#> 2 Jean-Jacques   Rousseau                        NA        1          NA       1
#> 3 François-Marie Arouet                          NA        1          NA       1
#> 4 Jean           Le Rond d'Alemb…                NA        1           1       1

Once the data set is ready, use credit_roles = TRUE when creating a plume object. plume will process and format the roles automatically.

aut <- Plume$new(tbl_credit, credit_roles = TRUE)
aut$get_contributions()
#> Conceptualization: D.D.
#> Formal analysis: D.D., J.-J.R., F.-M.A. and J.L.R.d'A.
#> Supervision: D.D. and J.L.R.d'A.
#> Writing - original draft: D.D., J.-J.R., F.-M.A. and J.L.R.d'A.