Skip to content

Commit a88e414

Browse files
committed
[fix #184] add DOI
1 parent efb6f72 commit a88e414

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CITATION.Rmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
```{r, echo=FALSE, results='hide'}
44
generate_citation <- function(authors = "AUTHORS",
55
editors = personList(person(given = "Francois", family = "Michonneau"),
6-
person(given = "Auriel", family = "Fournier"))) {
6+
person(given = "Auriel", family = "Fournier")),
7+
doi = "10.5281/zenodo.569338") {
78
aut <- readLines(authors)
89
910
# remove first line
@@ -18,7 +19,8 @@ generate_citation <- function(authors = "AUTHORS",
1819
editor = editors,
1920
month = format(Sys.Date(), "%B"),
2021
year = format(Sys.Date(), "%Y"),
21-
url = "http://datacarpentry.org/R-ecology-lesson"
22+
url = "http://datacarpentry.org/R-ecology-lesson",
23+
doi = doi
2224
)
2325
2426
}

CITATION.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h2>Lessons</h2>
327327
<p>The <strong><code>ggplot2</code></strong> lesson was initially created by Mateusz Kuzak, Diana Marek, and Hedi Peterson, during a Hackathon in Espoo, Finland on March 16-17, 2015, sponsored by the <a href="http://elixir-europe.org/">ELIXIR project</a>.</p>
328328
<p>You can cite this Data Carpentry lesson as follow:</p>
329329
<p>
330-
Obeng A, Pawlik A, Pletzer A, Shiklomanov A, Fouilloux A, Fournier A, Marwick B, Brown CT, Voter C, Bouquin D, Wilson E, Hart E, Sügis E, Gan E, White E, Michonneau F, Boehm F, Dashnow H, Lapp H, Ashander J, Byrnes J, Hollister JW, Keane J, Herr J, Mislan KAS, KWHall, Woo K, Cranston K, Jordan KL, Ram K, Hertweck K, Todd-Brown K, Lotterhos K, Direk K, Chatzidimitriou K, Deer L, Laurent, Wasser L, Tarkowski L, Breckels L, Foos M, Ankenbrand M, Ankenbrand MJ, Kuzak M, Koontz M, Johnston M, Marino N, Carchedi N, Lijnzaad P, Shawn, Labou S, Pederson S, Webster T, Hart T, Sandmann T, Teal T, Furnass W, Pearse W, Li Y, ashander, cbahlai, clarashaw, duffymeg, ejh243, fishman, jsta, markrobinsonuzh, mchiapello, mkuzak, plijnzaad, riverpeek, sarahsupp, sfn_brt, stubbsda and suparee (2017). “Data Carpentry: R for data analysis and visualization of Ecological Data.” <a href="http://datacarpentry.org/R-ecology-lesson">http://datacarpentry.org/R-ecology-lesson</a>.
330+
Obeng A, Pawlik A, Pletzer A, Shiklomanov A, Fouilloux A, Fournier A, Marwick B, Brown CT, Voter C, Bouquin D, Wilson E, Hart E, Sügis E, Gan E, White E, Michonneau F, Boehm F, Dashnow H, Lapp H, Ashander J, Byrnes J, Hollister JW, Keane J, Herr J, Mislan KAS, KWHall, Woo K, Cranston K, Jordan KL, Ram K, Hertweck K, Todd-Brown K, Lotterhos K, Direk K, Chatzidimitriou K, Deer L, Laurent, Wasser L, Tarkowski L, Breckels L, Foos M, Ankenbrand M, Ankenbrand MJ, Kuzak M, Koontz M, Johnston M, Marino N, Carchedi N, Lijnzaad P, Shawn, Labou S, Pederson S, Webster T, Hart T, Sandmann T, Teal T, Furnass W, Pearse W, Li Y, ashander, cbahlai, clarashaw, duffymeg, ejh243, fishman, jsta, markrobinsonuzh, mchiapello, mkuzak, plijnzaad, riverpeek, sarahsupp, sfn_brt, stubbsda and suparee (2017). “Data Carpentry: R for data analysis and visualization of Ecological Data.” doi: <a href="http://doi.org/10.5281/zenodo.569338">10.5281/zenodo.569338</a>, <a href="http://datacarpentry.org/R-ecology-lesson">http://datacarpentry.org/R-ecology-lesson</a>.
331331
</p>
332332
<p>or as a BibTeX entry:</p>
333333
<pre><code>@Misc{,
@@ -337,6 +337,7 @@ <h2>Lessons</h2>
337337
month = {April},
338338
year = {2017},
339339
url = {http://datacarpentry.org/R-ecology-lesson},
340+
doi = {10.5281/zenodo.569338},
340341
}</code></pre>
341342
</div>
342343
</div>

0 commit comments

Comments
 (0)