Skip to content

Commit c36c008

Browse files
committed
first attempt at zenodo metadata
1 parent a88e414 commit c36c008

File tree

4 files changed

+40
-4
lines changed

4 files changed

+40
-4
lines changed

.mailmap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
2-
2+
33
44
Francois Michonneau <[email protected]> <[email protected]>
55
Karen Cranston <[email protected]>
6+
Markus J. Akenbrand <[email protected]>
7+
Shawn Taylor <[email protected]>

.zenodo.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"metadata":{"creators":[{"name":"Achaz von Hardenberg"},{"name":"Adam Obeng"},{"name":"Aleksandra Pawlik"},{"name":"Alex Pletzer"},{"name":"Alexey Shiklomanov"},{"name":"Anne Fouilloux"},{"name":"Auriel Fournier"},{"name":"Ben Marwick"},{"name":"C. Titus Brown"},{"name":"Carolyn Voter"},{"name":"Catherine Hulshof"},{"name":"Daina Bouquin"},{"name":"Darya Vanichkina"},{"name":"Earle Wilson"},{"name":"Edmund Hart"},{"name":"Elena Sügis"},{"name":"Eli Strauss"},{"name":"Emilia Gan"},{"name":"Erin Becker"},{"name":"Ethan White"},{"name":"Francisco Rodriguez-Sanchez"},{"name":"Francois Michonneau"},{"name":"Fred Boehm"},{"name":"Hao Ye"},{"name":"Harriet Dashnow"},{"name":"Hilmar Lapp"},{"name":"Jaime Ashander"},{"name":"Jarrett Byrnes"},{"name":"Jeffrey W Hollister"},{"name":"Jieming Chen"},{"name":"Jillian Dunic"},{"name":"Jonathan Keane"},{"name":"Josh Herr"},{"name":"K. A. S. Mislan"},{"name":"KWHall"},{"name":"Kara Woo"},{"name":"Karen Cranston"},{"name":"Kari L. Jordan"},{"name":"Karthik Ram"},{"name":"Kate Hertweck"},{"name":"Kathe Todd-Brown"},{"name":"Katie Lotterhos"},{"name":"Kayla Peck"},{"name":"Kenan Direk"},{"name":"Kristian Tylén"},{"name":"Kyriakos Chatzidimitriou"},{"name":"Lachlan Deer"},{"name":"Laurent"},{"name":"Leah Wasser"},{"name":"Leszek Tarkowski"},{"name":"Lisa Breckels"},{"name":"M. Foos"},{"name":"Mark Robinson"},{"name":"Markus J. Akenbrand"},{"name":"Mateusz Kuzak"},{"name":"Matthias Grenié"},{"name":"Michael Koontz"},{"name":"Myfanwy Johnston"},{"name":"Nicholas Marino"},{"name":"Nick Carchedi"},{"name":"Olivia Burge"},{"name":"Philip Lijnzaad"},{"name":"Rekyt"},{"name":"Shawn Taylor"},{"name":"Stephanie Labou"},{"name":"Steve Pederson"},{"name":"Tara Webster"},{"name":"Ted Hart"},{"name":"Thomas Sandmann"},{"name":"Tracy Teal"},{"name":"Will Furnass"},{"name":"Will Pearse"},{"name":"Ye Li"},{"name":"ashander"},{"name":"cbahlai"},{"name":"clarashaw"},{"name":"duffymeg"},{"name":"ejh243"},{"name":"fishman"},{"name":"jsta"},{"name":"markrobinsonuzh"},{"name":"mchiapello"},{"name":"mkuzak"},{"name":"plijnzaad"},{"name":"riverpeek"},{"name":"sarahsupp"},{"name":"sfn_brt"},{"name":"stubbsda"},{"name":"suparee"},{"name":"zmml"}]}}

AUTHORS

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
R-ecology-lesson was written by:
2+
Achaz von Hardenberg <[email protected]>
23
Adam Obeng <[email protected]>
34
Aleksandra Pawlik <[email protected]>
45
Alex Pletzer <[email protected]>
@@ -8,19 +9,27 @@ Auriel Fournier <[email protected]>
89
Ben Marwick <[email protected]>
910
C. Titus Brown <[email protected]>
1011
Carolyn Voter <[email protected]>
12+
Catherine Hulshof <[email protected]>
1113
Daina Bouquin <[email protected]>
14+
Darya Vanichkina <[email protected]>
1215
Earle Wilson <[email protected]>
1316
Edmund Hart <[email protected]>
1417
Elena Sügis <[email protected]>
18+
Eli Strauss <[email protected]>
1519
Emilia Gan <[email protected]>
20+
Erin Becker <[email protected]>
1621
Ethan White <[email protected]>
22+
Francisco Rodriguez-Sanchez <[email protected]>
1723
Francois Michonneau <[email protected]>
1824
Fred Boehm <[email protected]>
25+
1926
Harriet Dashnow <[email protected]>
2027
Hilmar Lapp <[email protected]>
2128
Jaime Ashander <[email protected]>
2229
Jarrett Byrnes <[email protected]>
2330
Jeffrey W Hollister <[email protected]>
31+
Jieming Chen <[email protected]>
32+
Jillian Dunic <[email protected]>
2433
Jonathan Keane <[email protected]>
2534
Josh Herr <[email protected]>
2635
K. A. S. Mislan <[email protected]>
@@ -32,23 +41,28 @@ Karthik Ram <[email protected]>
3241
Kate Hertweck <[email protected]>
3342
Kathe Todd-Brown <[email protected]>
3443
Katie Lotterhos <[email protected]>
44+
Kayla Peck <[email protected]>
3545
Kenan Direk <[email protected]>
46+
Kristian Tylén <[email protected]>
3647
Kyriakos Chatzidimitriou <[email protected]>
3748
Lachlan Deer <[email protected]>
3849
3950
Leah Wasser <[email protected]>
4051
Leszek Tarkowski <[email protected]>
4152
Lisa Breckels <[email protected]>
4253
43-
Markus Ankenbrand <[email protected]>
44-
Markus J. Ankenbrand <[email protected]>
54+
Mark Robinson <[email protected]>
55+
Markus J. Akenbrand <[email protected]>
4556
Mateusz Kuzak <[email protected]>
57+
Matthias Grenié <[email protected]>
4658
Michael Koontz <[email protected]>
4759
Myfanwy Johnston <[email protected]>
4860
Nicholas Marino <[email protected]>
4961
Nick Carchedi <[email protected]>
62+
Olivia Burge <[email protected]>
5063
Philip Lijnzaad <[email protected]>
51-
64+
65+
Shawn Taylor <[email protected]>
5266
Stephanie Labou <[email protected]>
5367
Steve Pederson <[email protected]>
5468
Tara Webster <[email protected]>
@@ -74,3 +88,4 @@ sarahsupp <[email protected]>
7488
7589
7690
91+

CITATION.Rmd

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ generate_citation <- function(authors = "AUTHORS",
2424
)
2525
2626
}
27+
28+
generate_zenodo_json <- function(authors = "AUTHORS") {
29+
aut <- readLines(authors)
30+
aut <- aut[-1]
31+
aut <- as.person(aut)
32+
pp <- lapply(aut, function(x) {
33+
res <- gsub("^\\s", "", paste(paste(x$given, collapse = " "),
34+
x$family))
35+
list(name = res)
36+
})
37+
res <- list(
38+
metadata = list(
39+
creators = pp
40+
)
41+
)
42+
cat(jsonlite::toJSON(res, auto_unbox = TRUE), file = ".zenodo.json")
43+
}
44+
2745
system("python3 /usr/local/bin/update-copyright.py")
2846
```
2947

0 commit comments

Comments
 (0)